summaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
authorTomek Dubrownik <t.dubrownik@gmail.com>2013-01-27 19:56:35 +0100
committerTomek Dubrownik <t.dubrownik@gmail.com>2013-01-27 19:56:35 +0100
commit9b68b5487f9f6f684fd5e5785860815ab1eb0ab7 (patch)
tree09c236b346d2b83a8e2beb4bf6da440426e65436 /static
parent39441ecc018a01d0de5ab63a57eb5a37a1133bc9 (diff)
downloadwww-main-9b68b5487f9f6f684fd5e5785860815ab1eb0ab7.tar.gz
www-main-9b68b5487f9f6f684fd5e5785860815ab1eb0ab7.tar.bz2
www-main-9b68b5487f9f6f684fd5e5785860815ab1eb0ab7.zip
starting adaptive
Diffstat (limited to 'static')
-rw-r--r--static/main.css63
-rw-r--r--static/mapka.pngbin0 -> 749774 bytes
2 files changed, 60 insertions, 3 deletions
diff --git a/static/main.css b/static/main.css
index 3d6004c..d85cbef 100644
--- a/static/main.css
+++ b/static/main.css
@@ -51,6 +51,18 @@ ul.news li {
padding: 5px;
}
+#hs_branding {
+ min-width: 0;
+}
+
+#hs_main {
+ min-width: 0;
+}
+
+body {
+ overflow-x: hidden;
+}
+
span.date {
font-weight: bold;
display: block;
@@ -63,14 +75,21 @@ span.author {
text-decoration: italic;
}
+#hs_main {
+ position: relative;
+}
+
#left {
- margin-right: 310px;
border-right: 2px groove #fff;
+ margin-right: 250px;
}
#right {
- width: 310px;
- float: right;
+ position: absolute;
+ width: 250px;
+ top: 100px;
+ padding-top: 16px;
+ right: 0;
}
.clear {
@@ -91,3 +110,41 @@ span.author {
text-align: center;
display: block;
}
+
+@media screen and (max-width: 1024px) {
+ #hs_branding {
+ width: 95%;
+ }
+ #hs_main {
+ width: 95%;
+ }
+}
+
+@media screen and (max-width: 625px) {
+ #hs_branding {
+ width: 100%;
+ }
+ #hs_main {
+ width: 100%;
+ }
+ #right {
+ position: static;
+ float: none;
+ width: 100%;
+ }
+ #left {
+ float: none;
+ width: 100%;
+ margin-right: 0;
+ border-right: 0;
+ }
+}
+
+@media screen and (max-width: 480px) {
+ #hs_branding a {
+ font-size: 1.8em;
+ }
+ #hs_branding li a {
+ font-size: 1.2em;
+ }
+}
diff --git a/static/mapka.png b/static/mapka.png
new file mode 100644
index 0000000..8bebd7f
--- /dev/null
+++ b/static/mapka.png
Binary files differ