Skip to content

Commit

Permalink
Tweaked font size for <small/> tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Kurczewski committed Dec 7, 2014
1 parent 7067d8e commit 8a33b95
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
4 changes: 4 additions & 0 deletions public_html/css/core.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ h3 {
font-size: 20px;
}

small {
font-size: 13px;
}

#middle {
padding: 0 2em;
position: relative;
Expand Down
6 changes: 5 additions & 1 deletion public_html/css/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@
#home .post .left {
display: inline-block;
float: left;
margin-right: 0.5em;
}
#home .post .right {
display: inline-block;
float: right;
margin-left: 0.5em;
}

#home .post-footer,
Expand All @@ -35,5 +37,7 @@

#home .version {
opacity: .4;
font-size: 12px;
}
#home .subheader, #home .post-footer {
font-size: 85%;
}
1 change: 1 addition & 0 deletions public_html/css/post.css
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@
position: absolute;
background: rgba(255, 255, 255, 0.3);
border: 1px solid rgba(0, 0, 0, 0.3);
font-size: 12pt;
}
.post-note .text-wrapper {
position: absolute;
Expand Down
12 changes: 6 additions & 6 deletions public_html/templates/home.tpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div id="home">
<h1><%= title %></h1>
<p>
<small>Serving <%= globals.postCount || 0 %> posts (<%= formatFileSize(globals.postSize || 0) %>)</small>
<p class="subheader">
Serving <%= globals.postCount || 0 %> posts (<%= formatFileSize(globals.postSize || 0) %>)
</p>

<% if (post && post.id) { %>
Expand All @@ -11,7 +11,7 @@
<div class="post-footer">
<small class="left">
<span class="left">
<% var showLink = canViewPosts %>
<% if (showLink) { %>
Expand All @@ -26,9 +26,9 @@

uploaded
<%= formatRelativeTime(post.uploadTime) %>
</small>
</span>

<small class="right">
<span class="right">
featured
<%= formatRelativeTime(post.lastFeatureTime) %>
by
Expand All @@ -48,7 +48,7 @@
<% if (showLink) { %>
</a>
<% } %>
</small>
</span>

</div>
</div>
Expand Down

0 comments on commit 8a33b95

Please sign in to comment.