Revise external link so that it now looks like part of the article header

This commit is contained in:
Maurice Parker 2020-11-20 02:51:06 -06:00
parent 8db9f073bc
commit f00a0d17de
2 changed files with 10 additions and 7 deletions

View File

@ -158,7 +158,7 @@ private extension ArticleRenderer {
if displayLink.count > 40 {
displayLink = displayLink.prefix(40).appending("...")
}
let regarding = NSLocalizedString("Regarding", comment: "Regarding")
let regarding = NSLocalizedString("Link", comment: "Link")
let externalLinkString = "\(regarding): <a href=\"\(externalLink)\">\(displayLink)</a>"
d["external_link"] = externalLinkString
} else {

View File

@ -78,10 +78,6 @@ body > .systemMessage {
color: var(--feedlink-color);
}
.externalLink {
font-style: italic;
}
.avatar img {
border-radius: 4px;
}
@ -102,7 +98,7 @@ body > .systemMessage {
}
.articleDateline {
margin-bottom: 25px;
margin-bottom: 5px;
font-weight: bold;
}
@ -111,7 +107,7 @@ body > .systemMessage {
}
.articleDatelineTitle {
margin-bottom: 25px;
margin-bottom: 5px;
font-weight: bold;
}
@ -119,9 +115,16 @@ body > .systemMessage {
color: var(--article-title-color);
}
.externalLink {
margin-bottom: 5px;
font-style: italic;
}
.articleBody {
margin-top: 20px;
line-height: 1.6em;
}
h1 {
line-height: 1.15em;
font-weight: bold;