odin-landing-page/style.css

188 lines
2.6 KiB
CSS
Raw Permalink Normal View History

body {
margin: 0;
padding: 0;
flex-direction: column;
display: flex;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
min-height: 100vh;
}
.enclosure {
display: flex;
justify-content: center;
}
.enclosure > *{
width: 1000px;
}
h1,h2,h3,h4,h5,h6 {
padding: 0;
margin: 0;
}
.darkblue {
background-color: #1f2937;
color: #fff;
}
.blue {
background-color: #3882f6;
color: #fff;
}
.logo {
font-size: 24px;
font-weight: 600;
}
.header {
display: flex;
justify-content: space-between;
gap: 35px;
padding: 10px 12px;
align-items: center;
}
.header ul {
list-style: none;
padding: 0;
display: flex;
gap: 15px;
}
.header a {
color: #fff;
text-decoration: none;
}
.nutshell {
display: flex;
padding: 30px;
justify-content: space-around;
gap: 15px;
}
.nutshell .text {
flex: 1;
}
.nutshell .content {
display: block;
padding: 5px 0 10px 0;
}
.nutshell .image {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
background-color: #77777d;
}
.nutshell button {
display: block;
background-color: #3882f6;
border: none;
color: #fff;
padding: 6px 24px;
border-radius: 5px;
cursor: pointer;
}
.info {
text-align: center;
padding: 35px 20px;
}
.info .caption {
margin-bottom: 20px;
}
.white {
background-color: white;
}
.info .boxes {
display: flex;
justify-content: center;
gap: 10px;
}
.info .box {
font-size: 0.92rem;
display: flex;
flex-direction: column;
align-items: center;
width: 160px;
}
.info .frame {
border: 3px solid #3882f6;
border-radius: 10px;
height: 100px;
width: 100px;
}
.lightgray {
background-color: lightgray;
}
.quote {
padding: 70px;
}
.quote .content {
font-size: 1.6rem;
font-weight: lighter;
}
.quote .utterer {
width: 100%;
display: inline-block;
text-align: right;
}
.fillaction {
display: flex;
justify-content: center;
align-items: center;
padding: 65px 85px;
}
.fillaction .action {
flex: 1;
border-radius: 5px;
padding: 30px 60px;
display: flex;
align-items: center;
}
.fillaction .text {
flex: 1;
}
.fillaction button {
background-color: transparent;
border: 2px solid #fff;
display: block;
color: #fff;
padding: 6px 24px;
border-radius: 5px;
cursor: pointer;
width: fit-content;
}
footer {
height: 100px;
display: flex;
justify-content: center;
align-items: center;
}