Bladeren bron

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

Alphonse Mariya 4 jaren geleden
bovenliggende
commit
d69b5b5707

+ 0 - 4
assets/scss/_content.scss

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

+ 6 - 6
exampleSite/config.toml

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

+ 0 - 2
exampleSite/resources/_gen/assets/scss/scss/coder.scss_fd4b5b3f9a48bc0c7f005d2f7a4cc30f.content

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

File diff suppressed because it is too large
+ 0 - 0
resources/_gen/assets/scss/scss/coder.scss_5e1eb8e37c42cdfb6215b61e44dcfa5f.content


+ 1 - 1
resources/_gen/assets/scss/scss/coder.scss_5e1eb8e37c42cdfb6215b61e44dcfa5f.json

@@ -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="}}

+ 0 - 2
resources/_gen/assets/scss/scss/coder.scss_fd4b5b3f9a48bc0c7f005d2f7a4cc30f.content

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

Some files were not shown because too many files changed in this diff