summaryrefslogtreecommitdiffstats
path: root/site
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-05-28 13:02:05 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-05-28 13:02:05 (EDT)
commit80d440e609c24a57aee36f024e87ab43ddefafae (patch)
tree5d7f14033cca010fd1b6b92ba84180448a8e2b31 /site
parent12a34bd3a9d2ba29733d7a5cc9ee50efb0aadb89 (diff)
downloadlibreboot.org-80d440e609c24a57aee36f024e87ab43ddefafae.zip
libreboot.org-80d440e609c24a57aee36f024e87ab43ddefafae.tar.gz
libreboot.org-80d440e609c24a57aee36f024e87ab43ddefafae.tar.bz2
clean up unused html id= and class=
css size increased slightly, but overall pages sizes reduced.
Diffstat (limited to 'site')
-rw-r--r--site/common/snippets/where-share.php2
-rw-r--r--site/contrib/index.php8
-rw-r--r--site/css/main.css8
-rw-r--r--site/download/index.php28
-rw-r--r--site/footer.php2
-rw-r--r--site/index.php22
6 files changed, 29 insertions, 41 deletions
diff --git a/site/common/snippets/where-share.php b/site/common/snippets/where-share.php
index e55a155..9ebbc10 100644
--- a/site/common/snippets/where-share.php
+++ b/site/common/snippets/where-share.php
@@ -1,4 +1,4 @@
- <div class="s">
+ <div>
<h2><?php echo gettext("Where should I host and share my code?"); ?></h2>
<p>
diff --git a/site/contrib/index.php b/site/contrib/index.php
index dbb6bd0..1ad188a 100644
--- a/site/contrib/index.php
+++ b/site/contrib/index.php
@@ -32,9 +32,7 @@
<body>
- <div class="c">
-
- <div id="libreboot" class="s">
+ <div>
<h1><?php echo gettext("Libreboot project maintainers"); ?></h1>
@@ -45,7 +43,7 @@
</div>
- <div class="s">
+ <div>
<h2>Francis Rowe</h2>
<p>
@@ -79,8 +77,6 @@
<?php
include "../footer.php";
?>
-
- </div>
</body>
</html>
diff --git a/site/css/main.css b/site/css/main.css
index e7e36fd..39ce879 100644
--- a/site/css/main.css
+++ b/site/css/main.css
@@ -1,9 +1,9 @@
*,a:hover{color:#222;margin:0;padding:0}
-body{background:#eee;font:.9em lato,sans-serif}
-.c{width:55em}
-.s{background:#fff;padding:.6em;border-radius:.5em;box-shadow:0 0 2px}
+html{background:#eee;font:.9em lato,sans-serif}
+body{width:55em}
+div{background:#fff;padding:.6em;border-radius:.5em;box-shadow:0 0 2px}
ul,li,p{margin:.2em}
li{display:inline;margin-right:1em}
-img,.s,.c{margin:.4em auto}
+img,div,body{margin:.4em auto}
img{width:6.5em;float:right}
a{color:#33a;font-size:110%} \ No newline at end of file
diff --git a/site/download/index.php b/site/download/index.php
index c4c3f4d..06cbabd 100644
--- a/site/download/index.php
+++ b/site/download/index.php
@@ -32,15 +32,13 @@
<body>
- <div class="c">
-
- <div id="libreboot" class="s">
+ <div>
<h1><?php echo gettext("Download libreboot"); ?></h1>
<p><?php echo gettext("Links to HTTP mirrors, rsync mirrors and git repositories. Download libreboot here."); ?></p>
- <ul class="l">
+ <ul>
<li><a href="#archives"><?php echo gettext("Archived releases"); ?></a></li>
<li><a href="#mirror"><?php echo gettext("Rsync mirrors"); ?></a></li>
<li><a href="#git"><?php echo gettext("Git repositories (development)"); ?></a></li>
@@ -52,9 +50,9 @@
</div>
- <div class="s" id="gpg">
+ <div id="gpg">
- <h1 id="gpg"><?php echo gettext("GPG signing key"); ?></h1>
+ <h1><?php echo gettext("GPG signing key"); ?></h1>
<p>
<?php echo $lbProjectGpgKeyInfo; ?>
@@ -81,7 +79,7 @@
</div>
- <div class="s" id="archives">
+ <div id="archives">
<h1><?php echo gettext("Archived releases"); ?></h1>
@@ -114,9 +112,9 @@
</div>
- <div class="s">
+ <div id="mirror">
- <h1 id="mirror"><?php echo gettext("Mirroring libreboot (via rsync)"); ?></h1>
+ <h1><?php echo gettext("Mirroring libreboot (via rsync)"); ?></h1>
<p>
<?php echo gettext("Create a directory in your web server document root (e.g. libreboot/), and add one of these to your crontab:"); ?>
</p>
@@ -131,7 +129,7 @@
</div>
- <div class="s" id="git">
+ <div id="git">
<h1><?php echo gettext("Git repositories (development)"); ?></h1>
@@ -156,7 +154,7 @@
<p>
<?php echo gettext("You might not see a progress bar; it's still cloning, so just be patient."); ?>
</p>
- <ul class="l">
+ <ul>
<li><a href="http://projects.mtjm.eu/projects/libreboot"><?php echo gettext("Bug tracker"); ?></a></li>
</ul>
@@ -188,7 +186,7 @@
</p>
</div>
- <div class="s">
+ <div>
<p>
<?php echo gettext("If you are modifying an existing file, make sure to update the copyright license header in that file; in source files or scripts, this would usually be at the top, and for documentation it is typically at the bottom of the document. It is good practise to use your real name in the commit logs."); ?><br/>
@@ -208,7 +206,7 @@
</div>
- <div class="s">
+ <div>
<p>
<?php echo gettext("The status command will show any untracked files that you have. Add them using <b>git add path/to/file</b>. You should also add any other files that are listed as modified in the git status. If there are deleted files in the git status, you can use <b>git rm path/to/file</b>. As long as you have added all the untracked files, it is generally easier to use:"); ?><br/>
@@ -272,7 +270,7 @@
</div>
- <div class="s" id="trisquel">
+ <div id="trisquel">
<p>
<?php echo gettext("Libreboot includes statically linked executables of utilities built from the libreboot source code. These are built on in Trisquel GNU/Linux. There were links to the Trisquel source ISO here, as a lazy way to provide CCS, but this was inefficient. Archives for only those dependencies that comprise the CCS will be added here later instead. If you need CCS, for now simply contact the libreboot project using the details on the home page, and the source for the version of Trisquel used to build that release (whichever version it is) will be provided. You can also get it on the Trisquel website."); ?>
@@ -283,8 +281,6 @@
<?php
include "../footer.php";
?>
-
- </div>
</body>
</html>
diff --git a/site/footer.php b/site/footer.php
index 724ef40..d8746d2 100644
--- a/site/footer.php
+++ b/site/footer.php
@@ -17,7 +17,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
?>
- <div class="s">
+ <div>
<p>
<?php echo gettext("This page is released under <a href=\"https://www.gnu.org/licenses/agpl-3.0.html\">GNU AGPLv3 or higher</a>, and available in a git repository:"); ?> <a href="<?php echo $lbWebsiteGitwebAddress; ?>"><?php echo gettext("browse the repository"); ?></a>.
</p>
diff --git a/site/index.php b/site/index.php
index 1153cee..5051fe9 100644
--- a/site/index.php
+++ b/site/index.php
@@ -32,9 +32,7 @@
<body>
- <div class="c">
-
- <div id="libreboot" class="s">
+ <div>
<p>
<img src="logo/logo-small.png" alt="" title="<?php include "logo/license.txt"; ?>" />
</p>
@@ -44,7 +42,7 @@
echo gettext("Libreboot is a <a href=\"https://www.fsf.org/about/what-is-free-software\">free</a> (libre) BIOS/UEFI replacement for your computer. Based on <a href=\"http://coreboot.org/\">coreboot</a>, the aim is to distribute low-level boot firmware that is 100% free software, and to make coreboot easy to use.");
?>
</p>
- <ul class="l">
+ <ul>
<li><a href="docs/index.html#why"><?php echo gettext("Why should I use libreboot?"); ?></a></li>
<li><a href="download/#git"><?php echo gettext("How to contribute"); ?></a></li>
<li><a href="docs/tasks.html"><?php echo gettext("List of tasks"); ?></a></li>
@@ -52,9 +50,9 @@
</ul>
</div>
- <div class="s">
+ <div>
<h1><?php echo gettext("Download libreboot"); ?></h1>
- <ul class="l">
+ <ul>
<li><a href="git/rom"><?php echo gettext("ROM images"); ?></a></li>
<li><a href="git/libreboot_util.tar.xz"><?php echo gettext("Utilities"); ?></a></li>
<li><a href="git/libreboot_docs.tar.xz"><?php echo gettext("Documentation (archived)"); ?></a></li>
@@ -62,30 +60,30 @@
<li><a href="git/crossgcc/">crossgcc</a></li>
<li><?php echo gettext("...based on "); ?><a href="<?php echo $lbFirmwareGitwebAddress; ?>;a=commit;h=<?php include "git/commitid"; ?>"><?php echo gettext("this"); ?></a><?php echo gettext(" commit"); ?></li>
</ul>
- <ul class="l">
+ <ul>
<li><a href="git/release.html"><?php echo gettext("List of changes"); ?></a></li>
<li><a href="git/sha512sum.txt"><?php echo gettext("SHA512 manifest"); ?></a></li>
<li><a href="git/sha512sum.txt.sig"><?php echo gettext("SHA512 manifest (GPG signature)"); ?></a></li>
<li><a href="download/#gpg"><?php echo gettext("How to use GPG"); ?></a></li>
</ul>
- <ul class="l">
+ <ul>
<li><?php echo gettext("Other resources:"); ?></li>
<li><a href="download/#archives"><?php echo gettext("Archived releases"); ?></a></li>
<li><a href="download/#git"><?php echo gettext("Git repositories"); ?></a></li>
<li><a href="<?php echo $lbFirmwareGitwebAddress; ?>"><?php echo gettext("Browse the main git repository"); ?></a></li>
</ul>
</div>
- <div class="s">
+ <div>
<h1><?php echo gettext("Useful information"); ?></h1>
- <ul class="l">
+ <ul>
<li><a href="docs/index.html"><?php echo gettext("Documentation"); ?></a></li>
<li><a href="docs/hcl/index.html#supported_list"><?php echo gettext("List of supported systems"); ?></a></li>
<li><a href="docs/install/index.html"><?php echo gettext("How to install libreboot"); ?></a></li>
<li><a href="docs/gnulinux/index.html"><?php echo gettext("How to install GNU/Linux"); ?></a></li>
</ul>
<h2><?php echo gettext("Contact details"); ?></h2>
- <ul class="l">
+ <ul>
<li><a href="contrib/"><?php echo gettext("List of maintainers"); ?></a></li>
<li><a href="<?php echo $userMailingListAddress; ?>"><?php echo gettext("User support mailing list"); ?></a></li>
<li><a href="<?php echo $devMailingListAddress; ?>"><?php echo gettext("Development mailing list"); ?></a></li>
@@ -97,8 +95,6 @@
include "footer.php";
?>
- </div>
-
</body>
</html>
<?php