]> jfr.im git - irc/freenode/web-7.0.git/commitdiff
first cut of compiling css 15/head
authorEd Kellett <redacted>
Tue, 23 Feb 2016 23:38:08 +0000 (23:38 +0000)
committerEd Kellett <redacted>
Tue, 23 Feb 2016 23:38:47 +0000 (23:38 +0000)
.travis.yml
config.yml
deploy.sh
static/css/source.css [deleted file]
static/css/style.css

index 156730100a5c43e2c4d758ba4db04e10aa23f5d3..8bd6c2ce0d95bb3438414fa03755d07e8f12d027 100644 (file)
@@ -4,6 +4,10 @@ python:
 install: pip install -e git+https://github.com/edk0/cms7.git#egg=cms7
 script: cms7
 before_install:
+- . $HOME/.nvm/nvm.sh
+- nvm install 5.7.0
+- nvm use 5.7.0
+- npm install myth
 - openssl aes-256-cbc -K $encrypted_ac880c30010f_key -iv $encrypted_ac880c30010f_iv
   -in .deploy-key.enc -out .deploy-key -d && chmod go-rwx .deploy-key
 after_success: ./deploy.sh
index cc861622e2ccbc82f66d406e2ed5b02c65e60270..31bc8369097b41668cbc7f8c47e4402a7dac8d22 100644 (file)
@@ -11,3 +11,14 @@ modules:
     id: 'news'
     source: news
     root: news
+resources:
+  - command: [cat]
+    source: static/fonts
+    output: out/static/fonts
+  - command: [cat]
+    source: static/img
+    output: out/static/img
+    recursive: True
+  - command: [myth, --]
+    source: static/css
+    output: out/static/css
index 77724e286ab72f848782abcf69fc3fe222b84c81..1ac3df846abc1df12763f546552fea523a305485 100755 (executable)
--- a/deploy.sh
+++ b/deploy.sh
@@ -11,7 +11,6 @@ git config user.name travis
 git config user.email travis@nowhere
 rm -rf *
 cp -r ../out/* .
-cp -r ../static .
 git add -A
 git commit -m "travis: $TRAVIS_COMMIT"
 git push || exit 1
diff --git a/static/css/source.css b/static/css/source.css
deleted file mode 100644 (file)
index f35dcb7..0000000
+++ /dev/null
@@ -1,372 +0,0 @@
-/* vars */
-:root {
-    --navbar-bg: #fff;
-    --jumbotron-bg: #eee;
-    --jumbotron-bg-fall: 65,225,64;
-    --copyright-bg: 170,178,171;
-    --link-color: 66,139,202;
-    --footer-link-color: 51,51,51;
-    --nlink-col: #000;
-    --text-color: #333;
-    --footer-text-color: 51,51,51;
-    --copyright-text-color: 0,0,0;
-    --jumbotron-text-color: #333;
-    --border-color: 0,0,0;
-    --footer-border-color: 51,51,51;
-    --box-hover-color: #ddd;
-    --box-round: 10px;
-}
-
-/* reset css for browser compat */
-* {
-    margin: 0;
-    padding: 0;
-    box-sizing: border-box;
-}
-
-/* global */
-body {
-    font-family: 'Open Sans';
-    color: var(--text-color);
-    font-size: 14px;
-    min-height: 100vh;
-    height: auto;
-}
-
-a {
-    color: rgb(var(--link-color));
-    text-decoration: none;
-}
-
-/* navbar */
-.navbar {
-    width: 100%;
-    height: 50px;
-    background-color: var(--navbar-bg);
-    position: fixed;
-    left: 0;
-    right: 0;
-    top: 0;
-    display: flex;
-    flex-wrap: nowrap;
-    justify-content: space-between;
-    align-items: center;
-    border-bottom: 1px solid rgba(var(--border-color),.3);
-    z-index: 100;
-}
-
-.nlogo {
-    height: 40px;
-}
-
-.navlinks {
-    display: flex;
-    justify-content: space-around;
-    flex-wrap: nowrap;
-}
-
-.nlink {
-    text-decoration: none;
-    color: var(--nlink-col);
-}
-
-/* main */
-.container {
-    padding: 50px 0 0;
-    width: 100%;
-    min-height: 68vh;
-}
-
-.main {
-    margin-left: .5em;
-    margin-top: 1em;
-    margin-bottom: 1em;
-}
-
-/* jumbotron */
-.jumbotron {
-    position: relative;
-    width: 100%;
-    margin-top: -16px;
-    background: #000;
-    background: var(--jumbotron-bg);
-    box-shadow: 0 3px 5px rgba(150,150,150,.36);
-    color: var(--jumbotron-text-color);
-}
-
-.child {
-    text-align: center;
-    margin: .5em;
-    font-size: 32px;
-    line-height: 48px;
-}
-
-.box-container {
-    display: flex;
-    flex-wrap: wrap;
-    justify-content: space-around;
-    align-items: stretch;
-}
-
-.box {
-    text-align: left;
-    text-decoration: none;
-    color: var(--text-color);
-    margin-bottom: 5px;
-    padding: 5px;
-    flex-basis: 30%;
-    background-color: #fff;
-    border-radius: var(--box-round);
-    -webkit-border-radius: var(--box-round);
-    -moz-border-radius: var(--box-round);
-}
-
-.box:hover,.box:active {
-    background-color: var(--box-hover-color);
-}
-
-.box div{
-    font-size: 28px;
-    line-height: 28px;
-    padding-left: 8px;
-    font-weight: 700;
-    position: relative;
-    display: inline;
-    top: -10px;
-}
-
-.fa-users {
-    margin-top: 5px;
-}
-
-.fa-comment,.fa-question {
-    margin-bottom: 5px;
-}
-
-.fa-4x {
-    padding-left: 8px;
-}
-
-.title {
-    text-align: center;
-}
-
-/* articles feed */
-h1 {
-    margin: 0;
-}
-
-div.art {
-    border-bottom: 1px solid rgba(var(--border-color),.3);
-}
-
-div.art:last-child {
-    border-bottom: none;
-}
-
-b.art {
-    margin-bottom: 0;
-    font-size: 18px;
-}
-
-p.art {
-    margin: 0;
-}
-
-p.art-ingress {
-    font-style: italic;
-    margin: 0;
-}
-
-.art-date {
-    color: #ccc;
-    margin: 0;
-}
-
-p.heading {
-    white-space: nowrap;
-}
-
-p.art-link {
-    margin-top: 0;
-}
-
-/* Article */
-.art-full h1,
-.art-full h2,
-.art-full h3,
-.art-full h4 {}
-
-/* help */
-.hmain {
-    display: flex;
-    flex-wrap: wrap;
-    justify-content: space-around;
-    align-items: stretch;
-}
-
-a.hchild {
-    color: var(--text-color);
-/*height: 40px;*/
-    width: 95%;
-    text-align: center;
-    border-top: 1px solid rgba(var(--border-color),.6);
-    border-left: 1px solid rgba(var(--border-color),.6);
-    border-right: 1px solid rgba(var(--border-color),.6);
-}
-
-a.hchild:hover,a.hchild:active {
-    background-color: var(--box-hover-color);
-}
-
-.hchild:first-child {
-    margin-top: 10px;
-    -webkit-border-top-left-radius: var(--box-round);
-    -webkit-border-top-right-radius: var(--box-round);
-    -moz-border-radius-topleft: var(--box-round);
-    -moz-border-radius-topright: var(--box-round);
-    border-top-left-radius: var(--box-round);
-    border-top-right-radius: var(--box-round);
-}
-
-.hchild:last-child {
-    margin-bottom: 10px;
-    border-bottom: 1px solid rgba(var(--border-color),.6);
-    -webkit-border-bottom-right-radius: var(--box-round);
-    -webkit-border-bottom-left-radius: var(--box-round);
-    -moz-border-radius-bottomright: var(--box-round);
-    -moz-border-radius-bottomleft: var(--box-round);
-    border-bottom-right-radius: var(--box-round);
-    border-bottom-left-radius: var(--box-round);
-}
-
-/* footer */
-.footers {
-    min-height: 30vh;
-}
-
-.footer {
-    background: var(--jumbotron-bg);
-    color: rgba(var(--footer-text-color),.9);
-    margin-top: 2vh;
-    display: flex;
-    flex-wrap: nowrap;
-    min-height: 27vh;
-    justify-content: space-between;
-    align-items: flex-start;
-    box-shadow: 0 -3px 5px rgba(150,150,150,.36);
-}
-
-.footerchild {
-    margin-top: .5em;
-}
-
-.footer a {
-    color: #000;
-}
-
-.footer h2 {
-    margin-bottom: 9px;
-    display: inline-block;
-}
-
-.footerchild ul,.footerchild ul ul {
-    margin-left: 10px;
-    margin-right: 10px;
-    list-style-type: none;
-}
-
-.footerchild ul ul {
-    padding-left: 30px;
-}
-
-@media all and (max-width: 500px) {
-    .footer {
-        flex-direction: column;
-    }
-
-    .footerchild {
-        width: 100%;
-    }
-
-    .footerchild ul li:last-child {
-        margin-bottom: .5em;
-    }
-
-    .hdn {
-        display: none;
-    }
-
-    .box {
-        text-align: center;
-    }
-
-    .child {
-        font-size: 20px;
-        line-height: 30px;
-        padding: 10px 0 5px;
-    }
-
-    .fa-4x {
-        padding: 0;
-        margin: 0;
-    }
-
-    .box div {
-        position: relative;
-        top: initial;
-        font-size: 16px;
-        font-weight: normal;
-        line-height: 16px;
-        padding: 10px 0;
-        display: block;
-    }
-}
-
-.footer h2,.footer h3 {
-    margin-left: 10px;
-    margin-right: 10px;
-}
-
-.copyright {
-    display: flex;
-    flex-wrap: nowrap;
-    justify-content: space-between;
-    align-items: center;
-    background: rgba(var(--copyright-bg),.5);
-    height: 3vh;
-    color: rgba(var(--copyright-text-color),.8);
-}
-
-a.copyright {
-    background: rgba(var(--copyright-bg),.5);
-    margin-bottom: 0;
-    margin-top: 0;
-    margin-left: .5em;
-    margin-right: .5em;
-    width: auto;
-    height: auto;
-}
-
-.copyright a img {
-    height: 3vh;
-    width: auto;
-}
-
-.copyright p {
-    margin-bottom: 0;
-    margin-top: 0;
-    margin-left: .5em;
-    margin-right: .5em;
-    text-align: right;
-}
-
-@media all and (max-width: 500px) {
-    .copyright {
-        height: 5vh;
-    }
-
-    .copyright a img {
-        height: 5vh;
-    }
-}
index df7fc4c33158db000513d4283d339ad596641860..f35dcb7451da4a8fd7befbb427fb70ed13022ea9 100644 (file)
 /* vars */
+:root {
+    --navbar-bg: #fff;
+    --jumbotron-bg: #eee;
+    --jumbotron-bg-fall: 65,225,64;
+    --copyright-bg: 170,178,171;
+    --link-color: 66,139,202;
+    --footer-link-color: 51,51,51;
+    --nlink-col: #000;
+    --text-color: #333;
+    --footer-text-color: 51,51,51;
+    --copyright-text-color: 0,0,0;
+    --jumbotron-text-color: #333;
+    --border-color: 0,0,0;
+    --footer-border-color: 51,51,51;
+    --box-hover-color: #ddd;
+    --box-round: 10px;
+}
 
 /* reset css for browser compat */
-
 * {
-  margin: 0;
-  padding: 0;
-  box-sizing: border-box;
+    margin: 0;
+    padding: 0;
+    box-sizing: border-box;
 }
 
 /* global */
-
 body {
-  font-family: 'Open Sans';
-  color: #333;
-  font-size: 14px;
-  min-height: 100vh;
-  height: auto;
+    font-family: 'Open Sans';
+    color: var(--text-color);
+    font-size: 14px;
+    min-height: 100vh;
+    height: auto;
 }
 
 a {
-  color: rgb(66,139,202);
-  text-decoration: none;
+    color: rgb(var(--link-color));
+    text-decoration: none;
 }
 
 /* navbar */
-
 .navbar {
-  width: 100%;
-  height: 50px;
-  background-color: #fff;
-  position: fixed;
-  left: 0;
-  right: 0;
-  top: 0;
-  display: -webkit-box;
-  display: -webkit-flex;
-  display: -ms-flexbox;
-  display: flex;
-  -webkit-flex-wrap: nowrap;
-  -ms-flex-wrap: nowrap;
-  flex-wrap: nowrap;
-  -webkit-box-pack: justify;
-  -webkit-justify-content: space-between;
-  -ms-flex-pack: justify;
-  justify-content: space-between;
-  -webkit-box-align: center;
-  -webkit-align-items: center;
-  -ms-flex-align: center;
-  align-items: center;
-  border-bottom: 1px solid rgba(0,0,0,.3);
-  z-index: 100;
+    width: 100%;
+    height: 50px;
+    background-color: var(--navbar-bg);
+    position: fixed;
+    left: 0;
+    right: 0;
+    top: 0;
+    display: flex;
+    flex-wrap: nowrap;
+    justify-content: space-between;
+    align-items: center;
+    border-bottom: 1px solid rgba(var(--border-color),.3);
+    z-index: 100;
 }
 
 .nlogo {
-  height: 40px;
+    height: 40px;
 }
 
 .navlinks {
-  display: -webkit-box;
-  display: -webkit-flex;
-  display: -ms-flexbox;
-  display: flex;
-  -webkit-justify-content: space-around;
-  -ms-flex-pack: distribute;
-  justify-content: space-around;
-  -webkit-flex-wrap: nowrap;
-  -ms-flex-wrap: nowrap;
-  flex-wrap: nowrap;
+    display: flex;
+    justify-content: space-around;
+    flex-wrap: nowrap;
 }
 
 .nlink {
-  text-decoration: none;
-  color: #000;
+    text-decoration: none;
+    color: var(--nlink-col);
 }
 
 /* main */
-
 .container {
-  padding: 50px 0 0;
-  width: 100%;
-  min-height: 68vh;
+    padding: 50px 0 0;
+    width: 100%;
+    min-height: 68vh;
 }
 
 .main {
-  margin-left: .5em;
-  margin-top: 1em;
-  margin-bottom: 1em;
+    margin-left: .5em;
+    margin-top: 1em;
+    margin-bottom: 1em;
 }
 
 /* jumbotron */
-
 .jumbotron {
-  position: relative;
-  width: 100%;
-  margin-top: -16px;
-  background: #000;
-  background: #eee;
-  box-shadow: 0 3px 5px rgba(150,150,150,.36);
-  color: #333;
+    position: relative;
+    width: 100%;
+    margin-top: -16px;
+    background: #000;
+    background: var(--jumbotron-bg);
+    box-shadow: 0 3px 5px rgba(150,150,150,.36);
+    color: var(--jumbotron-text-color);
 }
 
 .child {
-  text-align: center;
-  margin: .5em;
-  font-size: 32px;
-  line-height: 48px;
+    text-align: center;
+    margin: .5em;
+    font-size: 32px;
+    line-height: 48px;
 }
 
 .box-container {
-  display: -webkit-box;
-  display: -webkit-flex;
-  display: -ms-flexbox;
-  display: flex;
-  -webkit-flex-wrap: wrap;
-  -ms-flex-wrap: wrap;
-  flex-wrap: wrap;
-  -webkit-justify-content: space-around;
-  -ms-flex-pack: distribute;
-  justify-content: space-around;
-  -webkit-box-align: stretch;
-  -webkit-align-items: stretch;
-  -ms-flex-align: stretch;
-  align-items: stretch;
+    display: flex;
+    flex-wrap: wrap;
+    justify-content: space-around;
+    align-items: stretch;
 }
 
 .box {
-  text-align: left;
-  text-decoration: none;
-  color: #333;
-  margin-bottom: 5px;
-  padding: 5px;
-  -webkit-flex-basis: 30%;
-  -ms-flex-preferred-size: 30%;
-  flex-basis: 30%;
-  background-color: #fff;
-  border-radius: 10px;
-  -webkit-border-radius: 10px;
-  -moz-border-radius: 10px;
-}
-
-.box:hover,
-.box:active {
-  background-color: #ddd;
-}
-
-.box div {
-  font-size: 28px;
-  line-height: 28px;
-  padding-left: 8px;
-  font-weight: 700;
-  position: relative;
-  display: inline;
-  top: -10px;
+    text-align: left;
+    text-decoration: none;
+    color: var(--text-color);
+    margin-bottom: 5px;
+    padding: 5px;
+    flex-basis: 30%;
+    background-color: #fff;
+    border-radius: var(--box-round);
+    -webkit-border-radius: var(--box-round);
+    -moz-border-radius: var(--box-round);
+}
+
+.box:hover,.box:active {
+    background-color: var(--box-hover-color);
+}
+
+.box div{
+    font-size: 28px;
+    line-height: 28px;
+    padding-left: 8px;
+    font-weight: 700;
+    position: relative;
+    display: inline;
+    top: -10px;
 }
 
 .fa-users {
-  margin-top: 5px;
+    margin-top: 5px;
 }
 
-.fa-comment,
-.fa-question {
-  margin-bottom: 5px;
+.fa-comment,.fa-question {
+    margin-bottom: 5px;
 }
 
 .fa-4x {
-  padding-left: 8px;
+    padding-left: 8px;
 }
 
 .title {
-  text-align: center;
+    text-align: center;
 }
 
 /* articles feed */
-
 h1 {
-  margin: 0;
+    margin: 0;
 }
 
 div.art {
-  border-bottom: 1px solid rgba(0,0,0,.3);
+    border-bottom: 1px solid rgba(var(--border-color),.3);
 }
 
 div.art:last-child {
-  border-bottom: none;
+    border-bottom: none;
 }
 
 b.art {
-  margin-bottom: 0;
-  font-size: 18px;
+    margin-bottom: 0;
+    font-size: 18px;
 }
 
 p.art {
-  margin: 0;
+    margin: 0;
 }
 
 p.art-ingress {
-  font-style: italic;
-  margin: 0;
+    font-style: italic;
+    margin: 0;
 }
 
 .art-date {
-  color: #ccc;
-  margin: 0;
+    color: #ccc;
+    margin: 0;
 }
 
 p.heading {
-  white-space: nowrap;
+    white-space: nowrap;
 }
 
 p.art-link {
-  margin-top: 0;
+    margin-top: 0;
 }
 
 /* Article */
+.art-full h1,
+.art-full h2,
+.art-full h3,
+.art-full h4 {}
 
 /* help */
-
 .hmain {
-  display: -webkit-box;
-  display: -webkit-flex;
-  display: -ms-flexbox;
-  display: flex;
-  -webkit-flex-wrap: wrap;
-  -ms-flex-wrap: wrap;
-  flex-wrap: wrap;
-  -webkit-justify-content: space-around;
-  -ms-flex-pack: distribute;
-  justify-content: space-around;
-  -webkit-box-align: stretch;
-  -webkit-align-items: stretch;
-  -ms-flex-align: stretch;
-  align-items: stretch;
+    display: flex;
+    flex-wrap: wrap;
+    justify-content: space-around;
+    align-items: stretch;
 }
 
 a.hchild {
-  color: #333;
-  /*height: 40px;*/
-  width: 95%;
-  text-align: center;
-  border-top: 1px solid rgba(0,0,0,.6);
-  border-left: 1px solid rgba(0,0,0,.6);
-  border-right: 1px solid rgba(0,0,0,.6);
+    color: var(--text-color);
+/*height: 40px;*/
+    width: 95%;
+    text-align: center;
+    border-top: 1px solid rgba(var(--border-color),.6);
+    border-left: 1px solid rgba(var(--border-color),.6);
+    border-right: 1px solid rgba(var(--border-color),.6);
 }
 
-a.hchild:hover,
-a.hchild:active {
-  background-color: #ddd;
+a.hchild:hover,a.hchild:active {
+    background-color: var(--box-hover-color);
 }
 
 .hchild:first-child {
-  margin-top: 10px;
-  -webkit-border-top-left-radius: 10px;
-  -webkit-border-top-right-radius: 10px;
-  -moz-border-radius-topleft: 10px;
-  -moz-border-radius-topright: 10px;
-  border-top-left-radius: 10px;
-  border-top-right-radius: 10px;
+    margin-top: 10px;
+    -webkit-border-top-left-radius: var(--box-round);
+    -webkit-border-top-right-radius: var(--box-round);
+    -moz-border-radius-topleft: var(--box-round);
+    -moz-border-radius-topright: var(--box-round);
+    border-top-left-radius: var(--box-round);
+    border-top-right-radius: var(--box-round);
 }
 
 .hchild:last-child {
-  margin-bottom: 10px;
-  border-bottom: 1px solid rgba(0,0,0,.6);
-  -webkit-border-bottom-right-radius: 10px;
-  -webkit-border-bottom-left-radius: 10px;
-  -moz-border-radius-bottomright: 10px;
-  -moz-border-radius-bottomleft: 10px;
-  border-bottom-right-radius: 10px;
-  border-bottom-left-radius: 10px;
+    margin-bottom: 10px;
+    border-bottom: 1px solid rgba(var(--border-color),.6);
+    -webkit-border-bottom-right-radius: var(--box-round);
+    -webkit-border-bottom-left-radius: var(--box-round);
+    -moz-border-radius-bottomright: var(--box-round);
+    -moz-border-radius-bottomleft: var(--box-round);
+    border-bottom-right-radius: var(--box-round);
+    border-bottom-left-radius: var(--box-round);
 }
 
 /* footer */
-
 .footers {
-  min-height: 30vh;
+    min-height: 30vh;
 }
 
 .footer {
-  background: #eee;
-  color: rgba(51,51,51,.9);
-  margin-top: 2vh;
-  display: -webkit-box;
-  display: -webkit-flex;
-  display: -ms-flexbox;
-  display: flex;
-  -webkit-flex-wrap: nowrap;
-  -ms-flex-wrap: nowrap;
-  flex-wrap: nowrap;
-  min-height: 27vh;
-  -webkit-box-pack: justify;
-  -webkit-justify-content: space-between;
-  -ms-flex-pack: justify;
-  justify-content: space-between;
-  -webkit-box-align: start;
-  -webkit-align-items: flex-start;
-  -ms-flex-align: start;
-  align-items: flex-start;
-  box-shadow: 0 -3px 5px rgba(150,150,150,.36);
+    background: var(--jumbotron-bg);
+    color: rgba(var(--footer-text-color),.9);
+    margin-top: 2vh;
+    display: flex;
+    flex-wrap: nowrap;
+    min-height: 27vh;
+    justify-content: space-between;
+    align-items: flex-start;
+    box-shadow: 0 -3px 5px rgba(150,150,150,.36);
 }
 
 .footerchild {
-  margin-top: .5em;
+    margin-top: .5em;
 }
 
 .footer a {
-  color: #000;
+    color: #000;
 }
 
 .footer h2 {
-  margin-bottom: 9px;
-  display: inline-block;
+    margin-bottom: 9px;
+    display: inline-block;
 }
 
-.footerchild ul,
-.footerchild ul ul {
-  margin-left: 10px;
-  margin-right: 10px;
-  list-style-type: none;
+.footerchild ul,.footerchild ul ul {
+    margin-left: 10px;
+    margin-right: 10px;
+    list-style-type: none;
 }
 
 .footerchild ul ul {
-  padding-left: 30px;
+    padding-left: 30px;
 }
 
 @media all and (max-width: 500px) {
-  .footer {
-    -webkit-box-orient: vertical;
-    -webkit-box-direction: normal;
-    -webkit-flex-direction: column;
-    -ms-flex-direction: column;
-    flex-direction: column;
-  }
-
-  .footerchild {
-    width: 100%;
-  }
+    .footer {
+        flex-direction: column;
+    }
 
-  .footerchild ul li:last-child {
-    margin-bottom: .5em;
-  }
+    .footerchild {
+        width: 100%;
+    }
 
-  .hdn {
-    display: none;
-  }
+    .footerchild ul li:last-child {
+        margin-bottom: .5em;
+    }
 
-  .box {
-    text-align: center;
-  }
+    .hdn {
+        display: none;
+    }
 
-  .child {
-    font-size: 20px;
-    line-height: 30px;
-    padding: 10px 0 5px;
-  }
+    .box {
+        text-align: center;
+    }
 
-  .fa-4x {
-    padding: 0;
-    margin: 0;
-  }
+    .child {
+        font-size: 20px;
+        line-height: 30px;
+        padding: 10px 0 5px;
+    }
 
-  .box div {
-    position: relative;
-    top: initial;
-    font-size: 16px;
-    font-weight: normal;
-    line-height: 16px;
-    padding: 10px 0;
-    display: block;
-  }
+    .fa-4x {
+        padding: 0;
+        margin: 0;
+    }
+
+    .box div {
+        position: relative;
+        top: initial;
+        font-size: 16px;
+        font-weight: normal;
+        line-height: 16px;
+        padding: 10px 0;
+        display: block;
+    }
 }
 
-.footer h2,
-.footer h3 {
-  margin-left: 10px;
-  margin-right: 10px;
+.footer h2,.footer h3 {
+    margin-left: 10px;
+    margin-right: 10px;
 }
 
 .copyright {
-  display: -webkit-box;
-  display: -webkit-flex;
-  display: -ms-flexbox;
-  display: flex;
-  -webkit-flex-wrap: nowrap;
-  -ms-flex-wrap: nowrap;
-  flex-wrap: nowrap;
-  -webkit-box-pack: justify;
-  -webkit-justify-content: space-between;
-  -ms-flex-pack: justify;
-  justify-content: space-between;
-  -webkit-box-align: center;
-  -webkit-align-items: center;
-  -ms-flex-align: center;
-  align-items: center;
-  background: rgba(170,178,171,.5);
-  height: 3vh;
-  color: rgba(0,0,0,.8);
+    display: flex;
+    flex-wrap: nowrap;
+    justify-content: space-between;
+    align-items: center;
+    background: rgba(var(--copyright-bg),.5);
+    height: 3vh;
+    color: rgba(var(--copyright-text-color),.8);
 }
 
 a.copyright {
-  background: rgba(170,178,171,.5);
-  margin-bottom: 0;
-  margin-top: 0;
-  margin-left: .5em;
-  margin-right: .5em;
-  width: auto;
-  height: auto;
+    background: rgba(var(--copyright-bg),.5);
+    margin-bottom: 0;
+    margin-top: 0;
+    margin-left: .5em;
+    margin-right: .5em;
+    width: auto;
+    height: auto;
 }
 
 .copyright a img {
-  height: 3vh;
-  width: auto;
+    height: 3vh;
+    width: auto;
 }
 
 .copyright p {
-  margin-bottom: 0;
-  margin-top: 0;
-  margin-left: .5em;
-  margin-right: .5em;
-  text-align: right;
+    margin-bottom: 0;
+    margin-top: 0;
+    margin-left: .5em;
+    margin-right: .5em;
+    text-align: right;
 }
 
 @media all and (max-width: 500px) {
-  .copyright {
-    height: 5vh;
-  }
-
-  .copyright a img {
-    height: 5vh;
-  }
-}
\ No newline at end of file
+    .copyright {
+        height: 5vh;
+    }
+
+    .copyright a img {
+        height: 5vh;
+    }
+}