You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
1.4 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100&family=Quicksand:wght@300&display=swap');
:root {
--html-background: #370314;
--card-background: #553b3b;
--footer-background: #591229;
--card-width: 500px;
--card-height: 350px;
color: white;
}
html, body {
margin: 0;
padding: 0;
min-height: 100vh;
font-family: 'Quicksand', sans-serif;
font-weight: 300;
background: var(--html-background);
}
h1 {
font-family: 'Montserrat', sans-serif;
font-weight: 100;
position: relative;
margin-top: 0;
}
h1::before {
position: absolute;
bottom: -2px;
display: block;
content: ' ';
width: 100%;
height: 1px;
background: currentcolor;
opacity: .5;
}
h1::after {
display: block;
content: ' ';
width: 100%;
height: 1px;
background: currentcolor;
}
a {
color: pink;
}
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
}
main {
display: flex;
flex-direction: column;
width: var(--card-width);
height: var(--card-height);
background: var(--card-background);
margin-top: calc(50vh - var(--card-height) / 2);
box-sizing: border-box;
padding: 32px;
}
main > div {
flex: 1;
}
footer {
display: block;
padding: 16px;
background: var(--footer-background);
width: calc(100% - 32px);
display:flex;
flex-direction: row;
}
footer > a {
margin-left: 32px;
}