diff --git a/freepost/static/stylus/freepost.styl b/freepost/static/stylus/freepost.styl index b60b12e..7ace0aa 100755 --- a/freepost/static/stylus/freepost.styl +++ b/freepost/static/stylus/freepost.styl @@ -40,10 +40,25 @@ body /* Page header */ > .header - display grid - grid-template-columns max-content auto - padding 1rem 0 - text-align center + @media screen and (max-width: 600px) + display block + text-align center + + > .title-large + display none + + > .title-small + padding-bottom 1rem + + @media screen and (min-width: 600px) + display grid + grid-template-columns max-content auto + text-align center + + > .title-small + display none + + padding 1rem 0 /* Menu under the logo */ .menu @@ -80,14 +95,6 @@ body padding .5em .5em text-decoration none - .submenu - display flex - flex-direction row - flex-wrap wrap - justify-content flex-start - align-content flex-start - align-items flex-start - > .content padding 1em 0 line-height 1.5em diff --git a/freepost/templates/layout.html b/freepost/templates/layout.html index 4aae247..d1f92e7 100644 --- a/freepost/templates/layout.html +++ b/freepost/templates/layout.html @@ -15,7 +15,7 @@