From c1def5fd7d31c68329346d91fb707230e683838d Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 28 Oct 2017 20:53:49 +0200 Subject: [PATCH] Pretty up admin and prosjekter --- www/css/admin.css | 20 +++++++++++++++----- www/css/splash.css | 2 +- www/css/style.css | 6 ++---- www/prosjekt/edit.php | 4 ++-- 4 files changed, 20 insertions(+), 12 deletions(-) diff --git a/www/css/admin.css b/www/css/admin.css index a542e4d..2e3a533 100644 --- a/www/css/admin.css +++ b/www/css/admin.css @@ -21,7 +21,7 @@ header.admin { grid-template-columns: 90% 10%; margin-bottom: 2em; padding-bottom: .5em; - border-bottom: 1px solid gray; + border-bottom: 1px dotted rgba(0,0,0,0.5); } .event-info { @@ -57,13 +57,14 @@ header.admin { } .gridsplit { + padding-top: 1.3em; display: grid; - grid-template-columns: 75% 25%; + grid-template-columns: 3fr 1fr; } .gridsplit5050 { display: grid; - grid-template-columns: 50% 50%; + grid-template-columns: 1fr 1fr; } .gridl { @@ -75,10 +76,19 @@ header.admin { height: 100%; padding: 0 1em; margin-left: 1em; - border-left: 1px solid gray; + border-left: 1px dotted rgba(0,0,0,0.5); grid-column: 2; } +.gridsplit h1:first-child, +.gridsplit h2:first-child, +.gridsplit h3:first-child, +.gridsplit h4:first-child, +.gridsplit h5:first-child, +.gridsplit h6:first-child { + margin-top: 0; +} + .allgrids { grid-column: 1 / -1; } @@ -110,4 +120,4 @@ header.admin { border-color: #084; background: #084; color: white; -} \ No newline at end of file +} diff --git a/www/css/splash.css b/www/css/splash.css index 81c3f63..86339b8 100644 --- a/www/css/splash.css +++ b/www/css/splash.css @@ -15,7 +15,7 @@ img.float-right { margin-top: .2em; } .calendar-events > li > p { - border-bottom: .1em solid rgba(0,0,0,.2); + border-bottom: .1em dotted rgba(0,0,0,.2); } .calendar-events ul { diff --git a/www/css/style.css b/www/css/style.css index 785fb35..def22e9 100644 --- a/www/css/style.css +++ b/www/css/style.css @@ -94,10 +94,8 @@ main:before { } .ruler { - border-style: inset; - height: 1px; - border-width: 0px; - background-color: black; + border: none; + border-bottom: 1px dotted rgba(0,0,0,.5); } a.btn { diff --git a/www/prosjekt/edit.php b/www/prosjekt/edit.php index 1215cd2..d8240fb 100644 --- a/www/prosjekt/edit.php +++ b/www/prosjekt/edit.php @@ -84,11 +84,11 @@ if($new == 0){

Prosjektnavn

Gi prosjektet ditt et passende navn

- getName() . '" class="boxinput">' ?>
+

Beskrivelse

Hva går prosjektet ditt ut på?

- + getID() . '" />' ?>