1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-23 01:30:01 +01:00

icon improvements

This commit is contained in:
Matthias Kretschmann 2013-11-30 03:03:48 +01:00
parent 4d2eb7a9ec
commit 937ca59641
4 changed files with 12 additions and 20 deletions

View File

@ -18,10 +18,10 @@ layout: base
</section>
<footer class="entry-meta">
<p class="byline author vcard source-org"><span class="by">by</span> <a class="fn" rel="author" href="/about/">{{ page.author }}</a></p>
<p class="categories">
{{ page.categories | category_links }}
</p>
<p class="byline author vcard source-org"><span class="by">by</span> <a class="fn" rel="author" href="/about/">{{ page.author }}</a></p>
<div class="time">
<p>{{ page.date | timeago }}</p>
{% if page.moddate %}

View File

@ -171,6 +171,7 @@
.clearfix;
margin-top: @line-height-computed*2;
font-size: @font-size-small;
line-height: 1.4em;
}
.byline,
@ -203,8 +204,6 @@
@media @breakpoint2 {
float: left;
}
a { margin-right: 1em }
}

View File

@ -13,9 +13,9 @@
font-style: normal;
}
#main [class*="icon-"] {
&:before {
.hentry,
.footer {
[class*="icon-"]:before {
color: @text-color-light;
font-size: 20px;
font-family: 'entypo';
@ -29,22 +29,16 @@
}
}
.btn.icon-info:before,
.btn.icon-arrow-down:before,
.btn.icon-download-alt:before,
.btn.icon-download:before,
.btn.icon-github:before,
.btn.icon-heart:before {
font-size: 16px;
margin: 0 .3em.3em;
.btn[class*="icon-"]:before {
font-size: 18px;
margin-right: .3em;
top: .1em;
position: relative;
vertical-align: baseline;
top: .05em;
position: relative
line-height: inherit;
}
.btn-primary.icon-arrow-down:before,
.btn-primary.icon-download-alt:before,
.btn-primary.icon-download:before {
.btn-primary[class*="icon-"]:before {
color: darken(@link-color, 15%);
}

View File

@ -15,7 +15,6 @@ body {
padding-right: 2%;
@media @breakpoint1 {
font-size: @font-size-base;
line-height: @line-height-computed;
padding: 0;
}