diff options
Diffstat (limited to 'style.css')
| -rw-r--r-- | style.css | 164 |
1 files changed, 164 insertions, 0 deletions
diff --git a/style.css b/style.css new file mode 100644 index 0000000..035e238 --- /dev/null +++ b/style.css | |||
| @@ -0,0 +1,164 @@ | |||
| 1 | @import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wdth,wght@0,62.5..100,100..900;1,62.5..100,100..900&display=swap"); | ||
| 2 | |||
| 3 | @media (prefers-color-scheme: light) { | ||
| 4 | :root { | ||
| 5 | --color-primary: rgb(0 104 119); | ||
| 6 | --color-on-primary: rgb(255 255 255); | ||
| 7 | |||
| 8 | --color-secondary: rgb(75 98 104); | ||
| 9 | |||
| 10 | --color-surface: rgb(245 250 252); | ||
| 11 | --color-surface-container: rgb(233 239 240); | ||
| 12 | --color-on-surface: rgb(23 29 30); | ||
| 13 | |||
| 14 | --color-alert-bg: rgb(254 242 242); | ||
| 15 | --color-alert-border: rgb(220 38 38); | ||
| 16 | --color-alert-text: rgb(153 27 27); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | @media (prefers-color-scheme: dark) { | ||
| 21 | :root { | ||
| 22 | --color-primary: rgb(131 210 228); | ||
| 23 | --color-on-primary: rgb(0 54 63); | ||
| 24 | |||
| 25 | --color-secondary: rgb(178 203 209); | ||
| 26 | |||
| 27 | --color-surface: rgb(14 20 22); | ||
| 28 | --color-surface-container: rgb(27 33 34); | ||
| 29 | --color-on-surface: rgb(222 227 229); | ||
| 30 | |||
| 31 | --color-alert-bg: rgb(69 10 10); | ||
| 32 | --color-alert-border: rgb(127 29 29); | ||
| 33 | --color-alert-text: rgb(254 202 202); | ||
| 34 | } | ||
| 35 | } | ||
| 36 | |||
| 37 | * { | ||
| 38 | transition-duration: 0.5s; | ||
| 39 | transition-property: background, color; | ||
| 40 | transition-timing-function: ease-in-out; | ||
| 41 | } | ||
| 42 | |||
| 43 | body { | ||
| 44 | font-family: "Noto Sans", sans-serif; | ||
| 45 | background-color: var(--color-surface); | ||
| 46 | color: var(--color-on-surface); | ||
| 47 | margin: 0 auto; | ||
| 48 | padding: 0 0.5rem; | ||
| 49 | |||
| 50 | max-width: 50rem; | ||
| 51 | } | ||
| 52 | |||
| 53 | main, | ||
| 54 | section, | ||
| 55 | footer { | ||
| 56 | background-color: var(--color-surface-container); | ||
| 57 | border-radius: 2rem; | ||
| 58 | margin: 1rem 0; | ||
| 59 | padding: 1.5rem; | ||
| 60 | } | ||
| 61 | |||
| 62 | main > :first-child, | ||
| 63 | section > :first-child, | ||
| 64 | footer > :first-child { | ||
| 65 | margin-top: 0; | ||
| 66 | } | ||
| 67 | |||
| 68 | main > :last-child, | ||
| 69 | section > :last-child, | ||
| 70 | footer > :last-child { | ||
| 71 | margin-bottom: 0; | ||
| 72 | } | ||
| 73 | |||
| 74 | h1 { | ||
| 75 | font-size: 2rem; | ||
| 76 | margin-bottom: 0.5rem; | ||
| 77 | } | ||
| 78 | |||
| 79 | h2 { | ||
| 80 | font-size: 1.5rem; | ||
| 81 | } | ||
| 82 | |||
| 83 | a, | ||
| 84 | .copy { | ||
| 85 | color: var(--color-primary); | ||
| 86 | text-decoration: none; | ||
| 87 | font-weight: bold; | ||
| 88 | } | ||
| 89 | |||
| 90 | .copy:hover { | ||
| 91 | cursor: pointer; | ||
| 92 | color: var(--color-secondary); | ||
| 93 | } | ||
| 94 | |||
| 95 | .step-header { | ||
| 96 | display: flex; | ||
| 97 | align-items: center; | ||
| 98 | gap: 1rem; | ||
| 99 | margin-bottom: 1rem; | ||
| 100 | } | ||
| 101 | |||
| 102 | .step-number { | ||
| 103 | background-color: var(--color-primary); | ||
| 104 | color: var(--color-on-primary); | ||
| 105 | width: 2rem; | ||
| 106 | height: 2rem; | ||
| 107 | border-radius: 50%; | ||
| 108 | display: flex; | ||
| 109 | align-items: center; | ||
| 110 | justify-content: center; | ||
| 111 | font-weight: bold; | ||
| 112 | flex-shrink: 0; | ||
| 113 | } | ||
| 114 | |||
| 115 | ol.instructions-list { | ||
| 116 | padding-left: 1.5rem; | ||
| 117 | } | ||
| 118 | |||
| 119 | ol.instructions-list li { | ||
| 120 | margin-bottom: 0.5rem; | ||
| 121 | } | ||
| 122 | |||
| 123 | .alert { | ||
| 124 | background-color: var(--color-alert-bg); | ||
| 125 | border: 1px solid var(--color-alert-border); | ||
| 126 | color: var(--color-alert-text); | ||
| 127 | padding: 1rem; | ||
| 128 | border-radius: 1rem; | ||
| 129 | margin-bottom: 1.5rem; | ||
| 130 | font-weight: 500; | ||
| 131 | } | ||
| 132 | |||
| 133 | .gallery { | ||
| 134 | display: flex; | ||
| 135 | gap: 1rem; | ||
| 136 | flex-wrap: wrap; | ||
| 137 | margin-top: 1.5rem; | ||
| 138 | } | ||
| 139 | |||
| 140 | .gallery img { | ||
| 141 | max-height: 250px; | ||
| 142 | width: auto; | ||
| 143 | max-width: 100%; | ||
| 144 | border-radius: 1rem; | ||
| 145 | border: 2px solid var(--color-surface); | ||
| 146 | } | ||
| 147 | |||
| 148 | @media (max-width: 600px) { | ||
| 149 | .gallery img { | ||
| 150 | width: 100%; | ||
| 151 | height: auto; | ||
| 152 | max-height: unset; | ||
| 153 | } | ||
| 154 | } | ||
| 155 | |||
| 156 | main h1, | ||
| 157 | main p { | ||
| 158 | text-align: center; | ||
| 159 | } | ||
| 160 | |||
| 161 | footer p { | ||
| 162 | text-align: center; | ||
| 163 | opacity: 0.7; | ||
| 164 | } | ||
