Commit 67777ef5 by Brittany Cheng

left nav styles

parent 8df3ec3d
...@@ -25,13 +25,18 @@ form label { ...@@ -25,13 +25,18 @@ form label {
} }
div.recent-activity { div.recent-activity {
margin: 4%; margin: 10% 4%;
div.recent-activity-title { div.recent-activity-title {
font-weight: bold; font-weight: bold;
} }
a.recent-active-post { a.recent-active-post {
display: block;
font-size: $comment_body_size; font-size: $comment_body_size;
line-height: 180%; line-height: 150%;
margin-top: 5px;
&:hover { &:hover {
color: #1C71DD; color: #1C71DD;
text-decoration: none; text-decoration: none;
...@@ -40,6 +45,36 @@ div.recent-activity { ...@@ -40,6 +45,36 @@ div.recent-activity {
} }
} }
div.trending-tags {
font-weight: bold;
margin: 10% 0 0 0;
.trending-tag {
margin-top: 5px;
}
.trending-tag-link {
@include discussion-font;
background: #CDE69C;
border: 1px solid #A5D24A;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
color: #638421;
display: block;
float: left;
font-size: 13px;
margin-right: 4px;
padding: 5px 7px;
text-decoration: none;
&:hover {
border-color: #1E4612;
color: #1E4612;
text-decoration: none;
}
}
}
.discussion { .discussion {
.discussion-non-content { .discussion-non-content {
......
<div class="trending-tags">
Trending tags: Trending tags:
<div class="trending-tags">
% for tag, count in trending_tags: % for tag, count in trending_tags:
<div class="trending-tag"> <div class="trending-tag">
<a class="trending-tag-link" href="javascript:void(0)">${tag}</a> <a class="trending-tag-link" href="javascript:void(0)">${tag}</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment