From a45afc090add26c932c418e7b0f8adbee7fb2fbd Mon Sep 17 00:00:00 2001 From: eupiteco Date: Sun, 19 Aug 2018 21:48:45 -0300 Subject: [PATCH] fixed alert color issues and added a jumbotron --- _layouts/components.html | 3 +++ _site/assets/styles/components.scss | 13 +++++++++++++ _site/assets/styles/layout.scss | 9 +++++++++ _site/assets/styles/main.css | 6 ++++++ _site/components/index.html | 29 +++++++++++++++++++++++++++++ assets/styles/components.scss | 13 +++++++++++++ assets/styles/layout.scss | 9 +++++++++ components.md | 1 + 8 files changed, 83 insertions(+) diff --git a/_layouts/components.html b/_layouts/components.html index 006785b..e87b842 100644 --- a/_layouts/components.html +++ b/_layouts/components.html @@ -38,6 +38,9 @@ {% include components/navbar.html %}
+ {% include components/jumbotron.html %} +
+
{% include components/paginate.html %}
diff --git a/_site/assets/styles/components.scss b/_site/assets/styles/components.scss index cf79536..bd635fc 100644 --- a/_site/assets/styles/components.scss +++ b/_site/assets/styles/components.scss @@ -189,6 +189,19 @@ } } +.btn-white { + color: $primary !important; + background-color: $oc-white !important; + border-color: transparent !important; + padding: 1rem 1.5rem !important; + font-size: 1rem; + &:hover { + color: $oc-white !important; + background-color: $secondary !important; + border-color: transparent !important; + } +} + .btn-small { background-color: $primary !important; border-color: transparent !important; diff --git a/_site/assets/styles/layout.scss b/_site/assets/styles/layout.scss index 3e45704..323a9c4 100644 --- a/_site/assets/styles/layout.scss +++ b/_site/assets/styles/layout.scss @@ -165,6 +165,15 @@ background-color: #f1f3f5 !important; } +.bg { + &-primary { + background-color: $primary !important; + } + &-secondary { + background-color: $secondary !important; + } +} + .b-border { border-bottom: 2px solid lightgrey !important; } diff --git a/_site/assets/styles/main.css b/_site/assets/styles/main.css index 07744b4..b1f0cfb 100644 --- a/_site/assets/styles/main.css +++ b/_site/assets/styles/main.css @@ -59,6 +59,9 @@ .bg-box { background-color: #f1f3f5 !important; } +.bg-primary { background-color: #4661A9 !important; } +.bg-secondary { background-color: #60AB60 !important; } + .b-border { border-bottom: 2px solid lightgrey !important; } .color { height: 100px; } @@ -146,6 +149,9 @@ h4.header-display::before { height: 2.25rem; transform: translate(-15px, 0.5625r .btn-primary { background-color: #4661A9 !important; border-color: transparent !important; padding: 1rem 1.5rem !important; font-size: 1rem; } .btn-primary:hover { background-color: #60AB60 !important; border-color: transparent !important; } +.btn-white { color: #4661A9 !important; background-color: #ffffff !important; border-color: transparent !important; padding: 1rem 1.5rem !important; font-size: 1rem; } +.btn-white:hover { color: #ffffff !important; background-color: #60AB60 !important; border-color: transparent !important; } + .btn-small { background-color: #4661A9 !important; border-color: transparent !important; padding: .08rem .4rem 0 !important; font-size: .8rem; color: #ffffff; } .btn-small:hover { background-color: #60AB60 !important; border-color: transparent !important; } diff --git a/_site/components/index.html b/_site/components/index.html index 66dd955..26c2482 100644 --- a/_site/components/index.html +++ b/_site/components/index.html @@ -117,6 +117,12 @@ +
  • + Jumbotron +
  • + + +
  • Pagination
  • @@ -393,6 +399,29 @@
    + +
    +
    +

    Jumbotron

    +
    +
    +
    +
    +
    + +
    +
    +

    Privacy in numbers

    +

    Protect communication from dragnet surveillance and monitoring.

    +
    + Download I2P +
    +
    +
    +
    +
    +
    +