Commit f3d44225 by Rocky Duan

Merge branch 'brittany' of github.com:dementrock/mitx into brittany

parents 690d97f2 1f1ea8ad
...@@ -25,11 +25,18 @@ form label { ...@@ -25,11 +25,18 @@ form label {
} }
div.recent-activity { div.recent-activity {
font-size: $comment_body_size; margin: 20% 4%;
margin: 4%;
font-weight: bold; div.recent-activity-title {
font-weight: bold;
}
a.recent-active-post { a.recent-active-post {
margin-bottom: 2px; display: block;
font-size: $comment_body_size;
line-height: 120%;
margin-top: 8px;
&:hover { &:hover {
color: #1C71DD; color: #1C71DD;
text-decoration: none; text-decoration: none;
...@@ -38,6 +45,36 @@ div.recent-activity { ...@@ -38,6 +45,36 @@ div.recent-activity {
} }
} }
div.trending-tags {
font-weight: bold;
margin: 15% 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="recent-activity"> <div class="recent-activity">
Recent Activity:
<div class="recent-activity-title">Recent Activity:</div>
<div class="recent-active-posts"> <div class="recent-active-posts">
% for thread in recent_active_threads: % for thread in recent_active_threads:
......
<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