Explorar o código

#26
- remarks from Andrew
- all h1 titles are now bold

Alex Trofimov %!s(int64=12) %!d(string=hai) anos
pai
achega
da5693da2d

+ 6 - 2
modules/boonex/notes/template/css/main.css

@@ -1,11 +1,11 @@
 
 /* unit */
 
-.bx-notes-unit:first-child h2 {
+.bx-notes-unit:first-child h1 {
     padding-top:0;
 }
 
-.bx-notes-unit h2 {
+.bx-notes-unit h1 {
     margin:0;
 }
 
@@ -26,6 +26,10 @@
 }
 
 /* view page */
+.bx-notes-entity-content h1:first-child {
+    margin-top:0;
+}
+
 .bx-notes-entity-share .bx-vote,
 .bx-notes-entity-share .bx-tl-share,
 .bx-notes-entity-share .bx-social-sharing {

+ 1 - 1
modules/boonex/notes/template/unit.html

@@ -1,6 +1,6 @@
 
 <div class="bx-notes-unit bx-def-margin-bottom">
-    <h2 class="bx-def-padding-sec-top"><a href="__content_url__">__title__</a></h2>
+    <h1 class="bx-def-padding-sec-top"><a href="__content_url__">__title__</a></h1>
     <div class="bx-notes-unit-info bx-def-margin-sec-top">
         <span class="bx-def-font-grayed">__entry_posting_date__</span>
         <span class="bx-notes-unit-info-div bx-def-font-grayed">&#183;</span>

+ 0 - 1
template/css/default.less

@@ -342,7 +342,6 @@
 h1,
 .bx-def-font-h1 {
     .font-size(@bx-font-size-h1);
-    font-weight:normal;
 }
 
 h2,

+ 0 - 1
template/css/editor.css

@@ -13,7 +13,6 @@ body, td, pre {
 h1 {
     font-size:24px;
     font-size:2.4rem;
-    font-weight:normal;
 }
 
 h2 {