Commits

Shlomi Fish committed d4ca3e6

[TOWTF] Styled the abstract better.

Comments (0)

Files changed (2)

lib/sass/common-style.sass

     font-family: Arial,Sans-Serif
     font-size: 16px
 
+=rounded_corners($radius)
+    -webkit-border-radius: $radius
+    -moz-border-radius: $radius
+    border-radius: $radius
+
 \:link:hover, :visited:hover, img.highlight:hover, .nav_links img:hover
     background-color: #90EE90
     /* LightGreen
         width: 100%
         clear: both
 
-/* Workaround to get the <hr /> element at the bottom to properly display 
+/* Workaround to get the <hr /> element at the bottom to properly display
  * with Konqueror 3.3.x
 
 .banner
 
 .toggle_sect_menu
     padding: 0.2em 0.5em
-    -moz-border-radius: 5px
-    -webkit-border-radius: 5px
-    border-radius: 5px
+    +rounded_corners(5px)
     border: 2pt solid black
     &:hover
         padding: 0.2em 0.5em
-        -moz-border-radius: 5px
-        -webkit-border-radius: 5px
-        border-radius: 5px
+        +rounded_corners(5px)
         border: 2pt solid black
 
 button.toggle_sect_menu
     margin-bottom: 2em
     margin-right: 2em
     margin-left: 2em
-    -moz-border-radius: 5px
-    -webkit-border-radius: 5px
-    border-radius: 5px
+    +rounded_corners(5px)
     &:hover
         border-color: grey
 
     // For the die to be displayed in place.
     margin-bottom: 50px
 
+div.towtf.abstract
+    border: 2pt solid darkgreen
+    padding: 1em
+    margin-bottom: 2em
+    +rounded_corners(10px)
+
 .hebrew
     .story_logo
         clear: none

lib/stories/stories-list.wml

 
 <tagline text="The Fountainhead may have been good enough in the 60’s, but we’re in the information age now" />
 
+<div class="towtf abstract">
+
 <tow_the_fountainhead_logo />
 
 <h2 id="abstract">Abstract</h2>
 
 <tow_the_fountainhead_abstract />
 
+</div> ;;; class="towtf abstract"
+
 </define-tag>
 
 <define-tag humour_link>$(ROOT)/humour/%0</define-tag>