Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compatible_templates.mdwn: Fix typesetting
[git.ikiwiki.info.git]
/
themes
/
blueview
/
style.css
diff --git
a/themes/blueview/style.css
b/themes/blueview/style.css
index 40a940f265a94f77be5191b124bbb321f3080b45..57813e2ee145b27d2dac263a4c312962e4906d35 100644
(file)
--- a/
themes/blueview/style.css
+++ b/
themes/blueview/style.css
@@
-143,7
+143,7
@@
p,fieldset,table,pre {
* Copyright (C) 2010 Bernd Zeimetz
* Licensed under same license as ikiwiki: GPL v2 or later */
* Copyright (C) 2010 Bernd Zeimetz
* Licensed under same license as ikiwiki: GPL v2 or later */
-.page, .pageheader, .sidebar, #content, #comments, .inlinepage, .recentchanges, .pageheader .actions ul, #pagebody {
+.page, .pageheader, .sidebar, #content, #
enclosure, #
comments, .inlinepage, .recentchanges, .pageheader .actions ul, #pagebody {
border: none;
}
border: none;
}
@@
-223,7
+223,7
@@
body {
clear: none;
}
clear: none;
}
-#content a, #comments a, .sidebar a {
+#content a, #
enclosure a, #
comments a, .sidebar a {
color: #315485;
text-decoration: none;
font-weight: bold;
color: #315485;
text-decoration: none;
font-weight: bold;
@@
-271,7
+271,7
@@
body {
.pageheader .header span a, .pageheader .actions ul li a, .pageheader .header .parentlinks a {
color #315485;
}
.pageheader .header span a, .pageheader .actions ul li a, .pageheader .header .parentlinks a {
color #315485;
}
- #content, #comments, #pagebody {
+ #content, #
enclosure, #
comments, #pagebody {
margin-right: 0;
*margin-right: 0;
border-right: none;
margin-right: 0;
*margin-right: 0;
border-right: none;
@@
-279,3
+279,30
@@
body {
}
}
+/* lose the border on mobile */
+@media (max-width: 600px) {
+ body {
+ padding: 0;
+ }
+ .page {
+ border: none;
+ margin: 0;
+ }
+ #pagebody {
+ margin: auto;
+ border: none;
+ padding: 0.5em;
+ }
+ #footer {
+ padding: 0.5em;
+ }
+}
+
+/* cancel the minimum width if it would mean scrollbars */
+@media (max-width: 850px) {
+ .page {
+ width: auto;
+ min-width: 0;
+ padding: 0;
+ }
+}