-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
121 lines (99 loc) · 1.79 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
* {
box-sizing: border-box;
}
body {
display: flex;
flex-direction: column;
align-items: center;
box-sizing: border-box;
width: 100%;
min-height: 100vh;
padding: 0;
margin: 0;
background: #326e76;
color: white;
font-family: 'IBM Plex Sans', sans-serif;
text-overflow: ellipsis;
scroll-behavior: smooth;
}
a:link,
a:visited,
a:active {
color: white;
}
main {
display: flex;
justify-content: flex-start;
align-items: flex-start;
flex-direction: column;
width: 75%;
min-height: 80vh;
padding-left: 30px;
padding-right: 30px;
font-size: 20px;
font-weight: 300;
text-align: justify;
}
#greeting {
display: flex;
flex-flow: row nowrap;
justify-content: center;
align-items: center;
margin: 4em auto;
}
#greeting img {
max-width: 80px;
border-radius: 50%;
border: 1px solid white;
margin-right: 1em;
}
#greeting h1 {
font-size: 40px;
}
/* Footer */
footer {
display: flex;
flex-flow: row wrap;
gap: 5px;
justify-content: center;
align-items: center;
width: 100%;
padding: 1em 0;
margin-top: auto;
}
#links {
display: flex;
flex-flow: row wrap;
justify-content: center;
max-width: 75%;
list-style-type: none;
}
#links li {
padding: 0.5em 1.5em;
}
@media screen and (max-width: 680px) {
body {
padding: 0 1em;
}
main {
width: 100%;
}
#greeting {
flex-flow: column nowrap;
margin: 1em auto;
}
#greeting h1 {
font-size: 30px;
text-align: center;
}
#links {
flex-direction: column;
width: 100%;
padding: 0;
}
#links li {
width: 100%;
font-size: 10px;
text-align: center;
}
}