From f722f5295a9264bd64217ee3141f7a5692d1e554 Mon Sep 17 00:00:00 2001 From: Cryptkeeper Date: Sat, 11 Mar 2017 18:52:07 -0600 Subject: [PATCH] Add new percentage bar feature --- assets/css/main.css | 31 ++++++++++++++- assets/html/index.html | 10 ++++- assets/js/site.js | 85 ++++++++++++++++++++++++++++++++++++++++++ assets/js/util.js | 4 ++ 4 files changed, 127 insertions(+), 3 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index 264bb1b..8ffdd24 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -37,12 +37,22 @@ a { #header { background: #EBEBEB; color: #3B3738; - padding: 20px 0; overflow: auto; } +#header .column { + display: inline-block; + float: left; + padding: 20px; +} + +#header .column h1 { + margin: -6px 0; +} + #header .slogan { font-size: 20px; + text-align: left; } #header .subslogan { @@ -242,3 +252,22 @@ h3 { color: #3498db; cursor: pointer; } + +/* Percentage bar */ +#perc-bar { + margin-top: 6px; + width: 650px; + height: 50px; + position: relative; +} + +#perc-bar-text { + +} + +#perc-bar > .perc-bar-part { + height: 100%; + display: inline-block; + position: absolute; + +} diff --git a/assets/html/index.html b/assets/html/index.html index 4012ed3..133d90a 100644 --- a/assets/html/index.html +++ b/assets/html/index.html @@ -20,15 +20,21 @@