From e41cc6fd108adae99cf9cd6e09c7118dc2e9b56c Mon Sep 17 00:00:00 2001 From: psychobunny Date: Mon, 13 May 2013 18:22:24 +0000 Subject: [PATCH] toying around with category listing again --- public/css/style.less | 31 +++++++++++++++++++++++++++++-- public/templates/category.tpl | 19 ++++++++++++------- 2 files changed, 41 insertions(+), 9 deletions(-) diff --git a/public/css/style.less b/public/css/style.less index 32def017a0..b57ab30238 100644 --- a/public/css/style.less +++ b/public/css/style.less @@ -156,11 +156,15 @@ footer.footer { } .topic-row-icon { border-radius: 5px 0 0 5px; - height: 75px; + height: 64px; background: #0059B2; color: white; line-height: 105px; - min-width: 75px; + min-width: 64px; + i { + vertical-align: 25%; + margin-left: 8px; + } } @media (max-width: 767px) @@ -173,6 +177,28 @@ footer.footer { .top-posters { float: right; padding-top: 2px; + + div.img-polaroid { + width: 300px; + height: 50px; + line-height: 16px; + img { + display: block; + float: left; + } + p { + display: block; + float: left; + width: 240px; + margin-left: 10px; + overflow: hidden; + height: 50px; + } + } + .img-polaroid { + margin-left: 1px; + border: 1px solid rgba(0,0,0,0.1); + } } .topic-row-content { @@ -183,6 +209,7 @@ footer.footer { padding: 0; margin: 0; margin-top: 4px; + line-height: 30px; } .topic-row-content h3 small { diff --git a/public/templates/category.tpl b/public/templates/category.tpl index 4bda45c74f..63cbf3a3db 100644 --- a/public/templates/category.tpl +++ b/public/templates/category.tpl @@ -11,19 +11,24 @@
  • - +
    - - - + +
    + +

    psychobunny: Some post content goes here, the latest posts of course blah blahposts of course blah blahposts of course blah blahposts of course blah blah

    +
    + +
    -

    {topics.post_count} {topics.title} 24

    -

    Posted {topics.relativeTime} ago by - {topics.username}.

    +

    {topics.post_count} {topics.title} 24
    Posted {topics.relativeTime} ago by + {topics.username}.