From 1263d1a210f3e5d8edb4a6a15325153f0cdc2e47 Mon Sep 17 00:00:00 2001 From: nek0 Date: Sun, 11 Mar 2018 03:00:30 +0100 Subject: [PATCH] style for page --- content/datenspuren/index.xml | 4 +- .../static/datenspuren/2018/style/style.css | 64 +++++++++++++++++-- xsl/datenspuren/xhtml5.xsl | 6 +- 3 files changed, 63 insertions(+), 11 deletions(-) diff --git a/content/datenspuren/index.xml b/content/datenspuren/index.xml index 7e788e67f..6ce52766f 100644 --- a/content/datenspuren/index.xml +++ b/content/datenspuren/index.xml @@ -1,9 +1,9 @@ - +
- +
15. Symposium Datenspuren 2018
diff --git a/content/static/datenspuren/2018/style/style.css b/content/static/datenspuren/2018/style/style.css index 4646d0f8f..939373d23 100644 --- a/content/static/datenspuren/2018/style/style.css +++ b/content/static/datenspuren/2018/style/style.css @@ -1,23 +1,36 @@ +@font-face { + font-family: 'DSEG14'; + src: url('DSEG14Classic-Regular.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} + body { display: flex; flex-direction: column; height: 100vh; margin: 0; padding: 0; - color: black; + color: white; + background-color: #191919; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; } +.motto { + font-family: DSEG14; +} + .wrapper { flex: 1; padding: 0 5em 0; } #oldds { - background-color: lightgray; + background-color: #646464; list-style-type: none; margin: 0 auto; + padding: 5px 0; } #oldds li { @@ -26,7 +39,7 @@ body { } a { - color: blue; + color: #b6ff00; text-decoration: none; } @@ -44,14 +57,49 @@ nav ul { nav li { display: inline-block; text-align: center; - border: 2px solid black; + border: 2px solid lightgray; + border-radius: 22px; + background-color: #646464; + margin-right: 20px; +} + +nav li a:before { + background: #b6ff00; + content: ""; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + width: 0; + opacity: 0; + transition: all 0.3s ease-out; + transform-origin: 0 50%; + border-radius: 21px; + z-index: -1; +} + +nav li a:hover, nav li a:focus, nav li a:active { + color: #191919; + text-decoration: none; +} + +nav li a:hover:before, nav li a:focus:before, nav li a:active:before { + width: 100%; + opacity: 1; + border-radius: 20px; } nav li a { display: inline-block; + vertical-align: middle; + position: relative; width: 123px; text-decoration: none; - background-color: white; + padding: 11px 0 11px; + transform: perspective(1px) translateZ(0); + transition-property: color; + transition-duration: 0.3s; } article .center a img { @@ -66,6 +114,10 @@ footer { text-align: center; } +#logo { + min-width: 127px; +} + #logo img { width: 100%; } @@ -116,7 +168,7 @@ footer { #logo { display: inline-block; float:right; - padding: 2em; + padding: 0 2em 2em; width: 50%; } } diff --git a/xsl/datenspuren/xhtml5.xsl b/xsl/datenspuren/xhtml5.xsl index 337496290..4e8b4c238 100644 --- a/xsl/datenspuren/xhtml5.xsl +++ b/xsl/datenspuren/xhtml5.xsl @@ -66,9 +66,9 @@
- +