Fix link color and hover states

This commit is contained in:
Ben Dwyer 2020-10-05 16:36:10 +01:00
parent 69b3264454
commit 58eb095ec7
5 changed files with 24 additions and 6 deletions

View file

@ -1,7 +1,13 @@
a {
.has-link-color a, a {
border-bottom: none;
transition: all 0.1s ease;
&:hover {
color: var( --global--color-primary-hover );
border-bottom: 1px solid var( --global--color-primary-hover );
}
}
.entry-content a {
font-weight: 500;
}
}

View file

@ -109,8 +109,14 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
width: fit-content;
}
a {
.has-link-color a, a {
border-bottom: none;
transition: all 0.1s ease;
}
.has-link-color a:hover, a:hover {
color: var(--global--color-primary-hover);
border-bottom: 1px solid var(--global--color-primary-hover);
}
.entry-content a {

View file

@ -109,8 +109,14 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
width: fit-content;
}
a {
.has-link-color a, a {
border-bottom: none;
transition: all 0.1s ease;
}
.has-link-color a:hover, a:hover {
color: var(--global--color-primary-hover);
border-bottom: 1px solid var(--global--color-primary-hover);
}
.entry-content a {

View file

@ -11,5 +11,5 @@
"assets/sass/block-extends/_latest-posts.scss"
],
"names": [],
"mappings": "AAAA;;;;;;;;;;;;;EAaE;ACbF;;GAEG;AAEH;;GAEG;AAuEH;;GAEG;AACH,AAAA,KAAK,CAAC;CACL,gCAAgC,CAAA,4CAAC;CACjC,gCAAgC,CAAA,KAAC;CACjC,6BAA6B,CAAA,KAAC;CAC9B,6BAA6B,CAAA,KAAC;CAC9B,wCAAwC,CAAA,6CAAC;CACzC,+BAA+B,CAAA,kCAAC;CAChC,8BAA8B,CAAA,kCAAC;CAC/B;;AAjEC,MAAM,MAAM,MAAM,MAAM,SAAS,EAAE,KAAK;CAoEzC,AAAA,KAAK,CAAC;EACL,gCAAgC,CAAA,oDAAC;EACjC,6BAA6B,CAAA,oDAAC;EAC9B,+BAA+B,CAAA,6DAAC;EAChC,8BAA8B,CAAA,6DAAC;EAC/B;;;AA7DA,MAAM,MAAM,MAAM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8BN,cAAc,EA9BpB,YAAY,GA8BY,GAAG,CAAC;CACpB,MAAM,EAAE,CAAC,CAAC,8CAA+C;CAC5D;;AE5CL,AACI,sBADkB,GAChB,EAAE,GAAG,CAAC,CAAC;CACL,KAAK,EAAE,+BAA+B;CAIzC;;AANL,AAGQ,sBAHc,GAChB,EAAE,GAAG,CAAC,AAEH,MAAM,CAAC;CACJ,KAAK,EAAE,4BAA4B;CACtC"
}

View file

@ -76,7 +76,7 @@
@media ( prefers-color-scheme: dark ) {
:root {
--global--color-primary: #DB0042;
--global--color-primary-hover: #DB0042;
--global--color-primary-hover: #ffffff;
--global--color-secondary: #c0c0c0;
--global--color-secondary-hover: #cccccc;
--global--color-foreground: #f0f0f0;