diff --git a/scss/base/_base.scss b/scss/base/_base.scss index 7cc67d55..6a6f178f 100644 --- a/scss/base/_base.scss +++ b/scss/base/_base.scss @@ -84,14 +84,6 @@ header .row .top { max-width: 58%; } -.float_right { - float: right; -} - -.float_left { - float: left; -} - .banners a, .banners form { margin: 8px; @@ -154,92 +146,6 @@ nav { background: rgb(251, 241, 206); } -/* Responsive Behavior */ - -@include respond-to('medium') { - /* CSS Rules targeting most tablets in vertical orientation */ - .hide-medium { - display: none; - } - .col-1-2 { - width: 100%; - } - .scummvm { - font-size: 1.4vw; - } - .col-md-2 { - width: 50%; - } - .col-md-1 { - width: 100%; - } -} - -@include respond-to('small') { - body { - margin: 0; - } - footer { - padding: 0 8px; - background: rgb(251, 241, 206); - } - .site-wrap { - padding: 0; - margin: 0; - } - .col-1-2 { - clear: left; - width: 100%; - } - [class*='col-'] { - padding-right: 0; - } - .logo { - max-width: 150px; - width: 100%; - position: relative; - top: 8px; - margin-left: 8px; - } - .topper { - border-radius: 0; - background: 0; - } - .container { - border-radius: 0; - } - header { - width: 100%; - height: 58px; - z-index: 999; - border-bottom: 1px rgb(169, 169, 169) solid; - } - .col-1-5 { - width: 100%; - } - .col-4-5 { - width: 100%; - } - .header-left { - width: 100%; - } - label[for="nav-trigger"] { - display: block; - z-index: 91; - overflow-y: unset; - } - .hide-small { - display: none; - } - .col-sm-1 { - width: 100%; - } - nav label { - display: block; - width: 100%; - cursor: pointer; - } -} /* Color overrides */ .bg-yellow { diff --git a/scss/layout/_shame.scss b/scss/layout/_shame.scss new file mode 100644 index 00000000..7c7e103c --- /dev/null +++ b/scss/layout/_shame.scss @@ -0,0 +1,98 @@ +// Hacks and workarounds to fix for example: +// float overrides, grid elements in responsive layout + +.float_right { + float: right; +} + +.float_left { + float: left; +} + + +/* Responsive Behavior */ + +@include respond-to('medium') { + /* CSS Rules targeting most tablets in vertical orientation */ + .hide-medium { + display: none; + } + .col-1-2 { + width: 100%; + } + .scummvm { + font-size: 1.4vw; + } + .col-md-2 { + width: 50%; + } + .col-md-1 { + width: 100%; + } +} + +@include respond-to('small') { + body { + margin: 0; + } + footer { + padding: 0 8px; + background: rgb(251, 241, 206); + } + .site-wrap { + padding: 0; + margin: 0; + } + .col-1-2 { + clear: left; + width: 100%; + } + [class*='col-'] { + padding-right: 0; + } + .logo { + max-width: 150px; + width: 100%; + position: relative; + top: 8px; + margin-left: 8px; + } + .topper { + border-radius: 0; + background: 0; + } + .container { + border-radius: 0; + } + header { + width: 100%; + height: 58px; + z-index: 999; + border-bottom: 1px rgb(169, 169, 169) solid; + } + .col-1-5 { + width: 100%; + } + .col-4-5 { + width: 100%; + } + .header-left { + width: 100%; + } + label[for="nav-trigger"] { + display: block; + z-index: 91; + overflow-y: unset; + } + .hide-small { + display: none; + } + .col-sm-1 { + width: 100%; + } + nav label { + display: block; + width: 100%; + cursor: pointer; + } +} diff --git a/scss/main.scss b/scss/main.scss index 9c6305df..32fb72bd 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -11,6 +11,7 @@ @import 'layout/footer'; @import 'layout/header'; @import 'layout/grid'; +@import 'layout/shame'; @import 'components/box'; @import 'components/roundbox';