Created
September 30, 2025 23:46
-
-
Save miditkl/27efcf9bb8e6ecbeb034b4254e33a8ae 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 { | |
| --bg-color: #f5f5f5; | |
| --header-bg: #ffffff; | |
| --accent-color: #007bff; | |
| --text-color: #333333; | |
| --link-color: var(--accent-color); | |
| --border-color: #dddddd; | |
| --input-bg: #ffffff; | |
| --input-border: #cccccc; | |
| } | |
| *, | |
| *::before, | |
| *::after { | |
| box-sizing: border-box; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| body { | |
| background: var(--bg-color); | |
| color: var(--text-color); | |
| font-family: "Segoe UI", Roboto, sans-serif; | |
| line-height: 1.5; | |
| } | |
| header { | |
| background: var(--header-bg); | |
| padding: 1rem; | |
| text-align: center; | |
| box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |
| } | |
| a { | |
| color: var(--link-color); | |
| text-decoration: none; | |
| } | |
| a:hover { | |
| text-decoration: underline; | |
| } | |
| button, | |
| input[type="submit"], | |
| input[type="button"] { | |
| background: var(--accent-color); | |
| color: #fff; | |
| border: none; | |
| padding: 0.6rem 1.2rem; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| transition: background 0.2s ease; | |
| } | |
| button:hover, | |
| input[type="submit"]:hover, | |
| input[type="button"]:hover { | |
| background: darken(var(--accent-color), 10%); | |
| } | |
| input, | |
| textarea { | |
| background: var(--input-bg); | |
| border: 1px solid var(--input-border); | |
| padding: 0.5rem; | |
| border-radius: 4px; | |
| width: 100%; | |
| max-width: 100%; | |
| } | |
| .form-container { | |
| width: 90%; | |
| max-width: 400px; | |
| margin: 2rem auto; | |
| background: #fff; | |
| padding: 2rem; | |
| box-shadow: 0 2px 8px rgba(0,0,0,0.1); | |
| border-radius: 8px; | |
| } | |
| /* Beispiel für responsive */ | |
| @media (max-width: 600px) { | |
| .form-container { | |
| padding: 1rem; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment