diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-10-12 11:36:05 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-10-12 11:36:05 +0200 |
commit | 65796d4a2349e71ca05f5f298d6f94ff792d88b2 (patch) | |
tree | ef73e39b4b54ccd36b61b783c438036761d17811 /public/w/css/stylebase.css | |
parent | 74ccedd6544daac0845a044b5e6d71d577578c69 (diff) | |
download | wcms-65796d4a2349e71ca05f5f298d6f94ff792d88b2.tar.gz wcms-65796d4a2349e71ca05f5f298d6f94ff792d88b2.zip |
2.91 folder moves + auto summary
Diffstat (limited to 'public/w/css/stylebase.css')
-rw-r--r-- | public/w/css/stylebase.css | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/public/w/css/stylebase.css b/public/w/css/stylebase.css new file mode 100644 index 0000000..017b075 --- /dev/null +++ b/public/w/css/stylebase.css @@ -0,0 +1,85 @@ +:root { + --color1: lightgrey; + --color2: lightslategrey; + --color3: #ececec; + --color4: grey; +} + + +@keyframes alert { + from {top: 30px;} + to {top: -50px;} +} + +body { + margin: 0; + font-family: sans-serif; + background-color: var(--color4); +} + + +span.alert { + position: fixed; + background-color: var(--color1); + z-index: 100; + border: ridge red; + width: 200px; + text-align: center; + padding: 5px; + top: 30px; + font-weight: bold; + left: calc(50% - 100px); + animation: alert 1s linear 2s forwards; +} + + +form{ + margin: 0; +} + + + +nav { + position: fixed; + top: 0; + right: 0; + z-index: 10; + background-color: var(--color1); + border: ridge; +} + +div#menu { + display: none; +} + +nav:hover div#menu { + display: block; +} + +nav a { + display: block; +} + +nav a:hover { + background-color: var(--color3); +} + +nav #loginpass { + width: 100%; +} + + +@media (max-width: 600px) { + body { + font-size: 1.3em; + } + + input, textarea, select, button { + font-size: 0.8em; + } + + nav { + display: none; + } + +}
\ No newline at end of file |