Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2018-09-18 12:02:47 +02:00
parent dc69c585f4
commit bbe9333cca
7 changed files with 275 additions and 1 deletions

56
static/css/resetnew.css Normal file
View File

@@ -0,0 +1,56 @@
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* apply a natural box layout model to all elements, but allowing components to change */
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}

49
static/css/styles.css Normal file
View File

@@ -0,0 +1,49 @@
@media (min-width: 768px) {
.container {
display: grid;
grid-template-columns: 200px 1fr 200px;
grid-template-rows: auto 1fr auto;
}
}
header {
grid-column: span 3;
padding: 30px;
text-align: center;
font-size: 1.4em;
background-color: #369;
color: white;
}
main {
flex: 1;
padding: 20px;
}
nav {
background-color: #f90;
padding: 20px;
grid-template-columns: 2fr;
grid-template-rows: auto 1ft auto;
}
aside {
padding: 20px;
background-color: #936;
}
footer {
grid-column: span 3;
padding: 30px;
text-align: center;
font-size: 1.4em;
background-color: #690;
color: white;
}
h1 {
margin-bottom: 1em;
font-size: 1.3em;
font-weight: bold;
}

49
static/css/styles2.css Normal file
View File

@@ -0,0 +1,49 @@
@media (min-width: 768px) {
.container {
display: grid;
grid-template-columns: 200px 1fr 200px;
grid-template-rows: auto 1fr auto;
}
}
header {
grid-column: span 3;
padding: 30px;
text-align: center;
font-size: 1.4em;
background-color: #369;
color: white;
}
main {
flex: 1;
padding: 20px;
}
nav {
background-color: #f90;
padding: 20px;
grid-template-columns: 2fr;
grid-template-rows: auto 1ft auto;
}
aside {
padding: 20px;
background-color: #936;
}
footer {
grid-column: span 3;
padding: 30px;
text-align: center;
font-size: 1.4em;
background-color: #690;
color: white;
}
h1 {
margin-bottom: 1em;
font-size: 1.3em;
font-weight: bold;
}