odin-project-notes/projects/sign-up-form/style.css
2025-04-23 09:11:15 +02:00

95 lines
1.3 KiB
CSS

@font-face {
font-family: norse;
src: url(./Norse-Bold.otf);
}
:root {
--main-color: green;
}
body {
background-color: var(--main-color);
padding: 0;
margin: 0;
}
.full-screen-container {
width: 100vw;
height: 100vh;
}
.left-panel {
position: absolute;
top: 0;
left: 0;
width: 33%;
height: 100vh;
background-color: var(--main-color);
margin: 0;
padding: 0;
}
.picture-container {
width: 100%;
height: 100%;
overflow: hidden;
position: relative;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
}
.left-panel-pic {
margin: 0;
object-fit: cover;
position: absolute;
}
.odin-banner {
position: absolute;
top: 20%;
width: 100%;
height: 20%;
background-color: rgba(255, 255, 255, 0.048);
}
.odin-logo {
position: absolute;
top: 10%;
left: 20%;
height: 80%;
margin:0;
padding: 0;
}
.odin-logo-text {
position: absolute;
top: calc(50% - 4rem);
color: white;
font-size: 8rem;
left: 40%;
margin: 0;
padding: 0;
font-family: norse;
}
.picture-caption-container {
position: absolute;
bottom: 0%;
left: 30%;
}
.picture-caption {
color: white;
}
.right-panel {
width: 67%;
background-color: antiquewhite;
margin: 0;
padding: 0;
position: absolute;
left: 33%;
top: 0;
}