[geeklog-hg] geeklog: Fixed H tags do not display correctly in Articles for M...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Fri Mar 22 23:23:48 EDT 2013


changeset 9005:6830ccf81adb
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/6830ccf81adb
user: dengen
date: Sat Mar 23 12:22:56 2013 +0900
description:
Fixed H tags do not display correctly in Articles for Modern Curve (bug #0001569)
In addition to this, adjusted the font size of H tags.

diffstat:

 public_html/layout/modern_curve/archivestorytext.thtml  |   2 +-
 public_html/layout/modern_curve/css/story.css           |  25 ++++++++++++----
 public_html/layout/modern_curve/featuredstorytext.thtml |   2 +-
 public_html/layout/modern_curve/storytext.thtml         |   2 +-
 4 files changed, 22 insertions(+), 9 deletions(-)

diffs (98 lines):

diff -r 90595de92b61 -r 6830ccf81adb public_html/layout/modern_curve/archivestorytext.thtml
--- a/public_html/layout/modern_curve/archivestorytext.thtml	Fri Mar 22 13:32:30 2013 -0400
+++ b/public_html/layout/modern_curve/archivestorytext.thtml	Sat Mar 23 12:22:56 2013 +0900
@@ -3,7 +3,7 @@
 
 <div class="archivestorytext">
   {breadcrumb_trail}
-  <h2>{story_title_link}</h2>
+  <h2 class="story_title">{story_title_link}</h2>
 
   <ul class="icon">
     <li>{email_icon}</li>
diff -r 90595de92b61 -r 6830ccf81adb public_html/layout/modern_curve/css/story.css
--- a/public_html/layout/modern_curve/css/story.css	Fri Mar 22 13:32:30 2013 -0400
+++ b/public_html/layout/modern_curve/css/story.css	Sat Mar 23 12:22:56 2013 +0900
@@ -21,11 +21,11 @@
 }
 
 /* Story Title */
-div#centerblocks div.storytext h2 {
+div#centerblocks div.storytext h2.story_title {
   float: {left};
   margin: 0 0 1em 0;
   padding: 0;
-  font-size: 110%;
+  font-size: 125%; /* 15px */
   font-weight: bold;
 }
 
@@ -135,11 +135,11 @@
 }
 
 /* Story Title */
-div#centerblocks div.featuredstorytext h2 {
+div#centerblocks div.featuredstorytext h2.story_title {
   float: {left};
   margin: 0 0 1em 0;
   padding: 0;
-  font-size: 110%;
+  font-size: 125%;
   font-weight: bold;
 }
 
@@ -249,11 +249,11 @@
 }
 
 /* Story Title */
-div#centerblocks div.archivestorytext h2 {
+div#centerblocks div.archivestorytext h2.story_title {
   float: {left};
   margin: 0 0 1em 0;
   padding: 0;
-  font-size: 110%;
+  font-size: 125%;
   font-weight: bold;
 }
 
@@ -348,3 +348,16 @@
   margin: 0 2px;
   padding: 0;
 }
+
+/* Set font size for h2, h3, h4, h5, h6 */
+div.story_introtext h2 {
+  font-size: 116.7%; /* 14px */
+}
+div.story_introtext h3 {
+  font-size: 108.4%; /* 13px */
+}
+div.story_introtext h4,
+div.story_introtext h5,
+div.story_introtext h6 {
+  font-size: 100%; /* 12px */
+}
diff -r 90595de92b61 -r 6830ccf81adb public_html/layout/modern_curve/featuredstorytext.thtml
--- a/public_html/layout/modern_curve/featuredstorytext.thtml	Fri Mar 22 13:32:30 2013 -0400
+++ b/public_html/layout/modern_curve/featuredstorytext.thtml	Sat Mar 23 12:22:56 2013 +0900
@@ -2,7 +2,7 @@
 <!-- featuredstorytext.thtml { -->
 
 <div class="featuredstorytext">
-  <h2>{start_storylink_anchortag}{story_title}{end_storylink_anchortag}</h2>
+  <h2 class="story_title">{start_storylink_anchortag}{story_title}{end_storylink_anchortag}</h2>
 
   <ul class="icon">
     <li>{email_icon}</li>
diff -r 90595de92b61 -r 6830ccf81adb public_html/layout/modern_curve/storytext.thtml
--- a/public_html/layout/modern_curve/storytext.thtml	Fri Mar 22 13:32:30 2013 -0400
+++ b/public_html/layout/modern_curve/storytext.thtml	Sat Mar 23 12:22:56 2013 +0900
@@ -2,7 +2,7 @@
 <!-- storytext.thtml { -->
 
 <div class="storytext">
-  <h2>{start_storylink_anchortag}{story_title}{end_storylink_anchortag}</h2>
+  <h2 class="story_title">{start_storylink_anchortag}{story_title}{end_storylink_anchortag}</h2>
 
   <ul class="icon">
     <li>{email_icon}</li>



More information about the geeklog-cvs mailing list