odin-flex/03-flex-header-2/style.css

58 lines
1011 B
CSS
Raw Normal View History

2023-12-29 16:21:21 +00:00
/* 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);
2023-12-29 16:35:33 +00:00
display: flex;
padding: 10px 16px;
align-items: center;
gap: 20px;
2023-12-29 16:21:21 +00:00
}
.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;
2023-12-29 16:35:33 +00:00
height: fit-content;
margin-left: auto;
2023-12-29 16:21:21 +00:00
}
a {
/* this removes the line under our links */
text-decoration: none;
color: rebeccapurple;
}
ul {
list-style-type: none;
2023-12-29 16:35:33 +00:00
display: flex;
padding: 0;
gap: 12px;
2023-12-29 16:21:21 +00:00
}