now/scss/main.scss
2024-11-09 23:53:27 +01:00

86 lines
1.3 KiB
SCSS

@use "../node_modules/reset-css/reset.css";
body {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
}
.credits {
position: fixed;
bottom: 1em;
display: flex;
gap: 1em;
font-size: 16px;
& a {
color: black;
}
}
main {
width: 50%;
padding: 2rem;
border-radius: 32px;
box-shadow: 0 0 70px 2px rgba(0,0,0,0.75);
}
h1 {
font-size: 3rem;
}
h2 {
font-size: 2rem;
}
.presentation {
position: relative;
display: flex;
align-items: center;
gap: 2rem;
margin-bottom: 2rem;
&__information {
display: flex;
//width: 100%;
margin-right: 1rem;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.5rem;
}
& figure {
display: inline;
& img {
height: 128px;
border-radius: 32px;
box-shadow: 0 0 50px -20px rgba(0,0,0,0.75);
}
}
& h2, p {
display: inline;
}
}
.links {
display: flex;
margin-top: 2rem;
width: 100%;
gap: 1rem;
& .link {
display: flex;
align-items: center;
justify-content: center;
width: 33%;
border-radius: 16px;
}
& a {
display: block;
color: black;
text-decoration: none;
text-align: center;
padding: 1em;
width: 100%;
}
}