aboutsummaryrefslogtreecommitdiffstats
path: root/english/debhome.css
diff options
context:
space:
mode:
authorDamyan Ivanov <dmn>2012-01-10 20:36:17 +0000
committerDamyan Ivanov <dmn>2012-01-10 20:36:17 +0000
commitb996dee0212b8ba37f3f654d08a5b2732bb08a4b (patch)
tree14a3c72bcd3eea6f81a2f6f1a5bdedaf95d64900 /english/debhome.css
parentf2d72cf57e771f473d700a62a0dcc4b8b2191f90 (diff)
handheld device optimizations (#654205)
add handheld-friendly META tags on small devices: * shrink search box * remove side margins from content/footer body * (main page) move download button before the spacefun banner CVS version numbers english/debhome.css: 1.6 -> 1.7 english/debian.css: 1.92 -> 1.93 english/template/debian/basic.wml: 1.97 -> 1.98
Diffstat (limited to 'english/debhome.css')
-rw-r--r--english/debhome.css31
1 files changed, 26 insertions, 5 deletions
diff --git a/english/debhome.css b/english/debhome.css
index 558c391f92b..8d96c9fc19a 100644
--- a/english/debhome.css
+++ b/english/debhome.css
@@ -22,6 +22,9 @@
@import url("debian.css");
#splash {
+ background-image: url('Pics/spacefun-bg.png');
+ background-position:top center;
+ background-repeat: repeat-x;
margin-top: 0;
margin-bottom: 1.5em;
text-align: center;
@@ -78,11 +81,6 @@ span.download a:hover em {
color: white;
background-color: #339900;
}
-#content {
- background-image: url('Pics/spacefun-bg.png');
- background-position:top center;
- background-repeat: repeat-x;
-}
#announce {
text-align: center;
float: left;
@@ -206,3 +204,26 @@ div.trans-note {
div.trans-note p {
margin:0;
}
+
+@media screen and (max-width: 50em) {
+#content {
+ margin: 0;
+}
+input[name="P"] {
+ width: 10em;
+}
+span.download {
+ left: 0;
+ right: inherit;
+ position: static;
+ margin: 2px 0;
+ display: inline-block;
+ background: #339900;
+}
+span.download a, span.download a em {
+ color: white;
+}
+#intro {
+ clear: left;
+}
+}

© 2014-2024 Faster IT GmbH | imprint | privacy policy