diff options
Diffstat (limited to 'static')
| -rw-r--r-- | static/img/background.png | bin | 0 -> 316777 bytes | |||
| -rw-r--r-- | static/img/bgcropped.png | bin | 0 -> 359479 bytes | |||
| -rw-r--r-- | static/img/bgcropped.webp | bin | 0 -> 189264 bytes | |||
| -rw-r--r-- | static/img/eguide.gif | bin | 0 -> 2074 bytes | |||
| -rw-r--r-- | static/img/gitrepos.gif | bin | 0 -> 2134 bytes | |||
| -rw-r--r-- | static/img/photography.webp | bin | 0 -> 59236 bytes | |||
| -rw-r--r-- | static/montserrat/Montserrat-Italic-VariableFont_wght.ttf | bin | 0 -> 701156 bytes | |||
| -rw-r--r-- | static/montserrat/Montserrat-VariableFont_wght.ttf | bin | 0 -> 688600 bytes | |||
| -rw-r--r-- | static/montserrat/OFL.txt | 93 | ||||
| -rw-r--r-- | static/msmadi/MsMadi-Regular.ttf | bin | 0 -> 142360 bytes | |||
| -rw-r--r-- | static/msmadi/OFL.txt | 93 | ||||
| -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 |
15 files changed, 635 insertions, 0 deletions
diff --git a/static/img/background.png b/static/img/background.png Binary files differnew file mode 100644 index 0000000..1369bd3 --- /dev/null +++ b/static/img/background.png diff --git a/static/img/bgcropped.png b/static/img/bgcropped.png Binary files differnew file mode 100644 index 0000000..fbe0569 --- /dev/null +++ b/static/img/bgcropped.png diff --git a/static/img/bgcropped.webp b/static/img/bgcropped.webp Binary files differnew file mode 100644 index 0000000..29c92f6 --- /dev/null +++ b/static/img/bgcropped.webp diff --git a/static/img/eguide.gif b/static/img/eguide.gif Binary files differnew file mode 100644 index 0000000..3d1985a --- /dev/null +++ b/static/img/eguide.gif diff --git a/static/img/gitrepos.gif b/static/img/gitrepos.gif Binary files differnew file mode 100644 index 0000000..72c24dc --- /dev/null +++ b/static/img/gitrepos.gif diff --git a/static/img/photography.webp b/static/img/photography.webp Binary files differnew file mode 100644 index 0000000..7085279 --- /dev/null +++ b/static/img/photography.webp diff --git a/static/montserrat/Montserrat-Italic-VariableFont_wght.ttf b/static/montserrat/Montserrat-Italic-VariableFont_wght.ttf Binary files differnew file mode 100644 index 0000000..76e3f9d --- /dev/null +++ b/static/montserrat/Montserrat-Italic-VariableFont_wght.ttf diff --git a/static/montserrat/Montserrat-VariableFont_wght.ttf b/static/montserrat/Montserrat-VariableFont_wght.ttf Binary files differnew file mode 100644 index 0000000..451e692 --- /dev/null +++ b/static/montserrat/Montserrat-VariableFont_wght.ttf diff --git a/static/montserrat/OFL.txt b/static/montserrat/OFL.txt new file mode 100644 index 0000000..8e618c8 --- /dev/null +++ b/static/montserrat/OFL.txt @@ -0,0 +1,93 @@ +Copyright 2024 The Montserrat.Git Project Authors (https://github.com/JulietaUla/Montserrat.git)
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+https://openfontlicense.org
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/static/msmadi/MsMadi-Regular.ttf b/static/msmadi/MsMadi-Regular.ttf Binary files differnew file mode 100644 index 0000000..310d480 --- /dev/null +++ b/static/msmadi/MsMadi-Regular.ttf diff --git a/static/msmadi/OFL.txt b/static/msmadi/OFL.txt new file mode 100644 index 0000000..6947b4f --- /dev/null +++ b/static/msmadi/OFL.txt @@ -0,0 +1,93 @@ +Copyright 2018 The Ms Madi Project Authors (https://github.com/googlefonts/ms-madi)
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+https://openfontlicense.org
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
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 |