forked from omiras/html-css-git-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathweek2.css
85 lines (71 loc) · 1.04 KB
/
week2.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
body {
background: #438136;
}
.site-header__title {
margin: 0;
font-weight: 300;
font-size: 2rem;
}
.exercise,
.solution {
padding: 1rem;
}
.exercise__title,
.solution__title {
margin: 1em 0;
font-size: 1.2rem;
font-weight: 500;
}
.exercise {
background: rgba(255, 255, 255, 0.9);
}
.countries {
margin: 0;
padding: 1rem;
list-style: none;
background: #25262f;
}
.country {
display: block;
margin-top: 0.5rem;
padding: 1rem;
background: #fff;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 2px;
}
.countries + .site-header {
margin-top: 2rem;
}
.country {
margin-top: 0;
}
.countries--tall {
min-height: 400px;
}
.solution {
color: #fff;
background: #438136;
}
.solution__image {
display: block;
width: auto;
height: auto;
max-width: 100%;
}
@media (min-width: 767px) {
.panel {
display: grid;
grid-template-columns: 50% 50%;
width: 100%;
}
.exercise,
.solution {
padding: 2rem;
}
}
@media (min-width: 1200px) {
.exercise,
.solution {
padding: 3rem;
}
}