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 { .navbar__menu a {
color: var(--clr-navbar-link); color: var(--clr-navbar-link);
text-decoration: none; text-decoration: none;
font-weight: 700;
cursor: pointer; cursor: pointer;
display: inline-block; display: inline-block;
} }

View File

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

View File

@ -3,7 +3,8 @@
<li> <li>
<p class="item-list__title"> <p class="item-list__title">
<a href="{{ content.url }}"> <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 %} {% else %}
<code>{{ content.url }}</code> <code>{{ content.url }}</code>
{% endif %} {% endif %}

View File

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

View File

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