forked from TheOdinProject/css-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsolution.css
69 lines (58 loc) · 1.06 KB
/
solution.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
/* this is some magical font-importing.
you'll learn about it later. */
@import url('https://fonts.googleapis.com/css2?family=Besley:ital,wght@0,400;1,900&display=swap');
body {
margin: 0;
background: #eee;
font-family: Besley, serif;
}
.header {
background: white;
border-bottom: 1px solid #ddd;
box-shadow: 0 0 8px rgba(0,0,0,.1);
}
.profile-image {
background: rebeccapurple;
box-shadow: inset 2px 2px 4px rgba(0,0,0,.5);
border-radius: 50%;
width: 48px;
height: 48px;
}
.logo {
color: rebeccapurple;
font-size: 32px;
font-weight: 900;
font-style: italic;
}
button {
border: none;
border-radius: 8px;
background: rebeccapurple;
color: white;
padding: 8px 24px;
}
a {
/* this removes the line under our links */
text-decoration: none;
color: rebeccapurple;
}
ul {
list-style-type: none;
}
/* SOLUTION */
.header {
display: flex;
justify-content: space-between;
padding: 8px;
}
ul {
display: flex;
margin: 0;
padding: 0;
gap: 16px;
}
.left, .right {
display: flex;
align-items: center;
gap: 16px;
}