Merge pull request 'Style <a> normally with inherited color in index' (#17) from change-link-styling into master

Reviewed-on: #17
This commit is contained in:
Benjamin 2023-02-13 17:01:40 +00:00
commit eb6fc18990
2 changed files with 22 additions and 19 deletions

22
cv.css
View file

@ -1,3 +1,25 @@
a {
text-decoration: none;
}
a::after {
/* copied from https://practicaltypography.com/how-to-use.html */
position: relative;
content: "\FEFF°";
margin-left: 0.1em;
font-size: 90%;
top: -0.1em;
color: var(--accent);
font-feature-settings: "caps";
font-variant-numeric: normal;
}
a:hover {
background: var(--hover-background);
transition-property: background;
transition-duration: 0.2s;
}
h3 {
display: flex;
justify-content: space-between;

View file

@ -38,25 +38,6 @@ h3 {
a {
color: inherit;
text-decoration: none;
}
a::after {
/* copied from https://practicaltypography.com/how-to-use.html */
position: relative;
content: "\FEFF°";
margin-left: 0.1em;
font-size: 90%;
top: -0.1em;
color: var(--accent);
font-feature-settings: "caps";
font-variant-numeric: normal;
}
a:hover {
background: var(--hover-background);
transition-property: background;
transition-duration: 0.2s;
}
h2 {