From d1de57c0e72a92a8c31e50aa75591182c0a7c37f Mon Sep 17 00:00:00 2001 From: clenk Date: Thu, 23 Feb 2017 10:58:25 -0500 Subject: [PATCH] Improve stylings --- _includes/header.html | 8 +++++--- _sass/_base.scss | 8 ++++++-- stix/about.md | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/_includes/header.html b/_includes/header.html index 55aa674..736c21f 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -47,9 +47,11 @@ {% for pg in site.pages %} {% unless (pg.categories contains 'taxii' or pg.categories contains 'stix') %} -
  • - {% include page-link.html p=pg %} -
  • + {% if pg.title or pg.short_title %} +
  • + {% include page-link.html p=pg %} +
  • + {% endif %} {% endunless %} {% endfor %} diff --git a/_sass/_base.scss b/_sass/_base.scss index 9ad0589..815bd53 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -125,7 +125,7 @@ h1, h2, h3, h4, h5, h6 { .jumbotron { padding-top: 20px; padding-bottom: 20px; - background-color: #4E9BE1; + background-color: lighten($brand-color, 9%); } .jumbotron h1 { @@ -158,7 +158,7 @@ a { } &:hover { - color: $text-color; + color: lighten($brand-color, 10%); text-decoration: underline; } } @@ -166,6 +166,10 @@ a { .btn-spec { font-size: 17px; margin: 10px 0; + + &:visited { + color: $background-color; + } } diff --git a/stix/about.md b/stix/about.md index 6f45d1c..e4b15e2 100644 --- a/stix/about.md +++ b/stix/about.md @@ -33,7 +33,7 @@ Complete information for STIX 2.0 is available on the [OASIS Cyber Threat Intell ## STIX 2.0 -
    +
    ![STIX 2.0 Architecture]({{ site.baseurl }}/img/stix2_architecture2.png){: .figure-img .img-fluid}