mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-11 09:14:06 +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 {
|
if displayLink.count > 40 {
|
||||||
displayLink = displayLink.prefix(40).appending("...")
|
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>"
|
let externalLinkString = "\(regarding): <a href=\"\(externalLink)\">\(displayLink)</a>"
|
||||||
d["external_link"] = externalLinkString
|
d["external_link"] = externalLinkString
|
||||||
} else {
|
} else {
|
||||||
|
@ -78,10 +78,6 @@ body > .systemMessage {
|
|||||||
color: var(--feedlink-color);
|
color: var(--feedlink-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.externalLink {
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.avatar img {
|
.avatar img {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
@ -102,7 +98,7 @@ body > .systemMessage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.articleDateline {
|
.articleDateline {
|
||||||
margin-bottom: 25px;
|
margin-bottom: 5px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -111,7 +107,7 @@ body > .systemMessage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.articleDatelineTitle {
|
.articleDatelineTitle {
|
||||||
margin-bottom: 25px;
|
margin-bottom: 5px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -119,9 +115,16 @@ body > .systemMessage {
|
|||||||
color: var(--article-title-color);
|
color: var(--article-title-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.externalLink {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
.articleBody {
|
.articleBody {
|
||||||
|
margin-top: 20px;
|
||||||
line-height: 1.6em;
|
line-height: 1.6em;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
line-height: 1.15em;
|
line-height: 1.15em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
Loading…
Reference in New Issue
Block a user