Move custom code from _font-awesome.scss to _style.scss.

Also change the order of includes so that _style.scss is last for precedence reasons.
This commit is contained in:
XhmikosR 2014-10-27 16:34:35 +02:00
parent 4aee950418
commit da443039e1
3 changed files with 20 additions and 19 deletions

View File

@ -20,21 +20,3 @@
.fa-link:before {
content: "\f0c1";
}
/*
* This code is courtesy Ben Balter, modified by Parker Moore for jekyllrb.com
* http://ben.balter.com/2014/03/13/pages-anchor-links/
*/
.header-link {
position: relative;
left: 0.5em;
opacity: 0;
font-size: 0.8em;
@include transition(opacity 0.2s ease-in-out 0.1s);
}
h2:hover .header-link,
h3:hover .header-link,
h4:hover .header-link,
h5:hover .header-link,
h6:hover .header-link {
opacity: 1;
}

View File

@ -131,6 +131,25 @@ nav {
}
}
/*
* This code is courtesy Ben Balter, modified by Parker Moore for jekyllrb.com
* http://ben.balter.com/2014/03/13/pages-anchor-links/
*/
.header-link {
position: relative;
left: 0.5em;
opacity: 0;
font-size: 0.8em;
@include transition(opacity 0.2s ease-in-out 0.1s);
}
h2:hover .header-link,
h3:hover .header-link,
h4:hover .header-link,
h5:hover .header-link,
h6:hover .header-link {
opacity: 1;
}
@media (max-width: 768px) {
.main-nav ul {
text-align: right;

View File

@ -4,6 +4,6 @@
@import "mixins";
@import "normalize";
@import "gridism";
@import "style";
@import "pygments";
@import "font-awesome";
@import "style";