Created
October 3, 2025 02:48
-
-
Save Pavracer/e734ba9e38ece4b8beef78894487939e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :root { | |
| --seitenhintergrund: #3088fc; | |
| --formhintergrund: #edf8fd; | |
| --schattenfarbe: rgba(0, 0, 0, 0.05); | |
| --button: #007bff; | |
| --buttonhover: #000; | |
| --titel: #fff; | |
| --rand: #535353; | |
| } | |
| body { | |
| background: var(--seitenhintergrund); | |
| margin: 2rem; | |
| } | |
| h2 { | |
| color: var(--titel); | |
| text-align: center; | |
| } | |
| form { | |
| background: var(--formhintergrund); | |
| padding: 2rem; | |
| border-radius: 10px; | |
| box-shadow: 0 0 10px var(--schattenfarbe); | |
| max-width: 800px; | |
| margin: auto; | |
| } | |
| label { | |
| display: block; | |
| margin-bottom: 1rem; | |
| } | |
| input, | |
| select { | |
| padding: 8px; | |
| margin-top: 5px; | |
| width: 100%; | |
| border: 1px solid var(--rand); | |
| border-radius: 5px; | |
| box-sizing: border-box; | |
| } | |
| .row { | |
| display: grid; | |
| grid-template-columns: 0.9fr 1.5fr 0.8fr 0.4fr 1fr; | |
| gap: 10px; | |
| align-items: center; | |
| margin-bottom: 10px; | |
| } | |
| .dynamic-area { | |
| margin-top: 20px; | |
| border-top: 2px solid var(--rand); | |
| padding-top: 15px; | |
| } | |
| .add-btn { | |
| display: inline-block; | |
| margin-top: 10px; | |
| background: var(--button); | |
| color: #fff; | |
| border: none; | |
| padding: 8px 16px; | |
| border-radius: 5px; | |
| cursor: pointer; | |
| } | |
| .add-btn:hover { | |
| background: var(--buttonhover); | |
| } | |
| .total { | |
| margin-top: 30px; | |
| font-size: 1.1rem; | |
| line-height: 1.6; | |
| } | |
| .total span { | |
| float: right; | |
| font-weight: bold; | |
| } | |
| .total div { | |
| border-top: 1px solid #eee; | |
| padding-top: 8px; | |
| margin-top: 8px; | |
| } | |
| @media (max-width: 700px) { | |
| .row { | |
| grid-template-columns: 1fr; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment