git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
219e14b
)
automatically apply monochrome/terse styling
author
Mischa POSLAWSKY
<perl@shiar.org>
Thu, 7 Aug 2008 18:48:12 +0000
(18:48 +0000)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Sat, 13 Sep 2008 03:36:37 +0000
(
03:36
+0000)
In browsers supporting CSS3 media selectors, load the mono stylesheet
for monochrome environments, and terse if available width is
insufficient for default key formatting.
base.css
patch
|
blob
|
history
diff --git
a/base.css
b/base.css
index 0bc7a131945e35ea92f84755d35a5b298b9c2e34..00871f7f4444686eda513fc9b15a424795562eda 100644
(file)
--- a/
base.css
+++ b/
base.css
@@
-1,3
+1,11
@@
+/* media features */
+
+@import url(terse.css) all and (max-width: 80em);
+
+@import url(mono.css) all and (monochrome);
+
+/* general */
+
body {
background: #FFF;
color: #000;