replace screenshoted images with real ones plus style footer

This commit is contained in:
Benedikt Rötsch
2017-09-29 13:21:23 +02:00
committed by Benedikt Rötsch
parent 926b59aaaa
commit 19cf4d1c56
16 changed files with 290 additions and 175 deletions

View File

@@ -1,11 +1,13 @@
@block footer {
margin: var(--grid-gutter) 0;
margin-top: var(--grid-gutter) 0;
padding-top: var(--grid-gutter);
border-top: 2px solid var(--color-bg-separator);
@element upper {
display: flex;
flex-wrap: wrap;
min-height: 80px;
border-bottom: 2px solid var(--color-bg-separator);
& > * {
display: flex;
@@ -14,31 +16,20 @@
}
@element navigation {
flex: 1 0 auto;
font-size: 0.9em;
& ul {
display: flex;
list-style: none;
margin: 0;
padding: 0;
& li {
margin: 0;
& + li {
margin-left: calc(var(--grid-gutter) * 2);
}
}
}
flex: 1 1 auto;
}
@element apps {
flex: 0 0 auto;
flex: 1 0 auto;
justify-content: center;
@media (--breakpoint-desktop) {
justify-content: flex-end;
}
& a {
display: inline-block;
width: 150px;
width: 138px;
& + a {
margin-left: var(--grid-gutter);
@@ -53,16 +44,31 @@
@element lower {
display: flex;
min-height: 80px;
}
@element disclaimer {
flex: 1 0 auto;
flex: 1 1 auto;
display: flex;
align-items: center;
font-size: 0.7em;
color: var(--color-text-grey);
}
@element social {
flex: 0 0 auto;
display: flex;
align-items: center;
padding: 0 var(--grid-gutter);
& a + a {
margin-left: var(--grid-gutter);
}
& img {
width: 24px;
height: auto;
}
}
}

View File

@@ -22,13 +22,9 @@ body {
}
.wrapper {
max-width: 1024px;
max-width: var(--content-max-width);
margin: 0 auto;
padding: 0 2vw;
@media (--breakpoint-desktop) {
padding: 0;
}
}
@block wrapper-with-sidebar {
@@ -151,3 +147,44 @@ body {
}
}
}
@block main-navigation {
& ul {
display: flex;
list-style: none;
flex-wrap: wrap;
justify-content: center;
margin: 0;
padding: 0;
@media (--breakpoint-desktop) {
justify-content: flex-end;
}
& li {
margin: 0;
& + li {
margin-left: calc(var(--grid-gutter) / 4);
}
& a {
display: block;
text-transform: uppercase;
font-weight: bold;
padding: 0.7em 1em;
color: var(--color-text-grey);
border-radius: var(--border-radius);
&.active,
&:hover {
background: var(--color-bg-grey);
}
&.active {
color: var(--color-text-default);
}
}
}
}
}

View File

@@ -19,6 +19,12 @@
@media (--breakpoint-desktop) {
flex: 0 0 200px;
}
& img {
width: 100%;
height: auto;
max-width: 169px;
}
}
@element navarea {
@@ -33,46 +39,6 @@
}
}
@element navigation {
& ul {
display: flex;
list-style: none;
flex-wrap: wrap;
margin: 0;
padding: 0;
@media (--breakpoint-desktop) {
justify-content: flex-end;
}
& li {
margin: 0;
& + li {
margin-left: calc(var(--grid-gutter) / 4);
}
& a {
display: block;
text-transform: uppercase;
font-weight: bold;
padding: 0.7em 1em;
color: var(--color-text-grey);
border-radius: var(--border-radius);
&.active,
&:hover {
background: var(--color-bg-grey);
}
&.active {
color: var(--color-text-default);
}
}
}
}
}
@element navarea {
& form {
display: flex;

View File

@@ -1,12 +1,8 @@
.module {
max-width: 1024px;
max-width: var(--content-max-width);
margin: 0 auto;
padding: 0 2vw;
@media (--breakpoint-desktop) {
padding: 0;
}
& img {
width: 100%;
height: auto;

View File

@@ -1,6 +1,7 @@
@custom-media --breakpoint-desktop (min-width: 700px);
:root {
--content-max-width: 980px;
--grid-gutter: 22px;
--border-radius: 3px;
@@ -15,7 +16,7 @@
--color-bg-default: #fff;
--color-bg-grey: #f7f9fa;
--color-bg-separator: #f2f5f7;
--color-bg-separator: #e5ebed;
--color-sidebar-bg: #f7f9fa;