diff options
| author | Daniel Hader <[email protected]> | 2026-08-29 13:06:16 -0500 |
|---|---|---|
| committer | Daniel Hader <[email protected]> | 2026-08-29 13:06:16 -0500 |
| commit | 5fa81500dcc07a853a01b0b0d813069467995807 (patch) | |
| tree | 4edb04d0a99ee88492f99eb7a09d8982b56280f9 /themes/simple/static/css | |
work in progress css
Diffstat (limited to 'themes/simple/static/css')
| -rw-r--r-- | themes/simple/static/css/main.css | 171 | ||||
| -rw-r--r-- | themes/simple/static/css/reset.css | 52 |
2 files changed, 223 insertions, 0 deletions
diff --git a/themes/simple/static/css/main.css b/themes/simple/static/css/main.css new file mode 100644 index 0000000..4c76d55 --- /dev/null +++ b/themes/simple/static/css/main.css @@ -0,0 +1,171 @@ +@import url("reset.css"); + +@font-face { + font-family: Gocake; + src: url("../fonts/gocake/Gocake.ttf"); +} + +@font-face { + font-family: Canela; + src: url("../fonts/canela/canela-Regular-TRIAL.otf"); +} + +@font-face { + font-family: Babel-Sans; + src: url("../fonts/babel_sans/BabelSans.ttf"); +} + +@font-face { + font-family: Aerial; + src: url("../fonts/aerial_2/Aerial_Demo.ttf"); +} + +body { + width: 100vw; + height: 100vh; + background-image: url("../images/background.jpg"); + background-repeat: no-repeat; + background-size: cover; + background-position: center; + background-attachment: fixed; + + font-family: "Aerial"; + line-height: 1.2; + + color: #aabbaf; +} + +a { + color: #99bb88; +} + +h1 { + font-size: 2em; +} + +#container { + width: 100%; + max-width: 980px; + margin: 20px auto 20px auto; +} + +#header { + position: relative; + background-color: rgba(20, 20, 20, 1.0); + background: + linear-gradient( + 180deg, + rgba(72, 72, 72, 0.9) 0%, + rgba(20, 20, 20, 0.95) 100% + ); + border-top: 1px solid #9e9e9e; + border-left: 1px solid #9e9e9e; + border-right: 1px solid #9e9e9e; + border-radius: 30px 30px 0 0; + +} + +#header hgroup { + padding: 20px 20px 10px 20px; +} + +#header::after { + content: ""; + position: absolute; + top: 4%; + left: 0.75em; + width: calc(100% - 1.5em); + height: 40%; + background: linear-gradient( + to bottom, + rgba(255, 255, 255, 0.3), + rgba(255, 255, 255, 0.05) + ); + border-radius: 30px 30px 30px 30px; +} + +#content { + display: flex; +} + +#navs { + display: flex; + flex-direction: column; + + width: 150px; + height: 100%; + padding: 10px 8px 10px 8px; + + border-top: 1px solid #666666; + border-left: 1px solid #666666; + border-right: 1px solid #666666; + background: rgba(30, 30, 30, 0.4); + /*background: linear-gradient(to bottom,rgba(80,80,80,.2),rgba(39,39,39,.1));*/ +} + +.nav { + border-radius: 8px 8px 4px 4px; + box-shadow: 2px 2px 3px rgba(0,0,0,.8); + margin-bottom: 12px; +} + +.nav nav { + display: flex; + flex-direction: column; + + background: rgba(0, 0, 0, .5); + + padding: 4px; + border-radius: 0 0 4px 4px; + border-left: 1px solid #666666; + border-right: 1px solid #666666; + border-bottom: 1px solid #666666; +} + +.nav header { + position: relative; + background-color: rgba(20, 20, 20, 1.0); + background: + linear-gradient( + 180deg, + rgba(72, 72, 72, 0.9) 0%, + rgba(20, 20, 20, 0.95) 100% + ); + + border-top: 1px solid #666666; + border-left: 1px solid #666666; + border-right: 1px solid #666666; + border-radius: 8px 8px 0 0; + + padding: 4px 0 4px 0; + font-weight: 600; + text-align: center; +} + +.nav header::after { + content: ""; + position: absolute; + top: 4%; + left: 2.5%; + width: 95%; + height: 40%; + background: linear-gradient( + to bottom, + rgba(255, 255, 255, 0.3), + rgba(255, 255, 255, 0.05) + ); + border-radius: 30px 30px 30px 30px; +} + +.nav-item { + border: 1px solid #0f0f0f; + border-radius: 5px; + + display: flex; + align-items: center; + margin: auto auto 1px; + width: 93%; + + position: relative; +} + diff --git a/themes/simple/static/css/reset.css b/themes/simple/static/css/reset.css new file mode 100644 index 0000000..10b3fde --- /dev/null +++ b/themes/simple/static/css/reset.css @@ -0,0 +1,52 @@ +/* + Name: Reset Stylesheet + Description: Resets browser's default CSS + Author: Eric Meyer + Author URI: https://meyerweb.com/eric/tools/css/reset/ +*/ + +/* v1.0 | 20080212 */ +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, font, 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 { + background: transparent; + border: 0; + font-size: 100%; + margin: 0; + outline: 0; + padding: 0; + vertical-align: baseline; +} + +body {line-height: 1;} + +ol, ul {list-style: none;} + +blockquote, q {quotes: none;} + +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} + +/* remember to define focus styles! */ +:focus { + outline: 0; +} + +/* remember to highlight inserts somehow! */ +ins {text-decoration: none;} +del {text-decoration: line-through;} + +/* tables still need 'cellspacing="0"' in the markup */ +table { + border-collapse: collapse; + border-spacing: 0; +} |
