]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - app.css
Documents the hidden feature to maintain navbar w/o link.
[github/bastienwirtz/homer.git] / app.css
diff --git a/app.css b/app.css
index 27617dea394032a1d75daf4262ccc81e8dda837a..b514059be2f3a8c8d343f168f5895c8bf33262df 100644 (file)
--- a/app.css
+++ b/app.css
@@ -1,3 +1,21 @@
+/* raleway-regular - latin */
+@font-face {
+  font-family: 'Raleway';
+  font-style: normal;
+  font-weight: 400;
+  font-display: swap;
+  src: local("Raleway"), local("Raleway-Regular"), url("./webfonts/raleway/raleway-v14-latin-regular.woff2") format("woff2"), url("./webfonts/raleway/raleway-v14-latin-regular.woff") format("woff");
+  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ }
+
+/* lato-regular - latin */
+@font-face {
+  font-family: 'Lato';
+  font-style: normal;
+  font-weight: 400;
+  font-display: swap;
+  src: local("Lato Regular"), local("Lato-Regular"), url("./webfonts/lato/lato-v16-latin-regular.woff2") format("woff2"), url("./webfonts/lato/lato-v16-latin-regular.woff") format("woff");
+  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ }
+
 html {
   height: 100%; }
 
@@ -139,7 +157,7 @@ body {
       background-color: #4285f4; }
       body #bighead .navbar a {
         color: #ffffff; }
-        body #bighead .navbar a:hover {
+        body #bighead .navbar a:hover, body #bighead .navbar a:focus {
           color: #ffffff;
           background-color: #5a95f5; }
   body #main-section {
@@ -212,6 +230,10 @@ body {
     color: #676767;
     font-size: 0.85rem;
     transition: background-color cubic-bezier(0.165, 0.84, 0.44, 1) 300ms; }
+  body .no-footer #main-section {
+    margin-bottom: 0; }
+  body .no-footer .footer {
+    display: none; }
   body .search-bar {
     position: relative;
     display: inline-block; }