Commit 1d71a2cf by Tom Giannattasio

tweaked usernames so they were more prominent throughout

parent 18b5a1f5
...@@ -1255,6 +1255,12 @@ body.discussion { ...@@ -1255,6 +1255,12 @@ body.discussion {
font-style: italic; font-style: italic;
color: #888; color: #888;
.username {
display: block;
font-size: 16px;
font-weight: 700;
}
span { span {
font-style: italic; font-style: italic;
} }
...@@ -1745,6 +1751,16 @@ body.discussion { ...@@ -1745,6 +1751,16 @@ body.discussion {
padding-bottom: 0; padding-bottom: 0;
margin-bottom: 15px; margin-bottom: 15px;
.posted-details {
margin-top: 4px;
.username {
display: inline;
font-size: 14px;
font-weight: 700;
}
}
h3 { h3 {
font-size: 19px; font-size: 19px;
font-weight: 700; font-weight: 700;
...@@ -1788,13 +1804,16 @@ body.discussion { ...@@ -1788,13 +1804,16 @@ body.discussion {
margin-top: 10px; margin-top: 10px;
header { header {
padding-bottom: 0em; padding-bottom: 0;
margin-bottom: 5px; margin-bottom: 15px;
.posted-by { .posted-by {
font-size: 0.8em; float: left;
margin-right: 5px;
font-size: 16px;
} }
} }
.response-body { .response-body {
margin-bottom: 0.2em; margin-bottom: 0.2em;
font-size: 14px; font-size: 14px;
......
...@@ -25,10 +25,11 @@ ...@@ -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> <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> <h1>${'<%- title %>'}</h1>
<p class="posted-details"> <p class="posted-details">
<span class="timeago" title="${'<%- created_at %>'}">${'<%- created_at %>'}</span> by
${"<% if (!obj.anonymous) { %>"} ${"<% if (!obj.anonymous) { %>"}
<a href="${'<%- user_url %>'}">${'<%- username %>'}</a> <a href="${'<%- user_url %>'}" class="username">${'<%- username %>'}</a>
${"<% } else {print('anonymous');} %>"} ${"<% } else {print('anonymous');} %>"}
<span class="timeago" title="${'<%- created_at %>'}">${'<%- created_at %>'}</span>
<span class="post-status-closed top-post-status" style="display: none"> <span class="post-status-closed top-post-status" style="display: none">
&bull; This thread is closed. &bull; This thread is closed.
</span> </span>
......
...@@ -5,13 +5,15 @@ ...@@ -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> <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> <h3>{{title}}</h3>
<p class="posted-details"> <p class="posted-details">
<span class="timeago" title="{{created_at}}">{{created_at}}</span> by
{{#user}} {{#user}}
<a href="{{user_url}}">{{username}}</a> <a href="{{user_url}}" class="username">{{username}}</a>
{{/user}} {{/user}}
{{^user}} {{^user}}
anonymous anonymous
{{/user}} {{/user}}
<span class="timeago" title="{{created_at}}">{{created_at}}</span>
<span class="post-status-closed top-post-status" style="display: none"> <span class="post-status-closed top-post-status" style="display: none">
&bull; This thread is closed. &bull; This thread is closed.
</span> </span>
......
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