1
0
mirror of https://github.com/kremalicious/blog.git synced 2025-01-05 11:25:07 +01:00

link style tweaks

This commit is contained in:
Matthias Kretschmann 2013-12-10 00:32:54 +01:00
parent 4dfadf4528
commit dea68fce56
5 changed files with 48 additions and 23 deletions

View File

@ -81,6 +81,10 @@ a.btn-primary:visited {
&:hover { &:hover {
background: none; background: none;
} }
&:active {
background: @link-color;
.box-shadow(none);
}
} }
.btn-block { .btn-block {

View File

@ -6,9 +6,9 @@
margin-bottom: @line-height-computed/2; margin-bottom: @line-height-computed/2;
// icons // icons
.document &:before { &:before {
font-size: 32px; font-size: 32px;
color: lighten(@text-color-dimmed, 10%); color: fade(@text-color-dimmed, 70%);
margin-right: .5em margin-right: .5em
} }
@ -162,6 +162,17 @@
&:hover { &:hover {
figure { background: #c4e4df; } figure { background: #c4e4df; }
} }
&:active {
background: transparent;
figure {
.transition(none);
background: @link-color;
&,
figcaption { color: #fff }
}
}
} }
#exif { #exif {

View File

@ -13,22 +13,18 @@
font-style: normal; font-style: normal;
} }
.topbar, [class*="icon-"]:before {
.document, color: @text-color-light;
.footer { font-size: 20px;
[class*="icon-"]:before { font-family: 'entypo';
color: @text-color-light; speak: none;
font-size: 20px; font-style: normal;
font-family: 'entypo'; font-weight: normal;
speak: none; font-variant: normal;
font-style: normal; text-transform: none;
font-weight: normal; line-height: 1;
font-variant: normal; -webkit-font-smoothing: antialiased;
text-transform: none; -moz-osx-font-smoothing: grayscale;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
} }
.btn[class*="icon-"]:before { .btn[class*="icon-"]:before {

View File

@ -15,9 +15,16 @@
top: 0; top: 0;
// icons // icons
&:before { .transition; } &:before {
color: @link-color;
.transition;
}
&:hover:before { &:hover:before {
color: @link-color color: @link-color-hover
}
&:active:before {
.transition(none);
color: #fff
} }
} }
.search-btn { right: 50px } .search-btn { right: 50px }
@ -49,7 +56,9 @@
float: left; float: left;
text-align: center; text-align: center;
padding: 1em; padding: 1em;
color: @text-color-light; .h6;
color: @link-color;
line-height: @line-height-computed;
text-transform: uppercase; text-transform: uppercase;
font-size: .8em; font-size: .8em;
@ -60,13 +69,14 @@
text-align: center; text-align: center;
font-size: 32px; font-size: 32px;
height: 32px; height: 32px;
color: lighten(@text-color-dimmed, 5%); color: fade(@text-color-dimmed, 70%);
.transition; .transition;
} }
&:hover, &:hover,
&:hover:before { &:hover:before {
color: @link-color color: @link-color;
border-bottom-color: @link-color
} }
} }
} }

View File

@ -73,7 +73,11 @@ h3 a:visited:hover {
} }
a:active { a:active {
.transition(none);
top: 1px; top: 1px;
background: @link-color;
color: #fff !important;
text-shadow: none;
} }
h1 a, h1 a,