diff options
| author | schererleander <leander@schererleander.de> | 2025-04-15 17:35:44 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-04-15 17:35:44 +0200 |
| commit | dc6c96831788984c0f7e7f5fa53333a3f99f9a43 (patch) | |
| tree | b4b4d52ebca1b21ff85885eec59812073ae28665 /html/style.css | |
| parent | 887dab3b619bdfcceb3a9a9d37da81948372e3d9 (diff) | |
add grid background
Diffstat (limited to 'html/style.css')
| -rw-r--r-- | html/style.css | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/html/style.css b/html/style.css index f3cf308..83af079 100644 --- a/html/style.css +++ b/html/style.css @@ -2,8 +2,18 @@ font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; } body { - background: #EBE9DA; - max-width: 50em; + background-color: #EBE9DA; + background-size: 20px 20px; + background-image: + linear-gradient(to right, rgba(0, 0, 0, 0.1) 1px, transparent 1px), + linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 1px, transparent 1px); + margin: 0 auto; + padding: 2rem; + max-width: 900px; +} + +img { + display: block; + border-radius: 0.5rem; margin: 0 auto; - padding: 1.25em; } |
