restyle global layout .. again :D

This commit is contained in:
Benedikt Rötsch
2017-10-05 13:52:41 +02:00
committed by Benedikt Rötsch
parent 30beb939b7
commit ee388aa9e5
3 changed files with 43 additions and 31 deletions

View File

@@ -838,18 +838,12 @@ input[type="reset"]:focus,
}
.layout-centered {
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
max-width: 980px;
margin: 0 auto;
padding: 0 2vw;
}
.layout-centered-small {
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
max-width: 620px;
margin: 0 auto;
padding: 0 2vw;
@@ -978,43 +972,60 @@ display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
font-size: 0.8em;
}
@media (min-width: 700px) {
.header__upper {
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
}
.header__upper-first {
-webkit-box-flex: 1;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
margin-bottom: 11px;
}
@media (min-width: 700px) {
.header__upper-first {
-webkit-box-flex: 0;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
margin-bottom: 0;
}
.header__upper-first div + div {
margin-left: 22px;
}
}
.header__upper-second {
-webkit-box-flex: 1;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
@media (min-width: 700px) {
.header__upper-second {
-webkit-box-flex: 0;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
}
.header__upper-second div + div {
margin-left: 22px;
}
@@ -1108,9 +1119,9 @@ display: flex;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 0;
-ms-flex: 0 0 100%;
flex: 0 0 100%;
-webkit-box-flex: 1;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;