]> oss.titaniummirror.com Git - oss-web.git/commitdiff
Updates to default.css
authorR. Steve McKown <rsmckown@gmail.com>
Mon, 13 Aug 2012 14:52:37 +0000 (08:52 -0600)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 28 Aug 2012 17:22:51 +0000 (11:22 -0600)
* Reference images using relative path.
* Underline on hover in sidebar, for better consistency with other
  classes.
* Use relative article text line height
* Add some vertical space below articleBody h3 tags
* Trim up articleBody ul li a bit

in/style/default.css

index b2d3f7b79cdeedf6a46acc87d8ecf10dba1e7633..a1434292292c43ed03dc3c7b64d83062e9ec585c 100644 (file)
@@ -9,10 +9,10 @@
 }\r
 \r
 .clearfix:after {\r
-       content: "."; \r
-       display: block; \r
-       height: 1px; \r
-       clear: both; \r
+       content: ".";\r
+       display: block;\r
+       height: 1px;\r
+       clear: both;\r
        visibility: hidden;\r
 }\r
 \r
@@ -47,7 +47,7 @@ body {
 }\r
 \r
 #container {\r
-       background-image: url(/style/sidebar_border.gif);\r
+       background-image: url(sidebar_border.gif);\r
        background-repeat: repeat-y;\r
 }\r
 \r
@@ -81,7 +81,7 @@ body {
        display: block;\r
        width: 280px;\r
        height: 86px;\r
-       background-image: url(/style/banner.jpg);\r
+       background-image: url(banner.jpg);\r
        background-repeat: no-repeat;\r
        background-position: 0px 5px;\r
 }\r
@@ -245,9 +245,18 @@ h4 {
        border: 0;\r
 }\r
 \r
+.articleBody h3 {\r
+       font-family: Arial, Helvetica, sans-serif;\r
+       /* font-size: 16px; */\r
+       font-style: normal;\r
+       font-weight: bold;\r
+       line-height: normal;\r
+       padding-bottom: 10px;\r
+       border: 0;\r
+}\r
+\r
 #content .articleBody h3.listingTitle {\r
        font-weight: normal;\r
-       padding-bottom: 0px;\r
 }\r
 \r
 #content .articleBody h3.listingTitle a,\r
@@ -325,7 +334,7 @@ h4 {
 \r
 #content .articleBody p {\r
        color: #444444;\r
-       line-height: 18px;\r
+       line-height: 140%;\r
        margin-bottom: 16px;\r
 }\r
 \r
@@ -397,7 +406,7 @@ h4 {
 \r
 #content .articleBody ul {\r
        list-style: none;\r
-       padding-bottom: 24px;\r
+       padding-bottom: 5px;\r
        color: #444444;\r
 }\r
 \r
@@ -408,9 +417,9 @@ h4 {
 \r
 #content .articleBody ul li,\r
 #content .articleBody ol li {\r
-       line-height: 16px;\r
+       line-height: 140%;\r
        margin-left: 14px;\r
-       padding: 5px 0 10px;\r
+       padding: 5px 0 5px;\r
 }\r
 \r
 #content .articleBody ul li ul,\r
@@ -422,7 +431,7 @@ h4 {
 \r
 #content .articleBody ul li {\r
        padding-left: 15px;\r
-       background-image: url(/style/list_style_image.gif);\r
+       background-image: url(list_style_image.gif);\r
        background-repeat: no-repeat;\r
        background-position: 0 9px;\r
 }\r
@@ -588,11 +597,14 @@ h4 {
        border-top: 1px solid #d4d4d4;\r
 }\r
 \r
-#sidebar .articleListing ul.directory li.active a,\r
-#sidebar .articleListing ul.directory li a:hover {\r
+#sidebar .articleListing ul.directory li.active a {\r
        background-color: #F0F2F6;\r
 }\r
 \r
+#sidebar .articleListing ul.directory li a:hover {\r
+       text-decoration: underline;\r
+}\r
+\r
 #sidebar .entryTitle {\r
        margin-top: 6px;\r
        margin-bottom: 30px;\r