Luiz de Prá 7 лет назад
Родитель
Сommit
a6bf2f0150
3 измененных файлов с 14 добавлено и 6 удалено
  1. 8 0
      assets/scss/_base.scss
  2. 1 1
      assets/scss/_content.scss
  3. 5 5
      exampleSite/config.toml

+ 8 - 0
assets/scss/_base.scss

@@ -193,3 +193,11 @@ img {
 .float-left {
 .float-left {
   float: left;
   float: left;
 }
 }
+
+.fab {
+  font-weight: 400;
+}
+
+.fas {
+  font-weight: 900;
+}

+ 1 - 1
assets/scss/_content.scss

@@ -37,7 +37,7 @@
     list-style: none;
     list-style: none;
     padding: 0;
     padding: 0;
     li {
     li {
-      font-size: 1.6rem;
+      font-size: 1.8rem;
       @media only screen and (max-device-width : 768px) {
       @media only screen and (max-device-width : 768px) {
         margin: 1.6rem 0 1.6rem 0;
         margin: 1.6rem 0 1.6rem 0;
       }
       }

+ 5 - 5
exampleSite/config.toml

@@ -34,27 +34,27 @@ disqusShortname = "yourdiscussshortname"
 
 
 [[params.social]]
 [[params.social]]
     name = "Github"
     name = "Github"
-    icon = "fab fa-github fa-2x"
+    icon = "fab 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 = "fab fa-gitlab fa-2x"
+    icon = "fab 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 = "fab fa-twitter fa-2x"
+    icon = "fab 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 = "fab fa-linkedin fa-2x"
+    icon = "fab 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 = "fab fa-medium fa-2x"
+    icon = "fab fa-medium"
     weight = 5
     weight = 5
     url = "https://medium.com/@johndoe"
     url = "https://medium.com/@johndoe"