aboutsummaryrefslogtreecommitdiff
path: root/ps/ui/css/home.css
diff options
context:
space:
mode:
authorYour Name <you@example.com>2017-12-23 20:08:09 +0100
committerYour Name <you@example.com>2017-12-23 20:08:09 +0100
commit79fa6979aa36b40983827fc5608b8bed85eea833 (patch)
treeedd5ee0a6bbf883036d011248b8243d748e3adaa /ps/ui/css/home.css
parente1a06ca1c59c6af49671cf6f6ab48bcc95af6ef4 (diff)
downloadlesoiseaux.io-79fa6979aa36b40983827fc5608b8bed85eea833.tar.gz
Add existing ps.l.o site
Diffstat (limited to 'ps/ui/css/home.css')
-rw-r--r--ps/ui/css/home.css33
1 files changed, 33 insertions, 0 deletions
diff --git a/ps/ui/css/home.css b/ps/ui/css/home.css
new file mode 100644
index 0000000..32f3896
--- /dev/null
+++ b/ps/ui/css/home.css
@@ -0,0 +1,33 @@
+/* Declare variables */
+:root {
+ /* colors */
+ --grey95: rgba(0,0,0,.95);
+ --grey30: rgba(0,0,0,.3);
+
+ --color: var(--grey95);
+ /* transformations */
+ /* animations */
+}
+
+* {
+ box-sizing: border-box;
+ margin: 0;
+ padding: 0;
+}
+
+html, body { overflow: hidden; height: 100%; }
+
+body.home {
+ background: var(--grey30);
+ color: var(--color);
+ position: absolute;
+ left: 0;
+ right: 0;
+}
+
+body > main {
+ position: relative;
+ margin: 4rem auto;
+ right: calc(100% - 3%);
+ left: calc(0% + 3%);
+} \ No newline at end of file