Make the awesome carrier pidgin respect my phone

This commit is contained in:
Peder Bergebakken Sundt 2018-08-14 02:24:07 +02:00
parent 2f22451fa6
commit 22a08bfb04
2 changed files with 12 additions and 10 deletions

View File

@ -33,10 +33,7 @@ h2 img {
margin-bottom: 0.8em; margin-bottom: 0.8em;
clear: left; clear: left;
} }
article:first-child h2 img { h4 {
max-width: 12em;
}
h4 {
margin-top: 0; margin-top: 0;
margin-bottom: -0.6em; margin-bottom: -0.6em;
} }
@ -102,8 +99,13 @@ p + .subtext {
margin-top: 1em; margin-top: 1em;
} }
@media screen and (min-width: 50rem) {
article:first-child h2 img {
max-width: 12em;
}
}
@media screen and (max-width: 50rem) { @media screen and (max-width: 50rem) {
article h2 { h2 {
text-align: center; text-align: center;
position: relative; position: relative;
border-bottom-left-radius: 0.3em; border-bottom-left-radius: 0.3em;
@ -111,23 +113,23 @@ p + .subtext {
max-height: 30vh; max-height: 30vh;
overflow-y: hidden; overflow-y: hidden;
} }
article h2 em { h2 em {
display: block; display: block;
top:0; top:0;
left: 0; left: 0;
position: absolute; position: absolute;
} }
article h2 img { h2 img {
border: none; border: none;
box-shadow: none; box-shadow: none;
border-radius: 0.3em; border-radius: 0.3em;
float: none; float: none;
margin: 0; margin: 0;
max-width: none !important; max-width: none;
width: 100%; width: 100%;
} }
article .subtext { .subtext {
margin-top: -1em !important; margin-top: -1em !important;
} }
} }

View File

@ -21,7 +21,7 @@ require_once dirname(dirname(__DIR__)) . implode(DIRECTORY_SEPARATOR, ['', 'inc'
</nav> </nav>
<main> <main>
<h2>Kommunikasjon<img src="kontakt.jpg"></img></h2> <h2>Kommunikasjon<br><img style="width: 8em" src="kontakt.jpg"></img></h2>
<p> <p>
Det er ulike måter å kommunisere med PVV-medlemmer . Det er ulike måter å kommunisere med PVV-medlemmer .
</p> </p>