odin-default-css-exercises/flex/flex-layout/solution/solution.css

64 lines
872 B
CSS

@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;
display: flex;
flex-direction: column;
}
img {
width: 600px;
}
button {
font-family: Roboto, sans-serif;
border: none;
border-radius: 8px;
background: #eee;
padding: 8px 16px;
}
input {
border: 1px solid #ddd;
border-radius: 16px;
padding: 8px 24px;
width: 400px;
margin-bottom: 16px;
}
.content {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
a {
color: #666;
text-decoration: none;
}
.header,
.footer {
display: flex;
justify-content: space-between;
padding: 16px;
}
.footer {
background: #eee;
}
ul {
display: flex;
list-style: none;
margin: 0;
padding: 0;
gap: 16px
}