Style <a> normally with inherited color in index
This commit is contained in:
parent
29bdef01e2
commit
bef380349d
22
cv.css
22
cv.css
|
|
@ -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;
|
||||
|
|
|
|||
19
style.css
19
style.css
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue