summaryrefslogtreecommitdiffstats
path: root/site
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-05-22 03:06:28 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-05-22 03:08:29 (EDT)
commit8355f2ccf14a6d444c67b1179a50333bc37dd32c (patch)
tree8f151b3ea29c266bd1028b3a3dacd1e86e24df2e /site
parentda59fe14d37f816db6c896a2175125989bb3927e (diff)
downloadlibreboot.org-8355f2ccf14a6d444c67b1179a50333bc37dd32c.zip
libreboot.org-8355f2ccf14a6d444c67b1179a50333bc37dd32c.tar.gz
libreboot.org-8355f2ccf14a6d444c67b1179a50333bc37dd32c.tar.bz2
optimize css
Diffstat (limited to 'site')
-rw-r--r--site/css/main.css30
-rw-r--r--site/index.php2
2 files changed, 9 insertions, 23 deletions
diff --git a/site/css/main.css b/site/css/main.css
index 0683a16..6903078 100644
--- a/site/css/main.css
+++ b/site/css/main.css
@@ -9,17 +9,15 @@ 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: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)
+ background:#ece0e2;
+}
+.section, .subsection {
+ margin:0.35em 0.35em;
+ padding:0.15em 0.9em 0.3em 0.9em;
+ border-radius:0.5em;
+ box-shadow:0px 0px 2px 0px rgba(50, 50, 50, 1)
}
a {color:#33a; font-size:1.1em}
@@ -28,20 +26,8 @@ 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-bottom:1em
-}
-.homepage_logo {
- margin-left:1em;
- border:none;
- border-radius:0.5em;
- box-shadow:none;
+ margin:0px 1em 0px;
height:7.5em;
width:auto;
float:right
diff --git a/site/index.php b/site/index.php
index 2793262..36af89c 100644
--- a/site/index.php
+++ b/site/index.php
@@ -38,7 +38,7 @@
<div id="libreboot" class="section intro">
<p>
- <img class="homepage_logo" src="logo/logo-small.jpg" alt="" title="<?php include "logo/license.txt"; ?>" />
+ <img src="logo/logo-small.jpg" alt="" title="<?php include "logo/license.txt"; ?>" />
</p>
<h1><?php echo $lbProjectNameCapitalized; ?> project</h1>
<p>