diff --git a/layouts/css/_variables.styl b/layouts/css/_variables.styl index 08d39bf517ddf..8a85fff7c7b22 100644 --- a/layouts/css/_variables.styl +++ b/layouts/css/_variables.styl @@ -7,6 +7,8 @@ $node-gray = #333 $darkgray = #666 $lightgray = #999 +$border-color = #c0c0c0 + padded-link($padding) padding-left $padding padding-right $padding diff --git a/layouts/css/base.styl b/layouts/css/base.styl index f35067b455adf..ef30d67c735f4 100644 --- a/layouts/css/base.styl +++ b/layouts/css/base.styl @@ -3,8 +3,8 @@ // Base styles body box-sizing border-box - font 300 20px/1.5 'Source Sans Pro', Arial, sans-serif - color #333 + font 300 20px/1.5 'Source Sans Pro', Open Sans, Roboto, Helvetica, Arial, sans-serif + color $node-gray margin 0 background-color #fff @@ -18,7 +18,7 @@ h2, h3, h4, h5 - font-weight normal + font-weight 400 a, a:link, @@ -55,7 +55,7 @@ code pre - background-color #333 + background-color $node-gray border-radius 3px padding 0.75em 1.2em font-size 0.8em diff --git a/layouts/css/layout/_lists.styl b/layouts/css/layout/_lists.styl index 85555c1ce4ac1..28d3bf7ad4948 100644 --- a/layouts/css/layout/_lists.styl +++ b/layouts/css/layout/_lists.styl @@ -5,12 +5,17 @@ li display inline-block -@media screen and (min-width: 481px) - .list-divider-pipe + + li:before + content '|' + padding 0 .3em 0 .1em + color $lightgray - li - + li:before - content '|' - padding 0 .3em 0 .1em - color $lightgray +@media screen and (max-width: 480px) + nav + .list-divider-pipe + margin-bottom 1rem + overflow hidden + + li + li:before + display none diff --git a/layouts/css/layout/_sticky-footer.styl b/layouts/css/layout/_sticky-footer.styl index f8f6c1b528e57..8ca114f2e4c2f 100644 --- a/layouts/css/layout/_sticky-footer.styl +++ b/layouts/css/layout/_sticky-footer.styl @@ -1,10 +1,10 @@ -html - height 100% +// html +// height 100% body display flex flex-direction column - height 100% + // height 100% min-height 100vh margin 0 diff --git a/layouts/css/page-modules/_download.styl b/layouts/css/page-modules/_download.styl index f6846db4a7e5a..9449617b5d376 100644 --- a/layouts/css/page-modules/_download.styl +++ b/layouts/css/page-modules/_download.styl @@ -44,7 +44,7 @@ width 33% td - border 1px solid #ccc + border 1px solid $border-color a, span @@ -63,17 +63,17 @@ h5.download-table-previous-releases-header .download-table font-size small - border 1px solid #C0C0C0 + border 1px solid $border-color td padding 5px > thead - font-weight bold + font-weight 600 > tbody td - border-top 1px solid #C0C0C0 + border-top 1px solid $border-color tr:nth-child(odd) background-color #eee @@ -136,7 +136,7 @@ td.download-table-last td:before content attr(data-label) float left - font-weight bold + font-weight 600 > thead > tr > th, > tbody > tr > th, diff --git a/layouts/partials/footer.hbs b/layouts/partials/footer.hbs index a61c0c6c115e9..175ee9662165e 100644 --- a/layouts/partials/footer.hbs +++ b/layouts/partials/footer.hbs @@ -1,15 +1,5 @@ ↑ {{i18n.scrollToTop}} - + + + + diff --git a/layouts/partials/html-head.hbs b/layouts/partials/html-head.hbs index f92fbd487b3fd..0c3c39fd38368 100644 --- a/layouts/partials/html-head.hbs +++ b/layouts/partials/html-head.hbs @@ -5,7 +5,6 @@ - @@ -19,14 +18,15 @@ {{/each}} - +