Adjust link styles

This commit is contained in:
Helen Chong 2024-12-02 15:29:20 +08:00
parent 01d0636609
commit f719fae18e
5 changed files with 6 additions and 7 deletions

View File

@ -46,6 +46,7 @@
.navbar__menu a {
color: var(--clr-navbar-link);
text-decoration: none;
font-weight: 700;
cursor: pointer;
display: inline-block;
}

View File

@ -10,6 +10,7 @@
.top-btn:hover {
color: var(--clr-top-btn-txt);
text-decoration: none;
font-weight: 700;
}
.top-btn {

View File

@ -3,7 +3,8 @@
<li>
<p class="item-list__title">
<a href="{{ content.url }}">
{% if content.data.title %}{{ content.data.title | safe }}
{% if content.data.pageTitle %}{{ content.data.pageTitle | safe }}
{% elif content.data.title %}{{ content.data.title | safe }}
{% else %}
<code>{{ content.url }}</code>
{% endif %}

View File

@ -35,11 +35,7 @@ strong { color: var(--clr-bold-txt); }
:focus { outline: 0.15em solid currentColor; }
a {
font-weight: 700;
color: var(--clr-link);
}
a { color: var(--clr-link); }
a:hover { color: var(--clr-link-hover); }
a:not([class]):focus { outline: 0.15rem solid var(--clr-link); }
a:hover img, a:focus img { outline: 0.2em solid currentColor; }

View File

@ -13,7 +13,7 @@
--clr-sub-heading: #e8b86f;
--clr-title-border: #d3aad5;
--clr-bold-txt: #ff9933;
--clr-link: #ED64F5;
--clr-link: #f98bff;
--clr-link-hover: #c355c9;
--clr-quote-bg: #13092D;
--clr-quote-border: #999999;