Cleaned ids and classes

(cherry picked from commit 2b153ed074811e735aaa58d57a3fcdf7838e17f5)
This commit is contained in:
Silvio Giebl
2019-07-21 16:09:29 +02:00
parent 183778067b
commit 721ca36d85
6 changed files with 31 additions and 31 deletions

View File

@@ -5,7 +5,7 @@
//
// stylelint-disable selector-no-type, max-nesting-depth, selector-max-compound-selectors, selector-max-type
.page-content {
.main-content {
line-height: $content-line-height;
a {

View File

@@ -37,7 +37,7 @@
}
}
.main-content-wrap {
.main-wrap {
@include mq(md) {
position: absolute;
top: 0;
@@ -48,9 +48,13 @@
overflow-x: hidden;
overflow-y: scroll;
}
&:focus {
outline: none;
}
}
.main-content {
.main {
@include mq(md) {
position: relative;
max-width: $content-width;
@@ -62,11 +66,7 @@
}
}
.js-main-content:focus {
outline: none;
}
.page {
.main-content-wrap {
@include container;
padding-top: $gutter-spacing-sm;
padding-bottom: $gutter-spacing-sm;
@@ -77,7 +77,7 @@
}
}
.page-header {
.main-header {
@include container;
display: none;
padding-top: $gutter-spacing-sm;
@@ -101,7 +101,7 @@
}
}
.navigation,
.site-nav,
.site-header,
.site-footer {
@@ -112,7 +112,7 @@
}
}
.navigation {
.site-nav {
@include container;
@include mq(md) {

View File

@@ -68,7 +68,7 @@
// Small screen nav
.main-nav {
.site-nav {
display: none;
&.nav-open {

View File

@@ -68,7 +68,7 @@
order: 1;
}
.search-results-wrap {
.search-results {
position: absolute;
z-index: 100;
display: none;