summaryrefslogtreecommitdiffstats
path: root/docs/css
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-04 04:14:49 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-02-04 04:14:49 (EST)
commit4c3d46238022f0c9955ae7e8b10c9f1716dd871a (patch)
tree8639e21d93df6493d952bda5f324efbe4d89447f /docs/css
parent5b6f5884280657c8554035503ee2bde5d84a276c (diff)
downloadlibreboot-4c3d46238022f0c9955ae7e8b10c9f1716dd871a.zip
libreboot-4c3d46238022f0c9955ae7e8b10c9f1716dd871a.tar.gz
libreboot-4c3d46238022f0c9955ae7e8b10c9f1716dd871a.tar.bz2
Documentation: implement theme, drastically improve readability
Diffstat (limited to 'docs/css')
-rw-r--r--docs/css/main.css46
1 files changed, 38 insertions, 8 deletions
diff --git a/docs/css/main.css b/docs/css/main.css
index 11a0773..66a0503 100644
--- a/docs/css/main.css
+++ b/docs/css/main.css
@@ -2,7 +2,7 @@
Main CSS stylesheet for libreboot.org (documentation section)
- Copyright (C) 2014 Francis Rowe <info@gluglug.org.uk>
+ Copyright (C) 2014, 2015 Francis Rowe <info@gluglug.org.uk>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -19,13 +19,31 @@
*/
body {
- background:#fff;
- color:#000;
- font-family:100% sans-serif;
- font-size:0.875em;
+ background:#dfdfdf;
+ color:#2B2B2B;
+ font-family:Lato,sans-serif;
+ font-size:0.92em;
+ font-weight:400;
+ padding:0px;
+ margin:0px;
}
-p, aside {
+div.section {
+ background:#FFF;
+ border-radius:0.5em;
+ box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
+ padding:1em;
+ margin:1em;
+}
+p, aside, li {
margin: 0.33em 0px 0.6em;
+ text-align:justify;
+}
+a {
+ color:#2B2BAA;
+ font-size:1.1em;
+}
+a:hover {
+ text-decoration:none;
}
h1,h2,h3 {
margin-bottom:0.2em;
@@ -34,13 +52,25 @@ h1,h2,h3 {
img {
max-width:100%;
height:auto;
+ border:solid 0.5em #fff;
+ border-radius:0.25em;
+ box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
+ margin:0px;
+ padding:0px;
+ margin-right:1em;
+ margin-bottom:1em;
}
+
p.lenovobios {
font-weight:bold; color:#f00; font-style:italic; font-size:1.2em;
}
p.lenovobios:hover {
color: #000;
}
-div.important, pre {
- background-color:#ccc;
+div.important, pre, div.subsection {
+ padding:1em;
+ margin-bottom:1em;
+ background-color:#ece0e2;
+ border-radius:0.25em;
+ box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
}