diff options
author | W. Kosior <koszko@koszko.org> | 2024-05-18 01:00:12 +0200 |
---|---|---|
committer | W. Kosior <koszko@koszko.org> | 2024-05-18 01:00:22 +0200 |
commit | 2b55cf92033ed02cabd545540241585e05f1fbb0 (patch) | |
tree | 9da86016dea518287552b56aaf457da970d4220f /ctftilde/src/resources/ctftilde.css | |
download | AGH-ctf-course-2024-2b55cf92033ed02cabd545540241585e05f1fbb0.tar.gz AGH-ctf-course-2024-2b55cf92033ed02cabd545540241585e05f1fbb0.zip |
Initial commit.
Diffstat (limited to 'ctftilde/src/resources/ctftilde.css')
-rw-r--r-- | ctftilde/src/resources/ctftilde.css | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/ctftilde/src/resources/ctftilde.css b/ctftilde/src/resources/ctftilde.css new file mode 100644 index 0000000..9ee148e --- /dev/null +++ b/ctftilde/src/resources/ctftilde.css @@ -0,0 +1,100 @@ +/* + * SPDX-License-Identifier: CC0-1.0 + * Copyright (C) 2024 W. Kosior <koszko@koszko.org> + */ + +html { + font-size: 16px; + line-height: 1.6; + color: #5D6166; + background-color: #D3DAE1; + --width: calc(100vw - 20px); + --height: calc(100vh - 20px); + width: var(--width); + height: var(--height); + border: #B3BAC1 solid 10px; + overflow-y: hidden; +} + +body { + padding: 10px; + margin: 0 auto; + max-width: calc(var(--width) - 20px); + max-height: calc(var(--height) - 20px); + overflow-y: scroll; +} + +main { + max-width: 700px; + padding: 1rem 2rem; +} + +form { + display: flex; + flex-direction: column; +} + +pre { + background-color: #eee; + margin: 0 -1rem; + padding: 1rem; + overflow-x: auto; +} + +a { + color: #AA2E00; +} + +a:visited { + color: #802200; +} + +h1 { + margin-top: 10px; + margin-bottom: 10px; +} + +label, aside, input { + margin-top: 4px; + margin-bottom: 4px; +} + +label { + font-weight: bold; + font-style: italic; +} + +input { + display: block; + border: none; + border-radius: 0; + border-left: 4px solid #5D6166; + padding: 4px; + margin-bottom: 8px; +} + +aside { + padding: 8px; +} + +aside.error{ + border-left: 4px solid red; + background-color: #eed2d2; +} + +button { + padding: 8px; + font-weight: bold; + color: white; + background-color: #5D6166; + border: none; +} + +button { + margin-top: 8px; + margin-bottom: 8px; +} + +button:active, button:hover { + background-color: #3d4146; +} |