mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-23 16:20:53 +01:00
Revise external link so that it now looks like part of the article header
This commit is contained in:
parent
8db9f073bc
commit
f00a0d17de
@ -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 {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user