88 lines
1.7 KiB
CSS
88 lines
1.7 KiB
CSS
body {
|
|
font-family: Arial, sans-serif;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
margin: 0;
|
|
background-color: #c0c0c0;
|
|
background: url('img/tag.jpg') no-repeat center center fixed;
|
|
background-size: cover;
|
|
transition: background 0.5s ease;
|
|
}
|
|
|
|
.transition-fast {
|
|
transition: background 1s ease; /* schnellerer Übergang von bank zu gang */
|
|
}
|
|
|
|
.transition-slow {
|
|
transition: background 2.5s ease; /* Langsamer Übergang für gang zu bank */
|
|
}
|
|
|
|
body.night {
|
|
background: url('img/nacht.jpg') no-repeat center center fixed;
|
|
background-size: cover;
|
|
}
|
|
|
|
.container {
|
|
background: white;
|
|
padding: 50px;
|
|
border-radius: 30px;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
text-align: center;
|
|
}
|
|
|
|
.input-group {
|
|
margin-bottom: 15px;
|
|
text-align: center;
|
|
padding-bottom: 20px;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.input-group label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
padding-bottom: 5px;
|
|
text-align: center;
|
|
}
|
|
|
|
.input-group input {
|
|
width: 100%;
|
|
padding: 10px;
|
|
box-sizing: border-box;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
font-size: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* input text size */
|
|
.input-group input::placeholder {
|
|
font-size: 12px; /* kleinerer text vom input feld */
|
|
text-align: center; /* text zentriert */
|
|
}
|
|
|
|
button {
|
|
padding: 10px 20px;
|
|
background: #00b7eb;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
font-size: 20px;
|
|
}
|
|
|
|
button:hover {
|
|
background: #00ced1;
|
|
}
|
|
|
|
#result {
|
|
margin-top: 20px;
|
|
text-align: left;
|
|
}
|
|
|
|
.hh {
|
|
margin-top: 20px;
|
|
text-align: center;
|
|
}
|