Files
DHMTM/static/style.css
2025-10-16 17:18:18 +02:00

309 lines
5.6 KiB
CSS

@charset "UTF-8";
body {
height: 100vh;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
background-color: #858585;
color: #ffff40;
font-family: 'Daimler CS';
font-weight: bold;
overflow-y: hidden;
}
form{
position: fixed;
width:75%;
bottom: 25%;
align-content: end;
}
a {
color: #ffff40;
font-size: 80%;
}
input[type=text] {
width: 100%;
height: 15%;
size: 200%;
padding: 12px 20px;
margin: 8px 0;
font-size: 20px;
box-sizing: border-box;
}
.corner {
bottom:8.8%;
left: 93%;
font-size: 1rem;
}
.questionList {
margin-top: 20px;
padding-bottom: 20px;
}
.wholeQuestion {
margin: 10px 0;
}
.questionListContainer {
height: 50%;
font-size: 25px;
margin-bottom: 30%;
margin-top: 20%;
overflow-y: auto;
width: 75%;
}
.scrolling-words-container {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
/* Hinzugefügte Eigenschaft für den Zeilenumbruch */
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
/* Geänderte Ausrichtung, um die Divs in der Mitte auszurichten */
font-size: 2rem;
font-weight: 900;
}
.scrolling-words-box {
height: 3rem;
margin: 0.3125rem;
/* Geringfügige Anpassung des Abstands zwischen den Divs */
overflow: hidden;
}
.scrolling-words-box ul {
margin: 0;
padding: 0;
}
.scrolling-words-box ul li {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
height: 2.5rem;
list-style: none;
}
.scroll-animating {
font-size: 160%;
/* Schriftgröße um 50% vergrößern */
-webkit-transition: font-size 0.4s;
transition: font-size 0.4s;
/* Übergangseffekt für Schriftgröße hinzufügen */
-webkit-transition-delay: 0.7s;
transition-delay: 0.7s;
}
.title {
-webkit-text-stroke: 0.5px #ffff40;
font-size: 2.5rem;
color: transparent;
position: fixed;
/* Positionierung fixieren */
top: 40px;
/* Abstand von unten */
left: 50%;
/* Horizontal in der Mitte */
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
/* Zurücksetzen auf die Mitte */
font-weight: bolder;
opacity: 1;
text-decoration: none;
}
h3 {
font-size: 1.3rem;
position: fixed;
/* Positionierung fixieren */
bottom: 20px;
/* Abstand von unten */
left: 50%;
/* Horizontal in der Mitte */
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
/* Zurücksetzen auf die Mitte */
font-weight: lighter;
}
button {
background-color: transparent;
border: 2px solid #ffff40;
/* Farbe der Schrift */
color: #ffff40;
/* Farbe der Schrift */
border-radius: 20px;
/* Abgerundete Kontur */
padding: 10px 20px;
/* Größe des Buttons anpassen */
font-size: 1.5rem;
/* Schriftgröße anpassen */
cursor: pointer;
position: fixed;
/* Positionierung fixieren */
bottom: 100px;
/* Abstand von unten */
left: 50%;
/* Horizontal in der Mitte */
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
/* Zurücksetzen auf die Mitte */
-webkit-transition: background-color 0.3s, color 0.3s;
transition: background-color 0.3s, color 0.3s;
/* Übergangseffekt */
opacity: 1;
}
button:hover {
background-color: #ffff40;
/* Hintergrundfarbe beim Überfahren mit der Maus */
color: #000;
/* Schriftfarbe beim Überfahren mit der Maus */
}
h1 {
position: fixed;
/* Positionierung fixieren */
top: 145px;
/* Abstand von unten */
left: 50%;
/* Horizontal in der Mitte */
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
/* Zurücksetzen auf die Mitte */
}
.lower {
top: 240px;
}
.erst {
opacity: 0 !important;
}
.fadeIn-ani {
-webkit-animation: fadeIn 4s forwards;
animation: fadeIn 4s forwards;
}
.fadeIn-ani-u {
opacity: 0;
-webkit-animation: fadeIn 4s 0.1s forwards;
animation: fadeIn 4s 0.1s forwards;
}
.fade-ani {
-webkit-animation: fadeOutIn 1s forwards;
animation: fadeOutIn 1s forwards;
}
.fade-ani-u {
-webkit-animation: fadeOutIn 1s 0.1s forwards;
animation: fadeOutIn 1s 0.1s forwards;
}
@-webkit-keyframes scrollUp {
from {
opacity: 1;
-webkit-transform: translateY(-100%);
transform: translateY(-100%);
}
to {
opacity: 1;
-webkit-transform: translateY(0);
transform: translateY(0);
}
}
@keyframes scrollUp {
from {
opacity: 1;
-webkit-transform: translateY(-100%);
transform: translateY(-100%);
}
to {
opacity: 1;
-webkit-transform: translateY(0);
transform: translateY(0);
}
}
@-webkit-keyframes fadeOutIn {
0% {
opacity: 1;
}
20% {
opacity: 0;
}
70% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes fadeOutIn {
0% {
opacity: 1;
}
20% {
opacity: 0;
}
70% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@-webkit-keyframes fadeIn {
0% {
opacity: 0;
}
94% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes fadeIn {
0% {
opacity: 0;
}
94% {
opacity: 0;
}
100% {
opacity: 1;
}
}
/*# sourceMappingURL={{ url_for ("static", filename="style.css.map") }} */