aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorLeah Rowe <info@minifree.org>2017-05-14 17:28:13 +0000
committerGogs <gogitservice@gmail.com>2017-05-14 17:28:13 +0000
commiteb6d021a63628ae15b20cefdcf59beacfb22e17d (patch)
treef6ab146f168fa918a2911039fe4658ee111c1767 /www
parent9d0d0a0b9e00876605acfcc918948dbacb4a1a0f (diff)
parentb08bbfcfab2f87e550573c49d08f3bcaf20ac4db (diff)
downloadlibrebootfr-eb6d021a63628ae15b20cefdcf59beacfb22e17d.tar.gz
librebootfr-eb6d021a63628ae15b20cefdcf59beacfb22e17d.zip
Merge branch 'docs/upgrade-fake-tocs' of libreboot/libreboot into master
Diffstat (limited to 'www')
-rw-r--r--www/footer.md7
-rw-r--r--www/global.css13
-rw-r--r--www/headercenter.css3
-rw-r--r--www/headerleft.css3
-rwxr-xr-xwww/publish.sh12
5 files changed, 17 insertions, 21 deletions
diff --git a/www/footer.md b/www/footer.md
new file mode 100644
index 00000000..dfddfd75
--- /dev/null
+++ b/www/footer.md
@@ -0,0 +1,7 @@
+
+[License](/docs/fdl-1.3.md) --
+[Template](/license.md) --
+[Authors](/contrib.md) --
+[Conduct Guidelines](/conduct.md) --
+[Management Guidelines](/management.md) --
+[Peers Community](https://peers.community/) --
diff --git a/www/global.css b/www/global.css
index fb265cd8..b325ef31 100644
--- a/www/global.css
+++ b/www/global.css
@@ -13,11 +13,8 @@ body {
body {
line-height: 1.6;
font-family: Cantarell, sans-serif;
- font-size: 1.1em; color: #222;
-}
-
-header {
- text-align: center;
+ font-size: 1.1em;
+ color: #222;
}
#logo {
@@ -38,14 +35,10 @@ a:hover {
display: block;
}
-h1, h2, h3 {
+h1, h2, h3, .h:hover a {
display: inline;
}
.h a {
display: none;
}
-
-.h:hover a {
- display: inline;
-}
diff --git a/www/headercenter.css b/www/headercenter.css
new file mode 100644
index 00000000..6b8c294c
--- /dev/null
+++ b/www/headercenter.css
@@ -0,0 +1,3 @@
+header {
+ text-align: center;
+}
diff --git a/www/headerleft.css b/www/headerleft.css
deleted file mode 100644
index 645ab4ea..00000000
--- a/www/headerleft.css
+++ /dev/null
@@ -1,3 +0,0 @@
-header {
- text-align: left !important;
-}
diff --git a/www/publish.sh b/www/publish.sh
index 6ca0fcbc..e75ec332 100755
--- a/www/publish.sh
+++ b/www/publish.sh
@@ -35,18 +35,14 @@ if [ "${FILE}" != "./index" ]; then
fi
RETURN="<a href='$DEST'>Back to previous index</a>"
- OPTS="--css /headerleft.css -T Libreboot"
+ OPTS="-T Libreboot"
+else
+ OPTS="--css /headercenter.css"
fi
if [ "${FILE}" != "./docs/fdl-1.3" ] && [ "${FILE}" != "./conduct" ]; then
- echo "" >> temp.md
- printf "[License](/docs/fdl-1.3.md) --\n" >> temp.md
- printf "[Template](/license.md) --\n" >> temp.md
- printf "[Authors](/contrib.md) --\n" >> temp.md
- printf "[Conduct Guidelines](/conduct.md) --\n" >> temp.md
- printf "[Management Guidelines](/management.md) --\n" >> temp.md
- printf "[Peers Community](https://peers.community/) \n" >> temp.md
+ cat footer.md >> temp.md
fi
# change out .md -> .html