-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
118 lines (100 loc) · 1.65 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');
*,
*::after,
*::before {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary: #00bf63;
--background: #ffffff;
--linkedin: #0077b5;
--youtube: #ff0000;
}
body {
font-family: 'Figtree', sans-serif;
font-optical-sizing: auto;
background-color: var(---background);
font-size: 1rem;
}
header {
background-color: #000;
color: var(--primary);
padding: 1rem;
text-align: center;
}
section#welcome {
padding: 1rem;
margin-top: 1rem;
max-width: 786px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 1rem;
}
div#banner {
width: 100%;
}
div#banner img {
width: 100%;
height: auto;
object-fit: cover;
}
#intro b {
display: block;
margin: 0.75rem 0;
}
#salutations span {
display: block;
}
#salutations span:first-child {
margin-bottom: 0.75rem;
}
#socials {
display: flex;
align-items: center;
gap: 1rem;
flex-wrap: wrap;
}
#socials a {
display: inline-block;
padding: 0.5rem 1rem;
background-color: var(--primary);
color: #ffffff;
text-decoration: none;
border-radius: 5px;
opacity: 0.8;
transition: all 0.3s ease-in-out;
}
#socials a:hover {
opacity: 1;
}
a#linkedin {
background-color: var(--linkedin);
color: #ffffff;
}
a#youtube {
background-color: var(--youtube);
color: #ffffff;
}
footer {
background-color: #000000;
color: #ffffff;
margin-top: 1rem;
padding: 1rem;
text-align: center;
}
@media only screen and (min-width: 786px) {
body {
font-size: 1.2rem;
}
}
@media only screen and (min-width: 1200px) {
body {
font-size: 1.5rem;
}
section#welcome {
max-width: 960px;
}
}