From 075c7ac572355fb2999580a73cdfc92f07ca31e1 Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Mon, 13 Aug 2012 08:52:37 -0600 Subject: [PATCH] Updates to default.css * 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 | 40 ++++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/in/style/default.css b/in/style/default.css index b2d3f7b..a143429 100644 --- a/in/style/default.css +++ b/in/style/default.css @@ -9,10 +9,10 @@ } .clearfix:after { - content: "."; - display: block; - height: 1px; - clear: both; + content: "."; + display: block; + height: 1px; + clear: both; visibility: hidden; } @@ -47,7 +47,7 @@ body { } #container { - background-image: url(/style/sidebar_border.gif); + background-image: url(sidebar_border.gif); background-repeat: repeat-y; } @@ -81,7 +81,7 @@ body { display: block; width: 280px; height: 86px; - background-image: url(/style/banner.jpg); + background-image: url(banner.jpg); background-repeat: no-repeat; background-position: 0px 5px; } @@ -245,9 +245,18 @@ h4 { border: 0; } +.articleBody h3 { + font-family: Arial, Helvetica, sans-serif; + /* font-size: 16px; */ + font-style: normal; + font-weight: bold; + line-height: normal; + padding-bottom: 10px; + border: 0; +} + #content .articleBody h3.listingTitle { font-weight: normal; - padding-bottom: 0px; } #content .articleBody h3.listingTitle a, @@ -325,7 +334,7 @@ h4 { #content .articleBody p { color: #444444; - line-height: 18px; + line-height: 140%; margin-bottom: 16px; } @@ -397,7 +406,7 @@ h4 { #content .articleBody ul { list-style: none; - padding-bottom: 24px; + padding-bottom: 5px; color: #444444; } @@ -408,9 +417,9 @@ h4 { #content .articleBody ul li, #content .articleBody ol li { - line-height: 16px; + line-height: 140%; margin-left: 14px; - padding: 5px 0 10px; + padding: 5px 0 5px; } #content .articleBody ul li ul, @@ -422,7 +431,7 @@ h4 { #content .articleBody ul li { padding-left: 15px; - background-image: url(/style/list_style_image.gif); + background-image: url(list_style_image.gif); background-repeat: no-repeat; background-position: 0 9px; } @@ -588,11 +597,14 @@ h4 { border-top: 1px solid #d4d4d4; } -#sidebar .articleListing ul.directory li.active a, -#sidebar .articleListing ul.directory li a:hover { +#sidebar .articleListing ul.directory li.active a { background-color: #F0F2F6; } +#sidebar .articleListing ul.directory li a:hover { + text-decoration: underline; +} + #sidebar .entryTitle { margin-top: 6px; margin-bottom: 30px; -- 2.39.2