Browse Source

Responsiveness

master
parent
commit
afbcb7e678
  1. BIN
      img/shadow_top.png
  2. 79
      style.css

BIN
img/shadow_top.png

After

Width: 30  |  Height: 5  |  Size: 151 B

79
style.css

@ -105,7 +105,6 @@ body {
/* Source: http://tobiasahlin.com/spinkit/ */
#content .category.loading > .loadingIndicator2 {
width: 100%;
text-align: left;
display: block;
background: #efefef;
@ -273,3 +272,81 @@ a.showDetails {
#menu li:last-of-type::after {
content: '';
}
@media all and (max-height: 400px) {
#sidebar {
overflow: auto;
}
#sidebar > #content {
overflow: visible;
}
}
@media all and (max-width: 500px) {
#sidebar {
top: 0;
height: 270px;
left: 0;
right: 0;
bottom: auto;
width: auto;
overflow: auto;
}
#map {
left: 0;
bottom: 0;
top: 270px;
right: 0;
border-left: none;
border-top: 1px solid #999;
}
#mapShadow {
left: 0;
right: 0;
top: 271px;
bottom: auto;
height: 5px;
width: auto;
background-image: url(img/shadow_top.png);
background-repeat: repeat-x;
}
#sidebar > #content {
overflow: visible;
}
}
@media all and (max-width: 500px) and (max-height: 500px) {
#sidebar {
height: 220px;
}
#map {
top: 220px;
}
#mapShadow {
top: 221px;
}
}
@media all and (max-width: 500px) and (max-height: 460px) {
#sidebar {
height: 200px;
}
#map {
top: 200px;
}
#mapShadow {
top: 201px;
}
}
@media all and (max-width: 500px) and (max-height: 420px) {
#sidebar {
height: 180px;
}
#map {
top: 180px;
}
#mapShadow {
top: 181px;
}
}
Loading…
Cancel
Save