-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
99 lines (76 loc) · 1.26 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Open Sans', sans-serif;
}
body {
font-weight: 400;
padding-bottom: 2rem;
}
header {
margin: 6rem auto 3rem;
}
h1 {
text-align: center;
font-weight: 700;
font-family: 'Comfortaa', cursive;
}
main {
max-width: 300px;
min-height: 300px;
margin: auto;
display: flex;
flex-direction: column;
gap: 2rem;
align-items: center;
justify-content: space-around;
}
.button {
display: flex;
flex-wrap: wrap-reverse;
justify-content: center;
gap: 1.5rem;
}
.button button:nth-of-type(2) {
background-color: grey;
}
.button button {
border: none;
background-color: #42b932;
color: #fff;
padding: .5rem 1rem;
width: 8rem;
line-height: 2rem;
font-size: 1.5rem;
}
.button button:hover {
opacity: 0.8;
}
section {
margin:5rem auto 0;
max-width: 500px;
}
section h2,
section p {
margin: 0.5rem 0
}
section h3 {
margin: 1.25rem 0 0.25rem;
}
section p {
text-align: justify;
line-height: 1.5rem;
}
@media (width < 550px) {
body {
max-width: 280px;
margin: auto;
}
header {
margin-top: 2rem;
}
section {
margin-top: 3rem;
}
}