From 857c528369473a66518407dee6f6cac89bbc538c Mon Sep 17 00:00:00 2001 From: Maksymilian Jopek Date: Wed, 15 Nov 2023 19:29:24 +0100 Subject: Initial commit, v1.0.0 --- src/index.css | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 src/index.css (limited to 'src/index.css') diff --git a/src/index.css b/src/index.css new file mode 100644 index 0000000..503e8af --- /dev/null +++ b/src/index.css @@ -0,0 +1,91 @@ +:root { + font-family: monospace; + line-height: 1.5; + font-weight: 400; + font-size: 20px; + + color-scheme: light dark; + color: rgba(255, 255, 255, 0.87); + background-color: #242424; + + font-synthesis: none; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + -webkit-text-size-adjust: 100%; +} + +body { + margin: 0; + display: flex; + place-items: center; + min-width: 320px; + min-height: 100vh; +} + +h1 { + font-size: 1.8rem; + line-height: 1.1; + font-weight: 550; +} +h2 { + font-size: 1.5rem; +} + +button { + border-radius: 8px; + border: 1px solid transparent; + padding: 0.6em 1.2em; + font-size: 1em; + font-weight: 500; + font-family: inherit; + background-color: #1a1a1a; + cursor: pointer; + transition: border-color 0.25s; +} +button:hover { + border-color: #646cff; +} +button:focus, +button:focus-visible { + outline: 4px auto -webkit-focus-ring-color; +} + +@media (prefers-color-scheme: light) { + :root { + color: #213547; + background-color: #ffffff; + } + button { + background-color: #f9f9f9; + } +} + +#root { + margin: 0 auto; + text-align: center; +} +select, +input { + padding: 0.2rem; +} +.year-select { + padding: 1rem; +} +span, +th { + user-select: none; +} + +th, +td { + padding-inline: 1rem; + padding-block: 0.5rem; +} + +table { + border-collapse: collapse; +} +td { + border-top: 1px solid white; +} -- cgit v1.3.1