An error occurred while loading the file. Please try again.
-
Noé Le Cam authoreda7f97469
main.css 1.59 KiB
:root {
--marblue: #3763ff;
--smoke: rgba(30, 30, 30, 0.9);
--fog: rgba(77, 77, 77, 0.55);
}
* {
font-family: "Roboto", sans-serif;
color: white;
margin: 0;
}
body {
height: 100vh;
background: url("../img/bg-classroom.jpg");
background-size: 100vh cover;
background-repeat: no-repeat;
background-position: center;
}
main {
box-sizing: border-box;
height: 100vh;
width: 100vw;
background: rgba(0, 0, 0, 0.9);
position: fixed;
padding-bottom: 5rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
gap: 1rem;
}
@media screen and (min-width: 576px) {
main {
justify-content: center;
}
}
header * {
font-family: "Roboto Mono", sans-serif;
}
header {
max-width: 100vw;
}
header > h1 {
word-wrap: break-word;
text-indent: 0.25em;
letter-spacing: 0.3em;
text-align: center;
font-size: 4rem;
font-weight: 800;
}
@media screen and (min-width: 576px) {
header {
max-width: 40rem;
}
header > h1 {
text-indent: 0.45em;
letter-spacing: 0.5em;
}
}
header > p {
text-align: center;
font-weight: 300;
opacity: 0.8;
}
button {
/* Style */
background: var(--marblue);
border: none;
border-radius: 5px;
font-weight: 500;
font-size: 0.9rem;
/* Sizing */
height: 3rem;
width: 100%;
padding-left: auto;
padding-right: auto;
cursor: pointer;
/* Transition */
transition: filter 0.2s, background 0.2s;
}
button > span,
button > i {
vertical-align: middle;
}
button > i {
margin-right: 0.5rem;
}
button:hover {
filter: brightness(115%);
cursor: pointer;
}