diff options
author | Blaise Thompson <blaise@untzag.com> | 2019-11-09 19:55:57 -0600 |
---|---|---|
committer | Blaise Thompson <blaise@untzag.com> | 2019-11-09 19:55:57 -0600 |
commit | c99d2447b57d6e14a78013152a53bb4552a33bb7 (patch) | |
tree | 7abce49aa4a35e51ae43dd2cace880b611a5f93b /shopdb/app/static/css | |
parent | 735f16fe70f6f1d182d42d1f5161fe2aebe6aa6d (diff) |
pre-commit
Diffstat (limited to 'shopdb/app/static/css')
-rw-r--r-- | shopdb/app/static/css/main.css | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/shopdb/app/static/css/main.css b/shopdb/app/static/css/main.css new file mode 100644 index 0000000..8fd53f8 --- /dev/null +++ b/shopdb/app/static/css/main.css @@ -0,0 +1,64 @@ +* {box-sizing: border-box;} + +body { + margin: 0; + font-family: sans-serif; + color: #c5c8c6; + background-color: #1d1f21; +} + +p { + margin: 20px; +} + +h1 { + margin: 20px; +} + +.header { + overflow: hidden; + background-color: #373b41; + padding: 20px 10px; +} + +.header a { + float: left; + color: #c5c8c6; + text-align: center; + padding: 12px; + text-decoration: none; + font-size: 18px; + line-height: 25px; + border-radius: 4px; +} + +.header a.logo { + font-size: 25px; + font-weight: bold; +} + +.header a:hover { + background-color: #c5c8c6; + color: #373b41; +} + +.header a.active { + background-color: #cc6666; + color: #c5c8c6; +} + +.header-right { + float: right; +} + +@media screen and (max-width: 500px) { + .header a { + float: none; + display: block; + text-align: left; + } + + .header-right { + float: none; + } +} |