]> git.mxchange.org Git - friendica.git/commitdiff
Changing header sizes and changing the header type of oembed data.
authorMichael Vogel <icarus@dabo.de>
Sun, 1 Mar 2015 20:58:31 +0000 (21:58 +0100)
committerMichael Vogel <icarus@dabo.de>
Sun, 1 Mar 2015 20:58:31 +0000 (21:58 +0100)
include/oembed.php
view/global.css

index 87beab23936a76914d31e325abab7460b0f15ea1..19bdc474f545aa4b14e690970e0bf7b7a9042f2a 100755 (executable)
@@ -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>";
index 06ff9bbef2d7771b2df168d083a4b0b0671839ae..604a1e44985f82164d41a4396d2cc1d386a4a42b 100644 (file)
@@ -136,25 +136,25 @@ h1, h2, h3, h4, h5, h6 {
 }
 
 h1 {
-  font-size: 38.5px;
+  font-size: 31.5px;
 }
 
 h2 {
-  font-size: 31.5px;
+  font-size: 24.5px;
 }
 
 h3 {
-  font-size: 24.5px;
+  font-size: 20.5px;
 }
 
 h4 {
-  font-size: 20.5px;
+  font-size: 18px;
 }
 
 h5 {
-  font-size: 18px;
+  font-size: 16.5px;
 }
 
 h6 {
-  font-size: 16.5px;
+  font-size: 14.95px;
 }