Tweaked font size for <small/> tag

This commit is contained in:
Marcin Kurczewski 2014-12-07 13:43:15 +01:00
parent 7067d8e13d
commit 8a33b9581d
4 changed files with 16 additions and 7 deletions

View file

@ -24,6 +24,10 @@ h3 {
font-size: 20px; font-size: 20px;
} }
small {
font-size: 13px;
}
#middle { #middle {
padding: 0 2em; padding: 0 2em;
position: relative; position: relative;

View file

@ -18,10 +18,12 @@
#home .post .left { #home .post .left {
display: inline-block; display: inline-block;
float: left; float: left;
margin-right: 0.5em;
} }
#home .post .right { #home .post .right {
display: inline-block; display: inline-block;
float: right; float: right;
margin-left: 0.5em;
} }
#home .post-footer, #home .post-footer,
@ -35,5 +37,7 @@
#home .version { #home .version {
opacity: .4; opacity: .4;
font-size: 12px; }
#home .subheader, #home .post-footer {
font-size: 85%;
} }

View file

@ -229,6 +229,7 @@
position: absolute; position: absolute;
background: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.3);
border: 1px solid rgba(0, 0, 0, 0.3); border: 1px solid rgba(0, 0, 0, 0.3);
font-size: 12pt;
} }
.post-note .text-wrapper { .post-note .text-wrapper {
position: absolute; position: absolute;

View file

@ -1,7 +1,7 @@
<div id="home"> <div id="home">
<h1><%= title %></h1> <h1><%= title %></h1>
<p> <p class="subheader">
<small>Serving <%= globals.postCount || 0 %> posts (<%= formatFileSize(globals.postSize || 0) %>)</small> Serving <%= globals.postCount || 0 %> posts (<%= formatFileSize(globals.postSize || 0) %>)
</p> </p>
<% if (post && post.id) { %> <% if (post && post.id) { %>
@ -11,7 +11,7 @@
<div class="post-footer"> <div class="post-footer">
<small class="left"> <span class="left">
<% var showLink = canViewPosts %> <% var showLink = canViewPosts %>
<% if (showLink) { %> <% if (showLink) { %>
@ -26,9 +26,9 @@
uploaded uploaded
<%= formatRelativeTime(post.uploadTime) %> <%= formatRelativeTime(post.uploadTime) %>
</small> </span>
<small class="right"> <span class="right">
featured featured
<%= formatRelativeTime(post.lastFeatureTime) %> <%= formatRelativeTime(post.lastFeatureTime) %>
by by
@ -48,7 +48,7 @@
<% if (showLink) { %> <% if (showLink) { %>
</a> </a>
<% } %> <% } %>
</small> </span>
</div> </div>
</div> </div>