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:
commit
eb6fc18990
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 {
|
h3 {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
|
||||||
19
style.css
19
style.css
|
|
@ -38,25 +38,6 @@ h3 {
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: inherit;
|
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 {
|
h2 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue