diff options
| author | Morgana <Morgana@icolotl.com> | 2026-09-25 14:19:20 -0500 |
|---|---|---|
| committer | Morgana <Morgana@icolotl.com> | 2026-09-25 14:19:20 -0500 |
| commit | 7fc188b0a4d73856c05eacc9bdf2a1561505a8d6 (patch) | |
| tree | ad2b4132865432a1e8e321a033e62b1838c3dc94 /static/style | |
Initial Commit
Diffstat (limited to 'static/style')
| -rw-r--r-- | static/style/hyde.css | 165 | ||||
| -rw-r--r-- | static/style/index.css | 142 | ||||
| -rw-r--r-- | static/style/login.css | 18 | ||||
| -rw-r--r-- | static/style/style.css | 124 |
4 files changed, 449 insertions, 0 deletions
diff --git a/static/style/hyde.css b/static/style/hyde.css new file mode 100644 index 0000000..b4c91ef --- /dev/null +++ b/static/style/hyde.css @@ -0,0 +1,165 @@ +html { + font-family: Arial, sans-serif; + background-color: #171717; +} + +body { + margin: 0; + padding: 0; +} + +header { + margin-top: 1em; + background-color: #551515; + color: #ffffff; + padding-bottom: 0.5em; + + >div { + max-width: 70em; + margin: auto; + padding: 1em; + display: flex; + flex-direction: row; + align-items: end; + gap: 1em; + + >div { + display: flex; + flex-direction: column; + align-items: center; + } + } + + h1 { + letter-spacing: 0.1em; + font-size: 3.5em; + font-weight: bold; + margin: 0; + } + + strong { + letter-spacing: 0.05em; + font-weight: normal; + } + + a { + color: #aaaaaa; + text-decoration: none; + font-variant: small-caps; + } + + span { + flex-grow: 1; + } +} + +main { + background-color: #fcfcfc; + margin: auto; + padding: 2em; + max-width: 70em; +} + +h2 { + padding: 1rem 2rem; + margin: 0 -2rem; + font-variant: small-caps; + background-color: #eeeeee; + border: 1px solid #ddd7d7; + text-shadow: 0.1rem 0.1rem #DDD; +} + +h3 { + font-variant: small-caps; + text-shadow: 0.1rem 0.1rem #DDD; + color: #444; +} + +hr { + border: solid #ddd7d7; + border-top: 2px; + margin: 2em 0; +} + +footer { + font-size: 0.9em; + text-align: center; + padding: 0.5em; + color: #C77; +} + +a { + color: #772F18; + text-decoration: none; +} + +table { + font-size: 0.9em; + width: 100%; + table-layout: fixed; +} + +.datatable { + th { + width: 25%; + text-align: left; + font-weight: normal; + } +} + +#matchtable { + border-collapse: separate; + border-spacing: 0 1px; + + th { + text-align: start; + } + + th#matchno { + width: 3em; + } + + th#matchdate { + width: 7em; + } + + td { + padding: 0.25em; + } + + tr { + background-color: #f0f0f0; + } + + tr:first-child { + background-color: #cccccc; + } + + tr:nth-child(even) { + background-color: #e2e2e2; + } + + tr>:nth-child(1) { + color: #555; + text-align: center; + } + + strong { + color: #772F18; + } + + small { + font-size: 0.9em; + } +} + +@media (max-width: 750px) { + html { + font-size: 0.7em; + } + + header>div { + flex-direction: column; + align-items: start; + } +}
\ No newline at end of file diff --git a/static/style/index.css b/static/style/index.css new file mode 100644 index 0000000..bee815d --- /dev/null +++ b/static/style/index.css @@ -0,0 +1,142 @@ +html { + background-color: var(--dark-color); +} + +main { + background-image: url("/static/img/bgcropped.webp"), linear-gradient(5deg, var(--heavy-color) 30%, var(--light-color)); + background-color: var(--heavy-color); + background-size: cover; + aspect-ratio: 2 / 1; + box-shadow: 0 -1em 1em var(--heavy-color) inset; + display: flex; + flex-direction: column; +} + +header { + font-size: 3em; +} + +nav { + display: flex; + flex-wrap: wrap; + gap: 1em; + justify-content: center; + align-content: start; + flex-grow: 2; + max-width: 75em; + margin: auto; + + >a { + flex-grow: 0; + flex-shrink: 0; + flex-basis: 8em; + background-color: var(--accent-color); + border: 2px solid var(--heavy-color); + width: 8em; + height: 2em; + padding: 2em; + border-radius: 1em; + text-align: center; + align-content: center; + text-decoration: none; + color: var(--dark-color); + font-weight: bold; + font-variant: small-caps; + } +} + +#search { + margin: auto; + margin-bottom: 1em; + flex-grow: 1; + align-content: end; + + input { + background-color: var(--light-color); + font-size: inherit; + color: var(--dark-color); + border: 2px solid var(--heavy-color); + border-radius: 1em 0 0 1em; + border-right: none; + padding: 0.5em; + width: 25em; + } + + button { + background-color: var(--light-color); + font-size: inherit; + color: var(--dark-color); + border: 2px solid var(--heavy-color); + border-radius: 0 1em 1em 0; + border-left: none; + padding: 0.5em; + } +} + +section { + display: flex; + flex-wrap: wrap; + gap: 1em; + justify-content: center; + padding: 1em; + background-color: var(--heavy-color); + + img { + border: 2px outset var(--dark-color); + width: 100%; + text-align: center; + box-sizing: border-box; + margin: auto; + } + + >div { + overflow: auto; + flex-grow: 1; + flex-shrink: 0; + flex-basis: 8em; + padding: 1em; + height: 15em; + text-align: left; + text-decoration: none; + background-color: var(--light-color); + color: var(--dark-color); + border-radius: 1em; + font-weight: bold; + + h2 { + margin-top: 0; + margin-bottom: 0.5rem; + padding: 0; + font-variant: small-caps; + + a { + color: inherit; + text-decoration: none; + } + } + } +} + +@media (max-width: 750px) { + html { + font-size: 0.8em; + } + + header { + font-size: 1.5em; + } + + nav>a { + padding: 1em; + height: 4em; + } + + #search>input { + width: 15em; + } + + section { + flex-direction: column; + flex-wrap: inherit; + } +}
\ No newline at end of file diff --git a/static/style/login.css b/static/style/login.css new file mode 100644 index 0000000..425393a --- /dev/null +++ b/static/style/login.css @@ -0,0 +1,18 @@ +main>form { + display: grid; + grid-template-columns: auto 1fr; + gap: 0.5em; + margin: 0.5em; + + label { + text-align: right; + } + + input { + flex-grow: 1; + } + + button { + grid-column: 1 / span 2; + } +}
\ No newline at end of file diff --git a/static/style/style.css b/static/style/style.css new file mode 100644 index 0000000..a2c894e --- /dev/null +++ b/static/style/style.css @@ -0,0 +1,124 @@ +@font-face { + font-family: 'Montserrat'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/static/montserrat/Montserrat-VariableFont_wght.ttf) format('woff2'); +} + +@font-face { + font-family: 'Montserrat'; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/static/montserrat/Montserrat-Italic-VariableFont_wght.ttf) format('woff2'); +} + +@font-face { + font-family: 'MsMadi'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/static/msmadi/MsMadi-Regular.ttf) format('woff2'); +} + +html { + font-family: 'Montserrat', sans-serif; + --dark-color: hsl(65, 14%, 17%); + --heavy-color: hsl(65, 14%, 33%); + --accent-color: hsl(60, 50%, 60%); + --light-color: hsl(168, 6%, 83%); + background-color: var(--light-color); + margin: 0; + padding: 0; + height: 100%; +} + +body { + margin: 0; + padding: 0; + min-height: 100%; + display: flex; + flex-direction: column; +} + +#header-bg { + background-image: linear-gradient(transparent 80%, var(--light-color)), url("/static/img/bgcropped.webp"); + background-size: cover; +} + +header { + color: var(--dark-color); + text-align: center; + font-size: 2em; + transform: rotate(-2deg); + text-wrap: nowrap; + width: fit-content; + margin: auto; + + h1 { + font-family: "MsMadi", cursive; + margin: 0; + } + + span { + transform: translate(-2.5em, -1.25em); + font-size: 0.5em; + display: block; + } + + a { + color: inherit; + text-decoration: none; + } +} + +a { + color: var(--heavy-color); +} + +footer { + display: flex; + flex-direction: row; + background-color: var(--dark-color); + color: var(--light-color); + padding: 0.35em; + + >span { + flex-grow: 1; + text-align: center; + } +} + +main { + flex-grow: 1; +} + +main.centered { + width: 40%; + margin: auto; +} + +#flashes { + font-size: 0.8em; + position: absolute; + top: 0; + right: 0; + margin: 1em; + z-index: 1; + border: 2px solid var(--dark-color); + background-color: var(--light-color); + color: var(--heavy-color); + font-weight: bold; + border-radius: 1em; + + ul { + padding: 0; + margin: 0; + } + + li { + padding: 0.25em; + list-style: none; + } +}
\ No newline at end of file |