forked from DigitalHistory/dom-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
65 lines (54 loc) · 1.13 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
:root {
font-size: 16px;
--color-primary: #1a9f60;
--color-lightGrey: #d2d6dd;
--color-grey: #7e818b;
--color-darkGrey: #3f4144;
--color-error: #d43939;
--color-success: #28bd14;
--grid-maxWidth: 120rem;
--grid-gutter: 2rem;
font-family: -apple-system, BlinkMacSystemFont, Avenir, "Avenir Next",
"Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
}
body {
display: flex;
flex-direction: column;
min-height: 100vh;
}
body>main {
margin-left: 3rem;
margin-right: 3rem;
}
main#page-main {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: center;
flex-basis: 80vh;
flex-grow: 5;
}
main card.card {
flex-basis: 300px;
/* padding: 10px; */
margin: 5px;
border: 2px solid gray;
padding: 0;
}
card.card>main {
padding:2rem;
}
h1, footer {
text-align: center;
}
header {
background-color: var(--color-primary);
}
footer {
background-color: var(--color-lightGrey);
flex-grow: 3;
}
:root {
}