summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-05-21 13:51:27 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-05-21 14:13:34 (EDT)
commitda59fe14d37f816db6c896a2175125989bb3927e (patch)
treeb009512595d91c83a5aaf9d319e704a783d731ab
parent66c4cb63fa5155e878a6796d17b14010d6f9968c (diff)
downloadlibreboot.org-da59fe14d37f816db6c896a2175125989bb3927e.zip
libreboot.org-da59fe14d37f816db6c896a2175125989bb3927e.tar.gz
libreboot.org-da59fe14d37f816db6c896a2175125989bb3927e.tar.bz2
optimize css
-rw-r--r--site/css/main.css107
-rw-r--r--site/download/index.php2
2 files changed, 35 insertions, 74 deletions
diff --git a/site/css/main.css b/site/css/main.css
index 77fe08c..0683a16 100644
--- a/site/css/main.css
+++ b/site/css/main.css
@@ -1,90 +1,51 @@
body {
- background:#f4f4f4;
- color:#2B2B2B;
- font-family:Lato,helvetica,sans-serif;
- font-size:0.825em;
- font-weight:400;
- padding:0px;
- margin:0px;
-}
-div.contain {
- max-width:58em;
- margin:0 auto;
-}
-div.section {
- background:#FFF;
+ background:#eee;
+ color:#333;
+ font:400 0.825em Lato,helvetica,sans-serif
+}
+p,aside,li {margin:0.1em 0px 0.15em; text-align:justify}
+body,img,.ulnav {padding:0px; margin:0px}
+
+.contain {max-width:58em; margin:0 auto}
+.section {
+ background:#fff;
border-radius:0.5em;
- box-shadow: 0px 0px 2px 0px rgba(50, 50, 50, 1);
- padding-left:0.9em;
- padding-right:0.9em;
- padding-top:0.15em;
- padding-bottom:0.3em;
- margin:0.35em;
-}
-p, aside, li {
- margin: 0.1em 0px 0.15em;
- text-align:justify;
-}
-a {
- color:#2B2BAA;
- font-size:1.1em;
-}
-a:hover {
- text-decoration:none;
-}
-h1,h2,h3 {
- margin-bottom:0em;
- margin-top:0em;
-}
-h1 {
- font-size:1.9em;
-}
-h2 {
- font-size:1.4em;
-}
-h3 {
- font-size:1.2em;
+ box-shadow:0px 0px 2px 0px rgba(50, 50, 50, 1);
+ padding:0.15em 0.9em 0.3em 0.9em;
+ margin:0.35em
}
+.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)
+}
+
+a {color:#33a; font-size:1.1em}
+a:hover {text-decoration:none}
+
+h1,h2,h3 {margin:0px 0px}
+h1 {font-size:1.9em} h2 {font-size:1.4em} h3 {font-size:1.2em}
+
+img {margin-right:1em}
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;
-}
-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);
-}
-.ulnav {
- padding:0em;
- margin-top:0.5em;
- margin-bottom:0.5em;
-}
-.ulnav li {
- display:inline-block;
- margin-top:0px;
- margin-bottom:0px;
- margin-left:0px;
- margin-right:1em;
- padding:0em;
+ box-shadow:0px 0px 5px 0px rgba(50, 50, 50, 0.75);
+ margin-bottom:1em
}
.homepage_logo {
- padding:0px;
- margin:0px;
margin-left:1em;
- margin-right:1em;
border:none;
border-radius:0.5em;
box-shadow:none;
height:7.5em;
width:auto;
- float:right;
+ float:right
}
+
+.ulnav {margin:0.5em 0.5em}
+.ulnav li {display:inline-block; margin:0px 1em 0px 0px}
diff --git a/site/download/index.php b/site/download/index.php
index dbc0671..f0fb84b 100644
--- a/site/download/index.php
+++ b/site/download/index.php
@@ -224,7 +224,7 @@
$ <b>git status</b>
</p>
- <div class="important">
+ <div class="subsection">
<p>
If you are modifying an existing file, make sure to update the copyright license header