diff options
| author | William Hergès <william@herges.fr> | 2025-08-09 14:04:43 +0200 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2025-08-09 14:04:43 +0200 |
| commit | 5b7edc57501754e4976fba06ef9ae9abd71582d6 (patch) | |
| tree | 6d523e9091cbf494ca5f84b024bbb2b49db107e3 /src/scss | |
| parent | cbf9a7b672fce0943cc6306c506dda3ab1c1024e (diff) | |
feat(header): simple style
Diffstat (limited to 'src/scss')
| -rw-r--r-- | src/scss/reset.scss | 129 | ||||
| -rw-r--r-- | src/scss/style.scss | 42 |
2 files changed, 171 insertions, 0 deletions
diff --git a/src/scss/reset.scss b/src/scss/reset.scss index e69de29..3675e64 100644 --- a/src/scss/reset.scss +++ b/src/scss/reset.scss @@ -0,0 +1,129 @@ +/* http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) +*/ + +html, +body, +div, +span, +applet, +object, +iframe, +h1, +h2, +h3, +h4, +h5, +h6, +p, +blockquote, +pre, +a, +abbr, +acronym, +address, +big, +cite, +code, +del, +dfn, +em, +img, +ins, +kbd, +q, +s, +samp, +small, +strike, +strong, +sub, +sup, +tt, +var, +b, +u, +i, +center, +dl, +dt, +dd, +ol, +ul, +li, +fieldset, +form, +label, +legend, +table, +caption, +tbody, +tfoot, +thead, +tr, +th, +td, +article, +aside, +canvas, +details, +embed, +figure, +figcaption, +footer, +header, +hgroup, +menu, +nav, +output, +ruby, +section, +summary, +time, +mark, +audio, +video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +menu, +nav, +section { + display: block; +} +body { + line-height: 1; +} +ol, +ul { + list-style: none; +} +blockquote, +q { + quotes: none; +} +blockquote:before, +blockquote:after, +q:before, +q:after { + content: ""; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} diff --git a/src/scss/style.scss b/src/scss/style.scss index e69de29..42f5727 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -0,0 +1,42 @@ +@use "reset"; + +body { + font-size: 24px; + font-family: sans-serif; +} + +h1 { + font-size: 3rem; + font-weight: bold; + margin-bottom: 1rem; + font-family: serif; +} + +h2 { + font-size: 2rem; + font-weight: bold; +} + +h3 { + font-size: 1.5rem; +} + +h4 { + font-size: 1.25rem; +} + +header { + height: 100vh; + box-sizing: border-box; + padding: 2.5% 5%; + color: white; + background-image: url("/home.jpg"); + background-size: cover; + background-position: center; +} + +.tags { + display: flex; + gap: 1rem; + font-size: 1.75rem; +} |
