Skip to content

Commit

Permalink
Tweak hyperlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
awadell1 committed Nov 7, 2023
1 parent 04cfc91 commit 018466d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@

<!-- /.row -->

{% assign numposts = site.posts | size %}
{% if numposts >= 1 %}
<div id="news" class="container mb-5">
<h2>News</h2>
<hr>
<ul class="news list-unstyled">
{% for post in site.posts limit: site.news.front_page_limit %}
{% include news-item.html item=post %}
{% endfor %}
</ul>
{% assign numposts = site.posts | size %}
{% if numposts >= 1 %}
<p>
<span class="fa fa-fw fa-history"></span>
<a href="{{ site.baseurl }}/news.html">Older posts&hellip;</a>
</p>
{% endif %}
</div>
{% endif %}
14 changes: 14 additions & 0 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,20 @@ $on-laptop: 800px;
}
}

// Ensure hyperlinks are readable on dark backgrounds
.text-white {
a {
color: #FFCB05

}
}
// Change link color in paragraphs to be noticeable
p {
a{
color: #2F65A7;
}
}

//@import "bootstrap/bootstrap/bootstrap.css";
@import "bootstrap/functions";
@import "bootstrap/variables";
Expand Down

0 comments on commit 018466d

Please sign in to comment.