Pārlūkot izejas kodu

refactor: footer styles

George Cushen 4 gadi atpakaļ
vecāks
revīzija
ec6c60ba64

+ 31 - 0
wowchemy/assets/scss/academic/_footer.scss

@@ -1,3 +1,34 @@
+// Footer styles
+
+footer {
+  margin: 4rem 0 0;
+  padding: 2rem 0;
+  width: 100%;
+}
+
+footer p {
+  font-size: 0.75rem;
+  text-align: center;
+}
+
+footer .powered-by {
+  font-size: 0.67rem;
+}
+
+.site-footer,
+footer a.back-to-top i {
+  color: rgba(0,0,0,0.54);
+}
+
+// Dark footer theme
+.dark .site-footer,
+.dark footer a.back-to-top i,
+.dark .docs .body-footer {
+  color: rgba(255,255,255,0.54);
+}
+
+// Footer copyright license
+
 .footer-license-icons {
   display: flex;
   flex-direction: row;

+ 0 - 26
wowchemy/assets/scss/academic/_root.scss

@@ -362,32 +362,6 @@ a[data-fancybox] {
   color: #ddd;
 }
 
-/*************************************************
- *  Footer
- **************************************************/
-
-footer {
-  margin: 4rem 0 0;
-  padding: 2rem 0;
-  width: 100%;
-}
-
-footer p {
-  font-size: 0.75rem;
-  text-align: center;
-}
-
-site-footer,
-footer a.back-to-top i {
-  color: rgba(0,0,0,0.54);
-}
-
-.dark site-footer,
-.dark footer a.back-to-top i,
-.dark .docs .body-footer {
-  color: rgba(255,255,255,0.54);
-}
-
 /**************************************************
  *  Tags/Labels
  **************************************************/

+ 3 - 1
wowchemy/layouts/partials/site_footer.html

@@ -21,7 +21,9 @@
   <p class="powered-by">
     {{ if not site.Params.i_am_a_sponsor }}
     Published with
-    <a href="https://wowchemy.com" target="_blank" rel="noopener">Wowchemy Website Builder</a>
+    <a href="https://wowchemy.com" target="_blank" rel="noopener">Wowchemy</a>  —
+    the free, <a href="https://github.com/wowchemy/wowchemy-hugo-modules" target="_blank" rel="noopener">
+    open source</a> website builder that empowers creators.
     {{ end }}
 
     {{ if not (in (slice "book" "docs" "updates") .Type) }}