Skip to content

Commit

Permalink
Fix icon display in zen
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 13, 2018
1 parent 92213de commit 703591f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions v8/zen-forkawesome/conf.py.sample
Expand Up @@ -9,3 +9,5 @@ NAVIGATION_LINKS = {
('https://github.com/getnikola', 'My Github', 'fa fa-github'),
)
}

DATE_FANCINESS = 2
4 changes: 2 additions & 2 deletions v8/zen-jinja/assets/css/theme.css
Expand Up @@ -641,15 +641,15 @@ a:focus {
filter: alpha(opacity=100);
}
}
.social a .fa {
.social a i {
-webkit-transition: opacity 0.5s;
-moz-transition: opacity 0.5s;
-o-transition: opacity 0.5s;
transition: opacity 0.5s;
font-size: 3em;
}
@media (max-width: 773px) {
.social a .fa {
.social a i {
font-size: 2em;
}
}
Expand Down
4 changes: 2 additions & 2 deletions v8/zen-jinja/conf.py.sample
Expand Up @@ -5,8 +5,8 @@ NAVIGATION_LINKS = {
('/categories/index.html', 'Tags', 'fa fa-tags'),
('/rss.xml', 'RSS', 'fa fa-rss'),
('https://getnikola.com', 'About me', 'fa fa-user'),
('https://twitter.com/getnikola', 'My Twitter', 'fa fa-twitter'),
('https://github.com/getnikola', 'My Github', 'fa fa-github'),
('https://twitter.com/getnikola', 'My Twitter', 'fab fa-twitter'),
('https://github.com/getnikola', 'My Github', 'fab fa-github'),
)
}

Expand Down
4 changes: 2 additions & 2 deletions v8/zen/assets/css/theme.css
Expand Up @@ -641,15 +641,15 @@ a:focus {
filter: alpha(opacity=100);
}
}
.social a .fa {
.social a i {
-webkit-transition: opacity 0.5s;
-moz-transition: opacity 0.5s;
-o-transition: opacity 0.5s;
transition: opacity 0.5s;
font-size: 3em;
}
@media (max-width: 773px) {
.social a .fa {
.social a i {
font-size: 2em;
}
}
Expand Down
4 changes: 2 additions & 2 deletions v8/zen/conf.py.sample
Expand Up @@ -5,8 +5,8 @@ NAVIGATION_LINKS = {
('/categories/index.html', 'Tags', 'fa fa-tags'),
('/rss.xml', 'RSS', 'fa fa-rss'),
('https://getnikola.com', 'About me', 'fa fa-user'),
('https://twitter.com/getnikola', 'My Twitter', 'fa fa-twitter'),
('https://github.com/getnikola', 'My Github', 'fa fa-github'),
('https://twitter.com/getnikola', 'My Twitter', 'fab fa-twitter'),
('https://github.com/getnikola', 'My Github', 'fab fa-github'),
)
}

Expand Down
2 changes: 1 addition & 1 deletion v8/zen/less/type.less
Expand Up @@ -36,7 +36,7 @@ a {
.opacity(100);
}
}
.fa {
i {
.transition(opacity 0.5s);
font-size: 3em;
@media @mobileLayout {
Expand Down

0 comments on commit 703591f

Please sign in to comment.