mirror of
https://github.com/DI0IK/Aufgaben_WE_DHBW.git
synced 2025-07-06 00:58:46 +00:00
98 lines
1.7 KiB
CSS
98 lines
1.7 KiB
CSS
/* Load Font from /assets/fonts/Orbitron-Regular.ttf and /assets/fonts/Oxanium-Regular.ttf */
|
|
@font-face {
|
|
font-family: "Orbitron";
|
|
src: url("../assets/fonts/Orbitron-Regular.ttf") format("truetype");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Oxanium";
|
|
src: url("../assets/fonts/Oxanium-Regular.ttf") format("truetype");
|
|
}
|
|
|
|
html,
|
|
body {
|
|
width: 100svw;
|
|
height: 100svh;
|
|
margin: 0;
|
|
padding: 0;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
color: var(--fg);
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
}
|
|
|
|
body {
|
|
background-image: url("../assets/images/bg-login-landscape.jpg");
|
|
background-size: cover;
|
|
background-position: center;
|
|
}
|
|
|
|
@media (max-width: 712px) {
|
|
body {
|
|
background-image: url("../assets/images/bg-login-portrait.jpg");
|
|
}
|
|
}
|
|
|
|
body .background-gradient {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100svw;
|
|
height: 100svh;
|
|
/* Bottom left to top right */
|
|
/* from --bg to to transparent */
|
|
background: linear-gradient(67.29deg, var(--bg) 43.58%, transparent 100%);
|
|
}
|
|
|
|
@media (max-width: 712px) {
|
|
body .background-gradient {
|
|
background: #14172fcc;
|
|
}
|
|
}
|
|
|
|
.content {
|
|
position: absolute;
|
|
top: 25%;
|
|
left: 130px;
|
|
width: 800px;
|
|
padding: 10px;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
@media (max-width: 712px) {
|
|
.content {
|
|
left: 0;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.content form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.button-group {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: end;
|
|
width: 550px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
@media (max-width: 712px) {
|
|
.button-group {
|
|
width: 100%;
|
|
flex-direction: row-reverse;
|
|
}
|
|
}
|