summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorJosé Mota <josemota.net@gmail.com>2012-10-25 00:55:57 +0100
committerJosé Mota <josemota.net@gmail.com>2012-10-25 00:55:57 +0100
commitca4e9a0910ff829825efdd3f0b32a2737b57a8bd (patch)
tree8add0479e9070f5c304a2ab7a013031857a63ab3 /css
parentf599771a002c849be9de173ce8954cd617923a3a (diff)
Add media query for mobile phones.
Diffstat (limited to 'css')
-rw-r--r--css/main.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/css/main.css b/css/main.css
index 462e7a9..31d0c02 100644
--- a/css/main.css
+++ b/css/main.css
@@ -139,3 +139,13 @@ nav a:before { content: none; }
nav .next { right: -15px; }
nav .previous { left: -15px; }
+
+@media only screen and (max-device-width: 480px), only screen and (max-width: 480px) {
+ body {
+ background: rgba(255,255,255,.8) none;
+ }
+ div#bucket {
+ width: auto;
+ margin-top: 0;
+ }
+}