Skip to content

Commit 55222a9

Browse files
committed
Move link styling to nimitta.scss for global coverage
The previous fix in content-perma.scss only applied to content pages, not tag pages. Move the .copyright div a override into nimitta.scss (inside .content_links) so it applies everywhere. Revert content-perma.scss to its original state. Signed-off-by: Tim Ren <137012659+xr843@users.noreply.github.com>
1 parent 8f114e6 commit 55222a9

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎_sass/nimitta.scss‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,11 @@ h1.overlay-into-banner {
540540
a {
541541
font-family: $ui-font-family;
542542
}
543+
.copyright div a {
544+
font-family: inherit;
545+
text-decoration: underline;
546+
color: inherit;
547+
}
543548
}
544549

545550
main header.post-header {
@@ -636,4 +641,4 @@ ol {
636641
font-size: 14px;
637642
}
638643
}
639-
}
644+
}

‎assets/css/content-perma.scss‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,6 @@ div.content_links {
147147
padding: 5px;
148148
border-radius: 3px;
149149
font-size: 96%;
150-
a {
151-
text-decoration: underline;
152-
color: inherit;
153-
font-family: inherit;
154-
}
155150
}
156151
}
157152

0 commit comments

Comments
 (0)