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