From 7e67260a747c3ff14c3fc46f3ff3783eff5bd355 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Tue, 14 May 2013 13:05:58 -0400 Subject: [PATCH] still derping away on duhsign --- .gitignore | 2 + public/css/style.less | 87 +++++++++++++++-------------------- public/templates/category.tpl | 66 +++++++++++++++----------- 3 files changed, 78 insertions(+), 77 deletions(-) diff --git a/.gitignore b/.gitignore index 714b58c685..7fdc89c75e 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,5 @@ sftp-config.json public/config.json config.js public/css/style.css +*.sublime-project +*.sublime-workspace \ No newline at end of file diff --git a/public/css/style.less b/public/css/style.less index b57ab30238..93719fcd45 100644 --- a/public/css/style.less +++ b/public/css/style.less @@ -121,52 +121,34 @@ footer.footer { } -.topic-container { - list-style-type: none; - padding: 0; - margin: 0; - margin-top: 10px; -} -.topic-container a:nth-child(odd) li.topic-row { - background-color: #fdfdfd; -} -.topic-container a:nth-child(even) li.topic-row { - background-color: #fff; -} -.topic-container a { - margin-bottom: 10px; - display: block; - border: 1px solid #ddd; - border-radius: 5px; - text-decoration: none; - color: #333; -} -.topic-container li.topic-row { - cursor: pointer; - border-bottom: 1px solid #eee; - border-radius: 5px; -} -.topic-container li:last-child { - border-bottom: 0; -} -.topic-container .row { - -} -.topic-row-icon, .topic-row-content { + + + +.category { + .block { + strong { + margin-bottom: 10px; + display: block + + } + border: 1px solid #eee; + background: white; + padding: 10px; + .img-polaroid { + margin-top: 2px; + + } } -.topic-row-icon { - border-radius: 5px 0 0 5px; - height: 64px; - background: #0059B2; - color: white; - line-height: 105px; - min-width: 64px; - i { - vertical-align: 25%; - margin-left: 8px; + + li { + list-style: none; + border-bottom: 1px solid #eee; + margin-bottom: 10px; + padding-bottom: 10px; } } + @media (max-width: 767px) { .topic-row-icon { @@ -177,9 +159,10 @@ footer.footer { .top-posters { float: right; padding-top: 2px; + margin-right: 30px; - div.img-polaroid { - width: 300px; + div.latest-post { + width: 100%; height: 50px; line-height: 16px; img { @@ -189,30 +172,32 @@ footer.footer { p { display: block; float: left; - width: 240px; + width: 400px; margin-left: 10px; overflow: hidden; height: 50px; } } - .img-polaroid { + .latest-post { margin-left: 1px; - border: 1px solid rgba(0,0,0,0.1); + border: 1px solid rgba(0,0,0,0.05); + padding: 5px; } } -.topic-row-content { - width: 80%; +.topic-row { + width: 100%; + padding-left: 20px; } -.topic-row-content h3 { +.topic-row h3 { padding: 0; margin: 0; margin-top: 4px; line-height: 30px; } -.topic-row-content h3 small { +.topic-row h3 small { vertical-align: 3px; } diff --git a/public/templates/category.tpl b/public/templates/category.tpl index 63cbf3a3db..aa85ee9536 100644 --- a/public/templates/category.tpl +++ b/public/templates/category.tpl @@ -5,36 +5,50 @@
- - - - - + +