Projects/nettsiden-old
Projects
/
nettsiden-old
Archived
8
0
Fork 0

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;
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;
}
}

View File

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