aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-05-13 08:11:39 -0700
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-05-13 08:11:39 -0700
commit864b5e043713d9d5a7107e95f2c971bed7b7b466 (patch)
tree2edc9eb9395a728762d12923c02c48c67a8447dc /www
parent0c4c92626aed7ae4055d45eb2bfacef2c292e643 (diff)
downloadlibrebootfr-864b5e043713d9d5a7107e95f2c971bed7b7b466.tar.gz
librebootfr-864b5e043713d9d5a7107e95f2c971bed7b7b466.zip
Intuitive header center
Diffstat (limited to 'www')
-rw-r--r--www/global.css4
-rw-r--r--www/headercenter.css3
-rw-r--r--www/headerleft.css3
-rwxr-xr-xwww/publish.sh4
4 files changed, 6 insertions, 8 deletions
diff --git a/www/global.css b/www/global.css
index fb265cd8..1029dc30 100644
--- a/www/global.css
+++ b/www/global.css
@@ -16,10 +16,6 @@ body {
font-size: 1.1em; color: #222;
}
-header {
- text-align: center;
-}
-
#logo {
width: 20%;
float: right;
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..7f68d5ae 100755
--- a/www/publish.sh
+++ b/www/publish.sh
@@ -35,7 +35,9 @@ 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