From: Bastien Wirtz Date: Tue, 14 Jan 2020 15:16:00 +0000 (-0800) Subject: Merge pull request #11 from bastienwirtz/everything-offline X-Git-Tag: v1.0~12 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=250c67dc159c96aace860df8428e1ddff90853b5;hp=-c;p=github%2Fbastienwirtz%2Fhomer.git Merge pull request #11 from bastienwirtz/everything-offline Adding full off network support. --- 250c67dc159c96aace860df8428e1ddff90853b5 diff --combined app.css index 9b2453a,c53f3ce..2cdb507 --- a/app.css +++ b/app.css @@@ -1,3 -1,21 +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 +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 { diff --combined app.scss index ade72f3,a687338..476ee09 --- a/app.scss +++ b/app.scss @@@ -22,7 -22,27 +22,27 @@@ $theme-dark: a-hover: #ffdd57 ); - + /* 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'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + 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'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('./webfonts/lato/lato-v16-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ + } @mixin theme($theme) { background-color: map-get($theme, "background"); @@@ -160,7 -180,7 +180,7 @@@ body a { color: #ffffff; - &:hover { + &:hover, &:focus { color: #ffffff; background-color: lighten( $secondary-color, 5% ); } diff --combined index.html index 2d88daa,8f54b42..4bc82c1 --- a/index.html +++ b/index.html @@@ -7,9 -7,8 +7,8 @@@ Homer - - - + + @@@ -33,7 -32,7 +32,7 @@@