1
0
mirror of https://github.com/kremalicious/blog.git synced 2025-01-03 18:35: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 {
background: none;
}
&:active {
background: @link-color;
.box-shadow(none);
}
}
.btn-block {

View File

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

View File

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

View File

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