From 864b5e043713d9d5a7107e95f2c971bed7b7b466 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sat, 13 May 2017 08:11:39 -0700 Subject: Intuitive header center --- www/global.css | 4 ---- www/headercenter.css | 3 +++ www/headerleft.css | 3 --- www/publish.sh | 4 +++- 4 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 www/headercenter.css delete mode 100644 www/headerleft.css 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="Back to previous index" - OPTS="--css /headerleft.css -T Libreboot" + OPTS="-T Libreboot" +else + OPTS="--css /headercenter.css" fi -- cgit v1.2.3-70-g09d2