From 22a08bfb0415673c015b933bb5875b14c00cae50 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Tue, 14 Aug 2018 02:24:07 +0200 Subject: [PATCH] Make the awesome carrier pidgin respect my phone --- www/css/events.css | 20 +++++++++++--------- www/kontakt/index.php | 2 +- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/www/css/events.css b/www/css/events.css index aa60495..10708e1 100644 --- a/www/css/events.css +++ b/www/css/events.css @@ -33,10 +33,7 @@ h2 img { margin-bottom: 0.8em; clear: left; } -article:first-child h2 img { - max-width: 12em; -} - h4 { +h4 { margin-top: 0; margin-bottom: -0.6em; } @@ -102,8 +99,13 @@ p + .subtext { margin-top: 1em; } +@media screen and (min-width: 50rem) { + article:first-child h2 img { + max-width: 12em; + } +} @media screen and (max-width: 50rem) { - article h2 { + h2 { text-align: center; position: relative; border-bottom-left-radius: 0.3em; @@ -111,23 +113,23 @@ p + .subtext { max-height: 30vh; overflow-y: hidden; } - article h2 em { + h2 em { display: block; top:0; left: 0; position: absolute; } - article h2 img { + h2 img { border: none; box-shadow: none; border-radius: 0.3em; float: none; margin: 0; - max-width: none !important; + max-width: none; width: 100%; } - article .subtext { + .subtext { margin-top: -1em !important; } } diff --git a/www/kontakt/index.php b/www/kontakt/index.php index 55eb181..62be726 100755 --- a/www/kontakt/index.php +++ b/www/kontakt/index.php @@ -21,7 +21,7 @@ require_once dirname(dirname(__DIR__)) . implode(DIRECTORY_SEPARATOR, ['', 'inc'
-

Kommunikasjon

+

Kommunikasjon

Det er ulike måter å kommunisere med PVV-medlemmer på.