tweaked usernames so they were more prominent throughout

This commit is contained in:
Tom Giannattasio
2012-09-12 13:39:57 -04:00
parent 18b5a1f5a2
commit 1d71a2cfbd
3 changed files with 29 additions and 7 deletions

View File

@@ -1255,6 +1255,12 @@ body.discussion {
font-style: italic;
color: #888;
.username {
display: block;
font-size: 16px;
font-weight: 700;
}
span {
font-style: italic;
}
@@ -1745,6 +1751,16 @@ body.discussion {
padding-bottom: 0;
margin-bottom: 15px;
.posted-details {
margin-top: 4px;
.username {
display: inline;
font-size: 14px;
font-weight: 700;
}
}
h3 {
font-size: 19px;
font-weight: 700;
@@ -1788,13 +1804,16 @@ body.discussion {
margin-top: 10px;
header {
padding-bottom: 0em;
margin-bottom: 5px;
padding-bottom: 0;
margin-bottom: 15px;
.posted-by {
font-size: 0.8em;
float: left;
margin-right: 5px;
font-size: 16px;
}
}
.response-body {
margin-bottom: 0.2em;
font-size: 14px;

View File

@@ -25,10 +25,11 @@
<a href="#" class="vote-btn discussion-vote discussion-vote-up" data-role="discussion-vote"><span class="plus-icon">+</span> <span class='votes-count-number'>${'<%- votes["up_count"] %>'}</span></a>
<h1>${'<%- title %>'}</h1>
<p class="posted-details">
<span class="timeago" title="${'<%- created_at %>'}">${'<%- created_at %>'}</span> by
${"<% if (!obj.anonymous) { %>"}
<a href="${'<%- user_url %>'}">${'<%- username %>'}</a>
<a href="${'<%- user_url %>'}" class="username">${'<%- username %>'}</a>
${"<% } else {print('anonymous');} %>"}
<span class="timeago" title="${'<%- created_at %>'}">${'<%- created_at %>'}</span>
<span class="post-status-closed top-post-status" style="display: none">
&bull; This thread is closed.
</span>

View File

@@ -5,13 +5,15 @@
<a href="#" class="vote-btn discussion-vote discussion-vote-up" data-role="discussion-vote"><span class="plus-icon">+</span> <span class='votes-count-number'>{{votes.up_count}}</span></a>
<h3>{{title}}</h3>
<p class="posted-details">
<span class="timeago" title="{{created_at}}">{{created_at}}</span> by
{{#user}}
<a href="{{user_url}}">{{username}}</a>
<a href="{{user_url}}" class="username">{{username}}</a>
{{/user}}
{{^user}}
anonymous
{{/user}}
<span class="timeago" title="{{created_at}}">{{created_at}}</span>
<span class="post-status-closed top-post-status" style="display: none">
&bull; This thread is closed.
</span>