mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 18:00:06 +01:00
code style improvements
This commit is contained in:
parent
937ca59641
commit
c25619c1c0
@ -3,14 +3,18 @@
|
|||||||
|
|
||||||
pre, code, kbd, samp {
|
pre, code, kbd, samp {
|
||||||
font-family: @font-family-monospace;
|
font-family: @font-family-monospace;
|
||||||
font-size: 12px;
|
font-size: @font-size-small;
|
||||||
line-height: 18px;
|
line-height: 1.4em;
|
||||||
color: @text-color;
|
color: spin(@text-color, 70);
|
||||||
background: #f8f8f8;
|
background: #f8f8f8;
|
||||||
background: rgba(255,255,255,.4);
|
background: rgba(255,255,255,.6);
|
||||||
border-radius: @border-radius-base;
|
border-radius: @border-radius-base;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
padding: .3em .6em;
|
||||||
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
margin-bottom: 1.5em;
|
margin-bottom: 1.5em;
|
||||||
|
@ -57,6 +57,10 @@ body {
|
|||||||
|
|
||||||
.footer-description {
|
.footer-description {
|
||||||
.h5;
|
.h5;
|
||||||
|
}
|
||||||
|
|
||||||
|
&,
|
||||||
|
.footer-description {
|
||||||
color: @text-color-light;
|
color: @text-color-light;
|
||||||
line-height: @line-height-computed;
|
line-height: @line-height-computed;
|
||||||
}
|
}
|
||||||
@ -94,35 +98,28 @@ body {
|
|||||||
}
|
}
|
||||||
i {
|
i {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
// Icon resets for color animations
|
|
||||||
.transition(color .3s ease-in-out);
|
|
||||||
color: @text-color-light;
|
color: @text-color-light;
|
||||||
&:before {
|
&:before {
|
||||||
|
// Icon resets for color animations
|
||||||
|
.transition(color .3s ease-in-out);
|
||||||
color: inherit;
|
color: inherit;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
font-size: 14px;
|
|
||||||
line-height: 14px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer:hover .subscribe .rss i,
|
.footer:hover .subscribe .rss i:before {
|
||||||
.touch .footer .subscribe .rss i {
|
|
||||||
color: #e15a00;
|
color: #e15a00;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer:hover .subscribe .twitter i,
|
.footer:hover .subscribe .twitter i:before {
|
||||||
.touch .footer .subscribe .twitter i {
|
|
||||||
color: #019ad2;
|
color: #019ad2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer:hover .subscribe .google i,
|
.footer:hover .subscribe .google i:before {
|
||||||
.touch .footer .subscribe .google i {
|
|
||||||
color: #c63b1e;
|
color: #c63b1e;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer:hover .subscribe .facebook i,
|
.footer:hover .subscribe .facebook i:before {
|
||||||
.touch .footer .subscribe .facebook i {
|
|
||||||
color: #3b5998;
|
color: #3b5998;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user