Do not set font-size for fontawesome icons in css (#619)

This commit is contained in:
Alphonse Mariya
2021-11-12 13:39:05 +01:00
committed by GitHub
parent b93ac81256
commit d69b5b5707
6 changed files with 8 additions and 16 deletions

View File

@@ -205,10 +205,6 @@
@media only screen and (max-width: 768px) { @media only screen and (max-width: 768px) {
font-size: 1.4rem; font-size: 1.4rem;
} }
i {
font-size: 3.2rem;
}
} }
} }
} }

View File

@@ -95,37 +95,37 @@ author = "authors"
[[params.social]] [[params.social]]
name = "Github" name = "Github"
icon = "fa fa-github" icon = "fa fa-2x fa-github"
weight = 1 weight = 1
url = "https://github.com/johndoe/" url = "https://github.com/johndoe/"
[[params.social]] [[params.social]]
name = "Gitlab" name = "Gitlab"
icon = "fa fa-gitlab" icon = "fa fa-2x fa-gitlab"
weight = 2 weight = 2
url = "https://gitlab.com/johndoe/" url = "https://gitlab.com/johndoe/"
[[params.social]] [[params.social]]
name = "Twitter" name = "Twitter"
icon = "fa fa-twitter" icon = "fa fa-2x fa-twitter"
weight = 3 weight = 3
url = "https://twitter.com/johndoe/" url = "https://twitter.com/johndoe/"
[[params.social]] [[params.social]]
name = "LinkedIn" name = "LinkedIn"
icon = "fa fa-linkedin" icon = "fa fa-2x fa-linkedin"
weight = 4 weight = 4
url = "https://www.linkedin.com/in/johndoe/" url = "https://www.linkedin.com/in/johndoe/"
[[params.social]] [[params.social]]
name = "Medium" name = "Medium"
icon = "fa fa-medium" icon = "fa fa-2x fa-medium"
weight = 5 weight = 5
url = "https://medium.com/@johndoe" url = "https://medium.com/@johndoe"
[[params.social]] [[params.social]]
name = "RSS" name = "RSS"
icon = "fa fa-rss" icon = "fa fa-2x fa-rss"
weight = 6 weight = 6
url = "https://myhugosite.com/index.xml" url = "https://myhugosite.com/index.xml"
rel = "alternate" rel = "alternate"

View File

@@ -3379,8 +3379,6 @@ figure {
@media only screen and (max-width: 768px) { @media only screen and (max-width: 768px) {
.centered .about ul li a { .centered .about ul li a {
font-size: 1.4rem; } } font-size: 1.4rem; } }
.centered .about ul li a i {
font-size: 3.2rem; }
.centered .error { .centered .error {
text-align: center; } text-align: center; }
.centered .error h1 { .centered .error h1 {

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"Target":"css/coder.min.728f45c9eaff821acb9cccdb60c81cf16be81bd890ee22cc5b5f4dbf276a082f.css","MediaType":"text/css","Data":{"Integrity":"sha256-co9Fyer/ghrLnMzbYMgc8WvoG9iQ7iLMW19NvydqCC8="}} {"Target":"css/coder.min.d9fddbffe6f27e69985dc5fe0471cdb0e57fbf4775714bc3d847accb08f4a1f6.css","MediaType":"text/css","Data":{"Integrity":"sha256-2f3b/+byfmmYXcX+BHHNsOV/v0d1cUvD2Eesywj0ofY="}}

View File

@@ -3379,8 +3379,6 @@ figure {
@media only screen and (max-width: 768px) { @media only screen and (max-width: 768px) {
.centered .about ul li a { .centered .about ul li a {
font-size: 1.4rem; } } font-size: 1.4rem; } }
.centered .about ul li a i {
font-size: 3.2rem; }
.centered .error { .centered .error {
text-align: center; } text-align: center; }
.centered .error h1 { .centered .error h1 {