Improvements on mobile

Former-commit-id: 8ada05a2e55b2ff981bd262428180b1a8536cd4e [formerly d730b097f82616c3d4e66b4756e69ebbce6079ac] [formerly 2d14624e641d0e1f0ba3c74e13a109bb7769fdc1 [formerly b42b3c6491]]
Former-commit-id: 12240d5c19de99c0b639f94ffd82dbffc2b78177 [formerly 3611b305281016452a25366de003b7af21f3bebf]
Former-commit-id: 73203d1fb6d4ab59e66388dbe61a569e1a0dd5a3
This commit is contained in:
Henrique Dias 2017-07-04 14:08:32 +01:00
parent 482a460bdb
commit d45fdbbfb5
2 changed files with 20 additions and 5 deletions

View File

@ -1,8 +1,3 @@
#listing {
max-width: calc(100% - 1.2em);
width: 100%;
}
#listing h2 {
margin: 0 0 0 0.5em;
font-size: .9em;

View File

@ -10,3 +10,23 @@
width: calc(100% - 13em)
}
}
@media (max-width: 736px) {
nav {
top: 0;
z-index: 9999;
background: #fff;
height: 100%;
width: 13em;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
#listing.list .item.header, main {
width: calc(100% - 2em);
}
main {
margin: 0 1em;
width: calc(100% - 2em);
}
}