-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
81 lines (71 loc) · 1.06 KB
/
index.css
File metadata and controls
81 lines (71 loc) · 1.06 KB
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
/* common styling */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: "Poppins", sans-serif;
background-color: #f4f4f4;
}
/* header */
.flex-row {
display: flex;
align-items: center;
justify-content: space-between;
margin: 0.8rem;
flex-direction: row;
> a {
text-decoration: underline;
color: blue;
margin-left: 0.7rem;
}
> a:hover {
color: cornflowerblue;
}
> span {
font-size: larger;
font-weight: bold;
}
}
header {
padding: 3rem;
font-size: 1.25rem;
> div {
font-size: 1.1rem;
}
}
/* main */
.container {
display: flex;
justify-content: center;
align-items: center;
margin: 14% auto auto auto;
max-width: 800px;
}
.content {
margin: 2rem;
color: #333;
> h1 {
font-size: 3rem;
}
> p {
font-size: 1.2rem;
}
}
/* footer */
footer {
text-align: center;
position: absolute;
bottom: 2rem;
width: 100%;
}
/* media queries */
@media screen and (max-width: 880px) {
header {
padding: 1rem !important;
}
}