From 52e33d50ad790e5f7e2653ecb49d1c725b499afc Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 1 Mar 2015 21:58:31 +0100 Subject: [PATCH] Changing header sizes and changing the header type of oembed data. --- include/oembed.php | 4 ++-- view/global.css | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/oembed.php b/include/oembed.php index 87beab2393..19bdc474f5 100755 --- a/include/oembed.php +++ b/include/oembed.php @@ -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 .= "
"; + $ret .= "

"; 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 .= "

"; + $ret .= ""; } else { // add for html2bbcode conversion $ret .= "$embedurl"; diff --git a/view/global.css b/view/global.css index 06ff9bbef2..604a1e4498 100644 --- a/view/global.css +++ b/view/global.css @@ -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; } -- 2.39.2