Leicht-Level implementiert: Online-Training mit 3 Karten, Weiss Ich / Weiss Ich Nicht, Tracking der Lernfortschritte
This commit is contained in:
@@ -280,3 +280,87 @@ h1 {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.training-card {
|
||||
width: 300px;
|
||||
height: 180px;
|
||||
margin: 10px auto;
|
||||
perspective: 1000px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.training-card-inner {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
transition: transform 0.6s;
|
||||
transform-style: preserve-3d;
|
||||
}
|
||||
|
||||
.training-card.flip .training-card-inner {
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
|
||||
.training-front,
|
||||
.training-back {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
backface-visibility: hidden;
|
||||
border: 2px solid #333;
|
||||
border-radius: 10px;
|
||||
padding: 15px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.training-back {
|
||||
transform: rotateY(180deg);
|
||||
background: #f3f3f3;
|
||||
}
|
||||
|
||||
.training-actions {
|
||||
text-align: center;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.training-actions button {
|
||||
margin: 0 10px;
|
||||
padding: 8px 16px;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.training-front h2 {
|
||||
margin-bottom: 4px;
|
||||
margin-top: -25px;
|
||||
}
|
||||
|
||||
.training-front .ipa {
|
||||
font-size: 16px;
|
||||
color: #555;
|
||||
margin-bottom: 34px;
|
||||
margin-top: -12px;
|
||||
}
|
||||
|
||||
.training-front .example {
|
||||
font-size: 15px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.training-back h2 {
|
||||
margin-bottom: 54px;
|
||||
margin-top: -28px;
|
||||
}
|
||||
|
||||
.modus-view {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.training-view {
|
||||
display: none;
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user