mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:40:17 +00:00
Changing header sizes and changing the header type of oembed data.
This commit is contained in:
parent
da49814cbb
commit
52e33d50ad
2 changed files with 10 additions and 10 deletions
|
@ -163,7 +163,7 @@ function oembed_format_object($j){
|
|||
|
||||
// add link to source if not present in "rich" type
|
||||
if ($j->type!='rich' || !strpos($j->html,$embedurl) ){
|
||||
$ret .= "<h5>";
|
||||
$ret .= "<h4>";
|
||||
if (isset($j->title)) {
|
||||
if (isset($j->provider_name))
|
||||
$ret .= $j->provider_name.": ";
|
||||
|
@ -190,7 +190,7 @@ function oembed_format_object($j){
|
|||
}
|
||||
//if (isset($j->author_name)) $ret.=" by ".$j->author_name;
|
||||
//if (isset($j->provider_name)) $ret.=" on ".$j->provider_name;
|
||||
$ret .= "</h5>";
|
||||
$ret .= "</h4>";
|
||||
} else {
|
||||
// add <a> for html2bbcode conversion
|
||||
$ret .= "<a href='$embedurl' rel='oembed'>$embedurl</a>";
|
||||
|
|
|
@ -136,25 +136,25 @@ h1, h2, h3, h4, h5, h6 {
|
|||
}
|
||||
|
||||
h1 {
|
||||
font-size: 38.5px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 31.5px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
h2 {
|
||||
font-size: 24.5px;
|
||||
}
|
||||
|
||||
h4 {
|
||||
h3 {
|
||||
font-size: 20.5px;
|
||||
}
|
||||
|
||||
h5 {
|
||||
h4 {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
h6 {
|
||||
h5 {
|
||||
font-size: 16.5px;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 14.95px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue