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:
parent
4aee950418
commit
da443039e1
|
@ -20,21 +20,3 @@
|
||||||
.fa-link:before {
|
.fa-link:before {
|
||||||
content: "\f0c1";
|
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;
|
|
||||||
}
|
|
||||||
|
|
|
@ -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) {
|
@media (max-width: 768px) {
|
||||||
.main-nav ul {
|
.main-nav ul {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
|
|
@ -4,6 +4,6 @@
|
||||||
@import "mixins";
|
@import "mixins";
|
||||||
@import "normalize";
|
@import "normalize";
|
||||||
@import "gridism";
|
@import "gridism";
|
||||||
@import "style";
|
|
||||||
@import "pygments";
|
@import "pygments";
|
||||||
@import "font-awesome";
|
@import "font-awesome";
|
||||||
|
@import "style";
|
||||||
|
|
Loading…
Reference in New Issue