From 83f4323fa5b83e5f8f3bd76521d5b01699b46862 Mon Sep 17 00:00:00 2001 From: Matts Date: Wed, 1 Feb 2012 10:28:42 -0500 Subject: Various fixes and updates - Updated CSS files with latest 2.0 release - Removed shaded borders around content - Added right margin to seperate content from sidebar - Fixed disqus code - Changed navbar color - Many misc fixes --- tuxlite_tbs/static/local.css | 69 +++++++++++++++++++++++--------------------- 1 file changed, 36 insertions(+), 33 deletions(-) (limited to 'tuxlite_tbs/static/local.css') diff --git a/tuxlite_tbs/static/local.css b/tuxlite_tbs/static/local.css index 951a72f..f6dcc83 100644 --- a/tuxlite_tbs/static/local.css +++ b/tuxlite_tbs/static/local.css @@ -1,57 +1,60 @@ -/* Navigation bar color */ +/* Styling for Nav bar. Bg color, link color etc */ .navbar-inner { - background-color: #222222; - background-color: #222222; - background-image: -khtml-gradient(linear, left top, left bottom, from(#333333), to(#222222)); - background-image: -moz-linear-gradient(top, #333333, #222222); - background-image: -ms-linear-gradient(top, #333333, #222222); - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #333333), color-stop(100%, #222222)); - background-image: -webkit-linear-gradient(top, #333333, #222222); - background-image: -o-linear-gradient(top, #333333, #222222); - background-image: linear-gradient(top, #333333, #222222); + padding-left: 20px; + padding-right: 20px; + background-color: #2E435E; + background-image: -moz-linear-gradient(top, #2e435e, #172e50); + background-image: -ms-linear-gradient(top, #2e435e, #172e50); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#2e435e), to(#172e50)); + background-image: -webkit-linear-gradient(top, #2e435e, #172e50); + background-image: -o-linear-gradient(top, #2e435e, #172e50); + background-image: linear-gradient(top, #2e435e, #172e50); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0); + -webkit-border-radius: 0px; + -moz-border-radius: 0px; + border-radius: 0px; -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); } -/* Rounded borders for content */ -.content { - background-color: #fff; - padding: 20px; - margin: 0 -20px; /* negative indent the amount of the padding to maintain the grid system */ - -webkit-border-radius: 7px 7px 7px 7px; - -moz-border-radius: 7px 7px 7px 7px; - border-radius: 7px 7px 7px 7px; - -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15); - -moz-box-shadow: 0 1px 2px rgba(0,0,0,.15); - box-shadow: 0 1px 2px rgba(0,0,0,.15); - box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.25) - } +.navbar .nav > li > a { color: #49AFCD; } +.navbar .divider-vertical { border-right: 1px solid #4D4D4D; } +.navbar { margin-bottom: 35px; } + +/* Styling for elements */ body { font-size: 14px; } p { font-size: 15px; } -.article { padding-top: 20px; } + + +/* Styling for articles */ +.article { padding-bottom:20px; padding-right: 40px; } .content-title { margin-bottom: 30px; } +.article a:hover { text-decoration: none; } -/* Remove underline when hovering over article titles */ -.article a:hover{ - text-decoration: none; -} -.well.small { - padding: 6px 6px 4px; -} -.btn.xsmall { +/* Styling for the "other entries" section */ +/* Metadata */ +.well.small { padding: 6px 6px 4px; } + +/* Read more button */ +.btn-info.xsmall { padding: 1px 3px 1px; font-size: 11px; + -webkit-border-radius: 2px; + -moz-border-radius: 2px; + border-radius: 2px; } +/* Article summary */ .summary * { display: inline; } .summary pre { display: none; } + +/* Styling for Sidebar */ .social a[href*='activestate.com']:before {content: url('./images/icons/activestate.png'); margin-right: 2px; vertical-align: -3px;} .social a[href*='atom.xml']:before {content: url('./images/icons/rss.png'); margin-right: 2px; vertical-align: -3px;} .social a[href*='bitbucket.org']:before {content: url('./images/icons/bitbucket.png'); margin-right: 2px; vertical-align: -3px;} @@ -62,7 +65,7 @@ p { font-size: 15px; } .social a[href*='github.com']:before {content: url('./images/icons/github.png'); margin-right: 2px; vertical-align: -3px;} .social a[href*='google.com/reader']:before {content: url('./images/icons/reader.png'); margin-right: 2px; vertical-align: -3px;} .social a[href*='jamendo.com']:before {content: url('./images/icons/jamendo.png'); margin-right: 2px; vertical-align: -3px;} -.social a[href*='last.fm']:before, .social a[href*='lastfm.']:before {content: url('./images/icons/lastfm.png'); margin-right: 2px; vertical-align: -3px;} +.social a[href*='last.fm']:before {content: url('./images/icons/lastfm.png'); margin-right: 2px; vertical-align: -3px;} .social a[href*='linkedin.com']:before {content: url('./images/icons/linkedin.png'); margin-right: 2px; vertical-align: -3px;} .social a[href*='rss.xml']:before {content: url('./images/icons/rss.png'); margin-right: 2px; vertical-align: -3px;} .social a[href*='stackoverflow.com']:before {content: url('./images/icons/stackoverflow.png'); margin-right: 2px; vertical-align: -3px;} -- cgit From cb3e35a2f7a551b8c59569063644b283ee3ec2c2 Mon Sep 17 00:00:00 2001 From: Matts Date: Wed, 1 Feb 2012 20:40:41 -0500 Subject: Added line-height: 1.6em to "p" element --- tuxlite_tbs/static/local.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tuxlite_tbs/static/local.css') diff --git a/tuxlite_tbs/static/local.css b/tuxlite_tbs/static/local.css index f6dcc83..b574b92 100644 --- a/tuxlite_tbs/static/local.css +++ b/tuxlite_tbs/static/local.css @@ -26,7 +26,7 @@ /* Styling for elements */ body { font-size: 14px; } -p { font-size: 15px; } +p { font-size: 15px; line-height: 1.6em; } /* Styling for articles */ -- cgit From 7317bd823209a6b81bf6b94e778322dcfdd29812 Mon Sep 17 00:00:00 2001 From: Matts Date: Sat, 11 Feb 2012 05:53:08 -0500 Subject: Added margins to 'li' and 'p' elements. --- tuxlite_tbs/static/local.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tuxlite_tbs/static/local.css') diff --git a/tuxlite_tbs/static/local.css b/tuxlite_tbs/static/local.css index b574b92..9279b70 100644 --- a/tuxlite_tbs/static/local.css +++ b/tuxlite_tbs/static/local.css @@ -26,7 +26,8 @@ /* Styling for elements */ body { font-size: 14px; } -p { font-size: 15px; line-height: 1.6em; } +p { font-size: 15px; line-height: 1.6em; margin-top: 0.8em; margin-bottom: 0.8em; } +li { line-height: 1.6em; } /* Styling for articles */ -- cgit From 2d5800dd448293f3bc879bbd11bfc22d2e4988a6 Mon Sep 17 00:00:00 2001 From: Matts Date: Sat, 11 Feb 2012 08:49:53 -0500 Subject: Changed header elements. Also added top margin for H3 element. --- tuxlite_tbs/static/local.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tuxlite_tbs/static/local.css') diff --git a/tuxlite_tbs/static/local.css b/tuxlite_tbs/static/local.css index 9279b70..f562786 100644 --- a/tuxlite_tbs/static/local.css +++ b/tuxlite_tbs/static/local.css @@ -28,7 +28,7 @@ body { font-size: 14px; } p { font-size: 15px; line-height: 1.6em; margin-top: 0.8em; margin-bottom: 0.8em; } li { line-height: 1.6em; } - +h3 { margin-top: 2.5em; } /* Styling for articles */ .article { padding-bottom:20px; padding-right: 40px; } -- cgit From 2df7861a836bf9fcd6b84b511feac056495cacaa Mon Sep 17 00:00:00 2001 From: Matts Date: Sat, 11 Feb 2012 09:29:17 -0500 Subject: Added margin for summary class. Float right for read more button. --- tuxlite_tbs/static/local.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tuxlite_tbs/static/local.css') diff --git a/tuxlite_tbs/static/local.css b/tuxlite_tbs/static/local.css index f562786..0401cc7 100644 --- a/tuxlite_tbs/static/local.css +++ b/tuxlite_tbs/static/local.css @@ -45,13 +45,14 @@ h3 { margin-top: 2.5em; } .btn-info.xsmall { padding: 1px 3px 1px; font-size: 11px; + float: right; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; } /* Article summary */ -.summary * { display: inline; } +.summary { margin-bottom: 4em; } .summary pre { display: none; } -- cgit From dc51c2c8da3d3c8570ffcdee11f01544ec1c90ce Mon Sep 17 00:00:00 2001 From: Matts Date: Sat, 11 Feb 2012 14:01:34 -0500 Subject: Changed body and p elements to use font-size: 100%. --- tuxlite_tbs/static/local.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tuxlite_tbs/static/local.css') diff --git a/tuxlite_tbs/static/local.css b/tuxlite_tbs/static/local.css index 0401cc7..b8578b0 100644 --- a/tuxlite_tbs/static/local.css +++ b/tuxlite_tbs/static/local.css @@ -25,8 +25,8 @@ /* Styling for elements */ -body { font-size: 14px; } -p { font-size: 15px; line-height: 1.6em; margin-top: 0.8em; margin-bottom: 0.8em; } +body { font-size: 100%; } +p { font-size: 100%; line-height: 1.6em; margin-top: 0.8em; margin-bottom: 0.8em; } li { line-height: 1.6em; } h3 { margin-top: 2.5em; } -- cgit From 2f2526e9925569e6de8e5fe39710ca5746b651a0 Mon Sep 17 00:00:00 2001 From: Matts Date: Sat, 11 Feb 2012 16:18:20 -0500 Subject: Increased margin bottom to 4em for nav bar. --- tuxlite_tbs/static/local.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tuxlite_tbs/static/local.css') diff --git a/tuxlite_tbs/static/local.css b/tuxlite_tbs/static/local.css index b8578b0..4b15421 100644 --- a/tuxlite_tbs/static/local.css +++ b/tuxlite_tbs/static/local.css @@ -21,7 +21,7 @@ .navbar .nav > li > a { color: #49AFCD; } .navbar .divider-vertical { border-right: 1px solid #4D4D4D; } -.navbar { margin-bottom: 35px; } +.navbar { margin-bottom: 4em; } /* Styling for elements */ -- cgit From 775013fe20a800d89c352822e0ecd18c3dd13ffb Mon Sep 17 00:00:00 2001 From: Matts Date: Sat, 11 Feb 2012 16:30:43 -0500 Subject: Changed line height for tables to 1.3em in local.css. --- tuxlite_tbs/static/local.css | 1 + 1 file changed, 1 insertion(+) (limited to 'tuxlite_tbs/static/local.css') diff --git a/tuxlite_tbs/static/local.css b/tuxlite_tbs/static/local.css index 4b15421..04a25a6 100644 --- a/tuxlite_tbs/static/local.css +++ b/tuxlite_tbs/static/local.css @@ -29,6 +29,7 @@ body { font-size: 100%; } p { font-size: 100%; line-height: 1.6em; margin-top: 0.8em; margin-bottom: 0.8em; } li { line-height: 1.6em; } h3 { margin-top: 2.5em; } +.table th, .table td { line-height: 1.3em; } /* Styling for articles */ .article { padding-bottom:20px; padding-right: 40px; } -- cgit