Css angepasst.

This commit is contained in:
gitfreeking 2025-04-30 11:04:59 +02:00
parent 11f007066d
commit 693d87954c
2 changed files with 14 additions and 12 deletions

View File

@ -9,20 +9,22 @@
<script src="/header_footer"></script> <script src="/header_footer"></script>
</head> </head>
<body> <body>
<!-- Header wird hier dynamisch geladen --> <div class="wrapper">
<div id="header"></div> <!-- Header wird hier dynamisch geladen -->
<div id="header"></div>
<div class="warenkorb">
<main> <main>
<h2>Dein Warenkorb</h2> <section style="padding: 40px 20px;">
<h1>Dein Warenkorb</h1>
<div id="warenkorb"></div> <div id="warenkorb"></div>
<div id="gesamtpreis-container"></div> <div id="gesamtpreis-container" style="margin-top: 20px;"></div>
<button id="zurKasseGehen">Zur Kasse gehen</button> <button id="zurKasseGehen" class="btn" style="margin-top: 30px;">Zur Kasse gehen</button>
</section>
</main> </main>
</div>
<!-- Footer wird dynamisch geladen --> <!-- Footer wird dynamisch geladen -->
<div id="footer"></div> <div id="footer"></div>
</div>
<script> <script>
document.addEventListener('DOMContentLoaded', function () { document.addEventListener('DOMContentLoaded', function () {

View File

@ -403,7 +403,7 @@ main > h2 {
#zurKasseGehen { #zurKasseGehen {
margin-top: 30px; margin-top: 30px;
background-color: #27ae60; background-color: #e95b00;
color: white; color: white;
padding: 12px 25px; padding: 12px 25px;
border: none; border: none;
@ -660,7 +660,7 @@ h1 {
line-height: 1.5; line-height: 1.5;
} }
/* Optional: weiche Animation beim Einblenden */ /* weiche Animation beim Einblenden */
@keyframes fadeIn { @keyframes fadeIn {
from { from {
opacity: 0; opacity: 0;