283 lines
4.9 KiB
CSS
283 lines
4.9 KiB
CSS
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: "Arial", sans-serif;
|
|
background-color: #f4f6fb;
|
|
color: #333;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
margin-top: 30px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.main-header {
|
|
position: relative;
|
|
top: 0;
|
|
width: 100%;
|
|
background-color: #880b75;
|
|
color: white;
|
|
padding: 18px 0;
|
|
text-align: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.main-header h1 {
|
|
margin: 0;
|
|
font-size: 46px;
|
|
font-weight: 600;
|
|
font-family: -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.main-wrapper {
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
margin-top: 10px;
|
|
padding: 20px;
|
|
background-color: #d9cfe0;
|
|
border-radius: 12px;
|
|
box-shadow: 0 10px 30px rgba(0,0,0,0.08);
|
|
}
|
|
|
|
.input-section {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.input-section h2 {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.hint-text {
|
|
font-size: 14px;
|
|
color: #666;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
#aufgabe_fuer_gpt {
|
|
position: relative;
|
|
background-color: #f0f3ff;
|
|
border: 1px dashed #9aa5ff;
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
margin: 20px;
|
|
margin-top: 0;
|
|
}
|
|
|
|
#aufgabe_fuer_gpt pre {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
#copyButton {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
background: white;
|
|
border: 1px solid #ccc;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
padding: 4px 6px;
|
|
}
|
|
|
|
.content {
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
padding: 30px 20px;
|
|
}
|
|
|
|
.section-title {
|
|
display: block;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
#inputText {
|
|
width: 100%;
|
|
min-height: 220px;
|
|
padding: 14px;
|
|
font-size: 16px;
|
|
line-height: 1.5;
|
|
border-radius: 6px;
|
|
border: 1px solid #ccc;
|
|
resize: vertical;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#kartenContainer {
|
|
margin-top: 30px;
|
|
display: none;
|
|
flex-direction: column;
|
|
gap: 40px;
|
|
align-items: center;
|
|
}
|
|
|
|
.page {
|
|
width: 190mm;
|
|
height: 277mm;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
background: white;
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
grid-template-rows: repeat(4, 1fr);
|
|
page-break-after: always;
|
|
}
|
|
|
|
.page-back {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
grid-template-rows: repeat(4, 1fr);
|
|
|
|
direction: rtl;
|
|
}
|
|
|
|
.page-back .card {
|
|
direction: ltr;
|
|
}
|
|
|
|
|
|
.card {
|
|
position: relative;
|
|
overflow: hidden;
|
|
border: 1px dashed #333;
|
|
border-radius: 0;
|
|
padding: 25px;
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
.card::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 10mm;
|
|
}
|
|
|
|
.card-en::before {
|
|
background-color: #f4c430;
|
|
}
|
|
|
|
.card-de::before {
|
|
background-color: #ccc;
|
|
}
|
|
|
|
.card h2 {
|
|
margin: 0;
|
|
margin-bottom: 6px;
|
|
font-size: 22px;
|
|
}
|
|
|
|
.card .ipa {
|
|
font-size: 14px;
|
|
color: #666;
|
|
}
|
|
|
|
.card .example {
|
|
margin-top: 80px;
|
|
font-size: 14px;
|
|
color: #333;
|
|
}
|
|
|
|
.button-wrapper {
|
|
max-width: 900px;
|
|
margin: 20px auto;
|
|
padding: 10px 20px;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
#kartenErstellen {
|
|
width: 100%;
|
|
height: 100px;
|
|
font-size: 46px;
|
|
font-weight: 600;
|
|
font-family: -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
color: #dc6743;
|
|
border: none;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
box-sizing: border-box;
|
|
background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.9)), url("flashcards.webp");
|
|
background-size: cover;
|
|
background-position: center;
|
|
}
|
|
|
|
#druckenBtn {
|
|
width: 500px;
|
|
height: 100px;
|
|
font-size: 46px;
|
|
font-weight: 600;
|
|
font-family: -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
color: #dc6743;
|
|
border: none;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
box-sizing: border-box;
|
|
background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.9)), url("drucker.jfif");
|
|
background-repeat: repeat;
|
|
background-size: 80px;
|
|
}
|
|
|
|
.erfolgsmeldung,
|
|
.modus-auswahl {
|
|
display: none;
|
|
max-width: 600px;
|
|
margin: 20px auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.erfolgsmeldung {
|
|
background-color: #e6f4f1;
|
|
color: #005b5b;
|
|
padding: 12px;
|
|
border-radius: 6px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.modus-auswahl p {
|
|
margin-bottom: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.modus-btn {
|
|
margin: 6px;
|
|
padding: 10px 16px;
|
|
border: none;
|
|
border-radius: 6px;
|
|
background-color: #005b5b;
|
|
color: white;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.modus-btn:hover {
|
|
background-color: #007070;
|
|
}
|
|
|
|
@media print {
|
|
body * {
|
|
visibility: hidden;
|
|
}
|
|
#kartenContainer, #kartenContainer * {
|
|
visibility: visible;
|
|
}
|
|
#kartenContainer {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
}
|