0
0
Fork 0

add background picture and some fixes

This adds some fixes for the size of the article boxes.
This commit is contained in:
Gibheer 2015-11-14 11:31:17 +01:00
parent 7b9fb5b995
commit 377e0a01c9
1 changed files with 9 additions and 4 deletions

View File

@ -23,10 +23,15 @@ body > header > h1 > a {
align-items: stretch;
}
.entries > li {
margin-top: 1em;
margin-top: 0.5em;
margin-bottom: 0.5em;
padding: 1em;
}
body {
background-image: url('/img/background.png');
}
@media screen and ((max-width: 750px) or (orientation: portait)) {
.entries > li {
width: 100%;
@ -34,17 +39,17 @@ body > header > h1 > a {
}
@media screen and (min-width: 750px) and (orientation: landscape) {
.entries > li {
width: 50%;
width: 49%;
}
}
@media screen and (min-width: 1000px) and (orientation: landscape) {
.entries > li {
width: 33%;
width: 32%;
}
}
@media screen and (min-width: 1450px) and (orientation: landscape) {
.entries > li {
width: 25%;
width: 24%;
}
}