odin-flex/06-flex-layout/style.css

64 lines
872 B
CSS
Raw Normal View History

2023-12-29 16:21:21 +00:00
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
body {
height: 100vh;
margin: 0;
overflow: hidden;
font-family: Roboto, sans-serif;
2023-12-29 16:57:35 +00:00
display: flex;
flex-direction: column;
2023-12-29 16:21:21 +00:00
}
img {
width: 600px;
}
button {
font-family: Roboto, sans-serif;
border: none;
border-radius: 8px;
background: #eee;
2023-12-29 16:57:35 +00:00
padding: 8px 12px;
2023-12-29 16:21:21 +00:00
}
input {
border: 1px solid #ddd;
border-radius: 16px;
padding: 8px 24px;
width: 400px;
margin-bottom: 16px;
}
2023-12-29 16:57:35 +00:00
ul {
list-style: none;
display: flex;
padding: 0;
gap: 15px;
}
a {
text-decoration: none;
color: #444;
}
.right-links {
margin-left: auto;
}
.content {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.header, .footer {
display: flex;
padding: 0 12px;
}
.footer {
background-color: #eee;
}