-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
130 lines (99 loc) · 1.66 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
119
120
121
122
123
124
125
126
127
128
129
130
* {
box-sizing: border-box;
}
body {
font-family: 'Quicksand', sans-serif;
margin: 0;
padding: 0;
}
h2,
h3 {
color: #00a2c6;
}
footer {
padding: 20px;
color: white;
background-color: #00a2c6;
text-align: center;
font-weight: bold;
}
nav a {
font-size: 18px;
font-weight: 400;
text-decoration: none;
color: white;
}
nav a:hover {
font-weight: bold;
}
.profile header {
text-align: center;
}
.featured-image {
width: 100%;
max-height: 300px;
object-fit: cover;
object-position: center;
}
.profile img {
max-width: 200px;
}
.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
border-radius: 5px;
padding: 20px;
}
.jumbotron {
font-size: 20px;
padding: 60px;
background-color: #00c8eb;
text-align: center;
color: white;
}
nav ul {
padding-inline: 4rem;
display: flex;
gap: 2rem;
}
nav li {
list-style-type: none;
}
nav {
background-color: #00a2c6;
padding: 5px;
position: sticky;
top: 0;
}
main {
padding: 20px;
display: flex;
gap: 1.5rem;
}
#content {
flex: 5;
display: flex;
flex-flow: column nowrap;
gap: 1rem 2rem;
}
aside {
flex: 1;
}
header {
display: inline;
}
@media screen and (max-width: 1200px) {
main {
flex-flow: column nowrap;
}
main aside {
align-self: center;
}
}
@media screen and (max-width: 768px) {
nav ul {
justify-content: center;
}
main aside {
align-self: stretch;
}
}