Add styles

This commit is contained in:
Ramon Wenger 2018-08-08 17:30:28 +02:00
parent 53d4c3e452
commit 5faf3a2a8c
4 changed files with 53 additions and 0 deletions

View File

@ -9,6 +9,14 @@ module.exports = {
})
]
},
css: [
'~/assets/main.scss'
],
head: {
link: [
{rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=Montserrat:400,800'}
]
},
modules: ['@nuxtjs/apollo'],
apollo: {
clientConfigs: {

View File

@ -0,0 +1,10 @@
* {
font-family: Montserrat, sans-serif;
font-size: 14px;
}
h1 {
font-size: 68px;
font-weight: 800;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -0,0 +1,35 @@
/*
CSS Guidelines: BEM
- https://css-tricks.com/bem-101/
- https://seesparkbox.com/foundry/bem_by_example
*/
@import 'typography';
.container {
margin: 0 auto;
width: 100%;
max-width: 1440px;
display: grid;
grid-template-rows: 72px auto 50px;
grid-template-columns: 305px auto;
grid-column-gap: 80px;
min-height: 100vh;
grid-template-areas: "h h" "a m" "f f";
header {
grid-area: h;
}
aside {
grid-area: a;
}
main {
grid-area: m;
}
footer {
grid-area: f;
display: none;
}
}