aboutsummaryrefslogtreecommitdiff
path: root/public/w/rsc/css/stylebase.css
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-10-18 01:08:46 +0200
committervincent-peugnet <v.peugnet@free.fr>2018-10-18 01:08:46 +0200
commit7b2e48276b2a3ceff83c906d38077f8d0479c3df (patch)
tree0fc26bb1cbae5a30583292fbfb2b752fb623a94d /public/w/rsc/css/stylebase.css
parent65796d4a2349e71ca05f5f298d6f94ff792d88b2 (diff)
downloadwcms-7b2e48276b2a3ceff83c906d38077f8d0479c3df.tar.gz
wcms-7b2e48276b2a3ceff83c906d38077f8d0479c3df.zip
2.92 new architecture + quickcss class
Diffstat (limited to 'public/w/rsc/css/stylebase.css')
-rw-r--r--public/w/rsc/css/stylebase.css85
1 files changed, 85 insertions, 0 deletions
diff --git a/public/w/rsc/css/stylebase.css b/public/w/rsc/css/stylebase.css
new file mode 100644
index 0000000..017b075
--- /dev/null
+++ b/public/w/rsc/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