forked from kartverket/argo-landing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
88 lines (75 loc) · 1.28 KB
/
styles.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
.logo {
width: 100px;
height: 100px;
position: absolute;
top: 20px;
left: 20px;
}
body {
font-family: 'Open Sans', sans-serif;
display: grid;
grid-template-rows: 150px 1fr 20px;
min-height: 100vh;
}
a {
text-decoration: none;
color: #000;
}
main {
display: flex;
justify-content: center;
align-items: center;
}
.center {
display: flex;
justify-content: space-evenly;
align-items: center;
width: 100%;
}
header h1 {
text-align: center;
font-size: 100px;
}
header, .card {
display: flex;
flex-direction: column;
justify-content: space-evenly;
}
.card {
width: 400px;
height: 400px;
border: 1px solid #eaeaea;
border-radius: 10px;
padding: 25px;
font-size: 24px;
text-align: center;
}
.card img {
max-height: 250px;
height: 100%;
display: block;
margin: 0 auto;
}
footer {
display: flex;
justify-content: center;
align-items: center;
}
@media (max-width: 1000px) {
.card {
width: 300px;
height: 300px;
font-size: 20px;
}
}
@media (max-width: 800px) {
.center {
flex-direction: column;
gap: 20px;
}
.card {
width: 150px;
height: 150px;
font-size: 20px;
}
}