mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-08 08:37:53 +00:00
Simplify the style of <a>
This commit is contained in:
parent
55fce7574c
commit
a34b77969f
@ -394,7 +394,6 @@ footer {
|
|||||||
word-spacing: 1px;
|
word-spacing: 1px;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@extend %link-color;
|
|
||||||
@extend %link-underline;
|
@extend %link-underline;
|
||||||
|
|
||||||
&:not(:last-child) {
|
&:not(:last-child) {
|
||||||
@ -456,12 +455,7 @@ footer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
blockquote & {
|
|
||||||
color: var(--link-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
&:not(.img-link) {
|
&:not(.img-link) {
|
||||||
@extend %link-color;
|
|
||||||
@extend %link-underline;
|
@extend %link-underline;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
@ -121,12 +121,12 @@ code {
|
|||||||
background-color: var(--inline-code-bg);
|
background-color: var(--inline-code-bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
@at-root a > &.highlighter-rouge {
|
a > &.highlighter-rouge {
|
||||||
padding-bottom: 0; // show link's underlinke
|
padding-bottom: 0; // show link's underlinke
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@at-root a:hover > &.highlighter-rouge {
|
a:hover > &.highlighter-rouge {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user