94 lines
1.5 KiB
CSS
94 lines
1.5 KiB
CSS
:root {
|
|
font-family: Inter, sans-serif;
|
|
font-feature-settings: 'liga' 1, 'calt' 1;
|
|
}
|
|
body {
|
|
font-size: 1.05rem;
|
|
line-height: 1.5;
|
|
}
|
|
h1 {
|
|
margin: 0;
|
|
font-size: 2.75rem;
|
|
line-height: 1;
|
|
letter-spacing: -0.03em;
|
|
}
|
|
h2 {
|
|
font-size: 1.35rem;
|
|
line-height: 1;
|
|
letter-spacing: -0.03em;
|
|
}
|
|
a {
|
|
color: black;
|
|
text-decoration: none;
|
|
}
|
|
.home{
|
|
position: absolute;
|
|
left: 2em;
|
|
top: 2em;
|
|
right: 2em;
|
|
bottom: 2em;
|
|
}
|
|
.contact-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: left;
|
|
}
|
|
.contact-container > div {
|
|
margin-top: .33em;
|
|
margin-right: .33em;
|
|
padding: .33em;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
background-color: #f0f0f0;
|
|
border-radius: .33em;
|
|
}
|
|
.motto {
|
|
margin-top: 1em;
|
|
margin-bottom: 1em;
|
|
font-size: 1.35rem;
|
|
line-height: 1.3;
|
|
font-weight: 500;
|
|
}
|
|
.button {
|
|
margin-top: 0;
|
|
margin-bottom: 1em;
|
|
padding: 1em;
|
|
padding-left: 2em;
|
|
color: white;
|
|
background-color: black;
|
|
border-radius: .33em;
|
|
cursor: pointer;
|
|
display: block;
|
|
font-size: 1.35rem;
|
|
font-weight: bold;
|
|
}
|
|
.button:hover {
|
|
background-color: #636363;
|
|
}
|
|
@media only screen and (min-width: 768px) {
|
|
h1 {
|
|
font-size: 4rem;
|
|
}
|
|
h2 {
|
|
font-size: 2.75rem;
|
|
}
|
|
.home{
|
|
margin-left: 2em;
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
align-items: center;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
.motto {
|
|
margin: 2em;
|
|
}
|
|
.button {
|
|
margin-left: 2em;
|
|
margin-top: 0;
|
|
margin-right: 2em;
|
|
margin-bottom: 1em;
|
|
padding: 1em;
|
|
padding-left: 2em;
|
|
}
|
|
}
|