Node.js based forum software built for the modern web
still derping away on duhsign
psychobunny7e67260a747c
diff --git a/.gitignore b/.gitignoreindex 714b58c685..7fdc89c75e 100644--- a/.gitignore+++ b/.gitignore@@ -8,3 +8,5 @@ sftp-config.jsonpublic/config.jsonconfig.jspublic/css/style.css+*.sublime-project+*.sublime-workspace\ No newline at end of filediff --git a/public/css/style.less b/public/css/style.lessindex 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.tplindex 63cbf3a3db..aa85ee9536 100644--- a/public/templates/category.tpl+++ b/public/templates/category.tpl@@ -5,36 +5,50 @@<div id="category_active_users"></div></ul></div>--<ul class="topic-container">-<!-- BEGIN topics -->-<a href="../../topic/{topics.slug}"><li class="topic-row">- <div class="row">- <div class="span1 topic-row-icon">- <i class="icon-lock icon-3x"></i>- <i class="{topics.pin-icon}"></i><i class="{topics.lock-icon}"></i>+<div class="category row">+ <div class="span3">+ <div class="block">+ <strong>Top posters in {category_name}</strong>+ <img src="http://www.gravatar.com/avatar/fd37ce111f863c6665045c2d72d199bf?s=48" class="img-polaroid" />+ <img src="http://www.gravatar.com/avatar/07c9c7170c3ac676c2561e3eeaee063c?s=48" class="img-polaroid" />+ <img src="http://www.gravatar.com/avatar/91050ce0072697b53380c6a03a1bc12a?s=48" class="img-polaroid" />+ <img src="http://www.gravatar.com/avatar/fd37ce111f863c6665045c2d72d199bf?s=48" class="img-polaroid" />+ <img src="http://www.gravatar.com/avatar/07c9c7170c3ac676c2561e3eeaee063c?s=48" class="img-polaroid" />+ <img src="http://www.gravatar.com/avatar/91050ce0072697b53380c6a03a1bc12a?s=48" class="img-polaroid" />+ <img src="http://www.gravatar.com/avatar/fd37ce111f863c6665045c2d72d199bf?s=48" class="img-polaroid" />+ <img src="http://www.gravatar.com/avatar/07c9c7170c3ac676c2561e3eeaee063c?s=48" class="img-polaroid" />+ <img src="http://www.gravatar.com/avatar/91050ce0072697b53380c6a03a1bc12a?s=48" class="img-polaroid" />+</div>- <div class="span11 topic-row-content">- <div class="top-posters">- <!--<img src="http://www.gravatar.com/avatar/fd37ce111f863c6665045c2d72d199bf?s=50" class="img-polaroid" />- <img src="http://www.gravatar.com/avatar/07c9c7170c3ac676c2561e3eeaee063c?s=50" class="img-polaroid" />- <img src="http://www.gravatar.com/avatar/91050ce0072697b53380c6a03a1bc12a?s=50" class="img-polaroid" />-->- <div class="img-polaroid pull-right">- <img src="http://www.gravatar.com/avatar/fd37ce111f863c6665045c2d72d199bf?s=50" />- <p><strong>psychobunny</strong>: Some post content goes here, the latest posts of course blah blahposts of course blah blahposts of course blah blahposts of course blah blah</p>+ </div>+ <div class="span9">+ <ul class="topic-container">+ <!-- BEGIN topics -->+ <a href="../../topic/{topics.slug}"><li>+ <div class="row-fluid">+ <div class="span12 topic-row img-polaroid">+ <div class="top-posters">+ <i class="{topics.pin-icon}"></i><i class="{topics.lock-icon}"></i>+ <!--<img src="http://www.gravatar.com/avatar/fd37ce111f863c6665045c2d72d199bf?s=50" class="img-polaroid" />+ <img src="http://www.gravatar.com/avatar/07c9c7170c3ac676c2561e3eeaee063c?s=50" class="img-polaroid" />+ <img src="http://www.gravatar.com/avatar/91050ce0072697b53380c6a03a1bc12a?s=50" class="img-polaroid" />-->+ <div class="latest-post pull-right">+ <img src="http://www.gravatar.com/avatar/fd37ce111f863c6665045c2d72d199bf?s=50" />+ <p><strong>psychobunny</strong>: Some post content goes here, the latest posts of course blah blahposts of course blah blahposts of course blah blahposts of course blah blah</p>+ </div>+ </div>+ <div>+ <h3><span class="badge {topics.badgeclass}">{topics.post_count}</span> {topics.title} <small>24<i class="icon-star"></i><br />Posted {topics.relativeTime} ago by+ <span class="username">{topics.username}</span>.</small></h3>+ </div></div>- <img src="http://www.gravatar.com/avatar/07c9c7170c3ac676c2561e3eeaee063c?s=50" class="img-polaroid pull-right" />- <img src="http://www.gravatar.com/avatar/91050ce0072697b53380c6a03a1bc12a?s=50" class="img-polaroid pull-right" />- </div>- <div>- <h3><span class="badge {topics.badgeclass}">{topics.post_count}</span> {topics.title} <small>24<i class="icon-star"></i><br />Posted {topics.relativeTime} ago by- <span class="username">{topics.username}</span>.</small></h3></div>- </div>+ </li></a>+ <!-- END topics -->+ </ul></div>-</li></a>-<!-- END topics -->-</ul>+</div>+<hr /><button id="new_post" class="btn btn-primary btn-large {show_topic_button}">New Topic</button>