2017-05-27 19:43:27 +02:00
|
|
|
body {
|
2018-03-01 07:38:29 +01:00
|
|
|
margin-top: 20px;
|
|
|
|
margin-bottom: 64px;
|
|
|
|
margin-left: 64px;
|
|
|
|
margin-right: 64px;
|
2017-05-27 19:43:27 +02:00
|
|
|
font-family: -apple-system;
|
|
|
|
font-size: 18px;
|
2019-08-14 05:07:42 +02:00
|
|
|
word-wrap: break-word; /* break long words or URLs */
|
2017-05-27 19:43:27 +02:00
|
|
|
}
|
2018-07-22 04:55:07 +02:00
|
|
|
|
2017-05-27 19:43:27 +02:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2018-07-22 04:55:07 +02:00
|
|
|
.feedlink {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2018-03-01 07:38:29 +01:00
|
|
|
.headerTable {
|
|
|
|
width: 100%;
|
|
|
|
height: 68px;
|
2018-07-22 04:55:07 +02:00
|
|
|
}
|
|
|
|
|
2018-09-15 03:00:51 +02:00
|
|
|
.systemMessage {
|
|
|
|
position: absolute;
|
|
|
|
top: 45%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translateX(-55%) translateY(-50%);
|
|
|
|
}
|
|
|
|
|
2019-04-01 16:44:43 +02:00
|
|
|
:root {
|
|
|
|
--body-color: #444;
|
|
|
|
--body-background-color: -apple-system-text-background;
|
|
|
|
--link-color: hsla(215, 99%, 43%, 1);
|
|
|
|
--header-table-border-color: rgba(0, 0, 0, 0.1);
|
|
|
|
--header-color: rgba(0, 0, 0, 0.3);
|
|
|
|
--header-link-color: rgba(0, 0, 0, 0.3);
|
|
|
|
--body-code-color: #666;
|
|
|
|
--system-message-color: #cbcbcb;
|
|
|
|
--feedlink-color: rgba(0, 0, 0, 0.6);
|
2020-01-21 04:50:25 +01:00
|
|
|
--table-cell-border-color: lightgray;
|
2019-04-01 16:44:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@media(prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
--body-color: #d2d2d2;
|
|
|
|
--body-background-color: #2d2d2d;
|
|
|
|
--link-color: #4490e2;
|
|
|
|
--header-table-border-color: rgba(255, 255, 255, 0.1);
|
|
|
|
--header-color: #d2d2d2;
|
|
|
|
--header-link-color: #4490e2;
|
|
|
|
--body-code-color: #b2b2b2;
|
2020-01-21 04:50:25 +01:00
|
|
|
--system-message-color: #5f5f5f;
|
|
|
|
--table-cell-border-color: dimgray;
|
2019-04-01 16:44:43 +02:00
|
|
|
}
|
2018-08-29 06:32:11 +02:00
|
|
|
}
|
|
|
|
|
2019-04-01 16:44:43 +02:00
|
|
|
body {
|
|
|
|
color: var(--body-color);
|
|
|
|
background-color: var(--body-background-color);
|
2018-09-15 03:25:32 +02:00
|
|
|
}
|
|
|
|
|
2019-04-01 16:44:43 +02:00
|
|
|
body a, body a:link, body a:visited {
|
|
|
|
color: var(--link-color);
|
2018-07-22 04:55:07 +02:00
|
|
|
}
|
2019-04-01 16:44:43 +02:00
|
|
|
body .headerTable {
|
|
|
|
border-bottom: 1px solid var(--header-table-border-color);
|
2017-05-27 19:43:27 +02:00
|
|
|
}
|
2019-04-01 16:44:43 +02:00
|
|
|
body .header {
|
|
|
|
color: var(--header-color);
|
2018-08-29 06:32:11 +02:00
|
|
|
}
|
2019-04-01 16:44:43 +02:00
|
|
|
body .header a:link, body .header a:visited {
|
|
|
|
color: var(--header-link-color);
|
2017-05-27 19:43:27 +02:00
|
|
|
}
|
2019-04-01 16:44:43 +02:00
|
|
|
body .articleDateline, body .articleDateLine.a:link, body .articleDateline a:visited {
|
|
|
|
color: var(--header-color);
|
2018-08-29 06:32:11 +02:00
|
|
|
}
|
|
|
|
|
2019-04-01 16:44:43 +02:00
|
|
|
body code, body pre {
|
|
|
|
color: var(--body-code-color);
|
2019-02-15 15:34:12 +01:00
|
|
|
}
|
|
|
|
|
2019-04-01 16:44:43 +02:00
|
|
|
body > .systemMessage {
|
|
|
|
color: var(--system-message-color);
|
2018-09-15 03:25:32 +02:00
|
|
|
}
|
|
|
|
|
2018-03-01 07:38:29 +01:00
|
|
|
.feedlink a:link, .feedlink a:visited {
|
2019-04-01 16:44:43 +02:00
|
|
|
color: var(--feed-link-color);
|
2017-12-29 21:21:19 +01:00
|
|
|
}
|
2018-03-01 07:38:29 +01:00
|
|
|
.avatar img {
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
.feedIcon {
|
2018-02-24 08:00:28 +01:00
|
|
|
border-radius: 4px;
|
2017-12-29 21:21:19 +01:00
|
|
|
}
|
2017-12-30 02:10:50 +01:00
|
|
|
.rightAlign {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
.leftAlign {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2018-03-01 07:38:29 +01:00
|
|
|
|
2017-12-30 03:14:16 +01:00
|
|
|
.articleTitle {
|
2018-03-01 07:38:29 +01:00
|
|
|
margin-top: 26px;
|
2017-12-30 02:10:50 +01:00
|
|
|
}
|
2018-03-01 07:38:29 +01:00
|
|
|
|
|
|
|
.articleDateline {
|
|
|
|
margin-bottom: 25px;
|
|
|
|
font-weight: bold;
|
2017-12-30 02:10:50 +01:00
|
|
|
}
|
2018-03-01 07:38:29 +01:00
|
|
|
|
|
|
|
.articleBody {
|
|
|
|
line-height: 1.6em;
|
2017-12-29 21:21:19 +01:00
|
|
|
}
|
2017-05-27 19:43:27 +02:00
|
|
|
h1 {
|
|
|
|
line-height: 1.15em;
|
2018-02-24 21:47:07 +01:00
|
|
|
font-weight: bold;
|
2017-05-27 19:43:27 +02:00
|
|
|
}
|
2019-10-04 01:27:48 +02:00
|
|
|
pre {
|
|
|
|
max-width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
overflow: auto;
|
|
|
|
overflow-y: hidden;
|
|
|
|
line-height: 20px;
|
|
|
|
border: 1px solid #777;
|
|
|
|
word-wrap: normal;
|
2019-10-07 18:05:22 +02:00
|
|
|
padding: 10px;
|
2019-10-04 01:27:48 +02:00
|
|
|
}
|
2017-05-27 19:43:27 +02:00
|
|
|
code, pre {
|
|
|
|
font-family: "SF Mono", Menlo, "Courier New", Courier, monospace;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2020-01-21 04:50:25 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
Instead of the last-child bits, border-collapse: collapse
|
|
|
|
could have been used. However, then the inter-cell borders
|
|
|
|
overlap the table border, which looks bad.
|
|
|
|
*/
|
|
|
|
.nnw-overflow table {
|
|
|
|
margin-bottom: 1px;
|
|
|
|
border-spacing: 0;
|
|
|
|
border: 1px solid #777;
|
|
|
|
}
|
|
|
|
.nnw-overflow td, .nnw-overflow th {
|
|
|
|
-webkit-hyphens: none;
|
|
|
|
word-break: normal;
|
|
|
|
border: 1px solid var(--table-cell-border-color);
|
|
|
|
border-top: none;
|
|
|
|
border-left: none;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
.nnw-overflow tr td:last-child, .nnw-overflow tr th:last-child {
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
.nnw-overflow tr:last-child td, .nnw-overflow tr:last-child th {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
.nnw-overflow td pre {
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2020-01-17 20:17:38 +01:00
|
|
|
img, figure, iframe, div {
|
2017-05-27 19:43:27 +02:00
|
|
|
max-width: 100%;
|
2019-09-05 19:59:16 +02:00
|
|
|
height: auto !important;
|
2019-09-04 11:19:50 +02:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2020-01-17 20:17:38 +01:00
|
|
|
video {
|
|
|
|
width: 100% !important;
|
|
|
|
height: auto !important;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2019-09-04 11:19:50 +02:00
|
|
|
figcaption {
|
|
|
|
font-size: 14px;
|
2019-09-04 11:51:47 +02:00
|
|
|
line-height: 1.3em;
|
2017-05-27 19:43:27 +02:00
|
|
|
}
|
|
|
|
|
2019-10-09 07:15:49 +02:00
|
|
|
sup {
|
|
|
|
vertical-align: top;
|
|
|
|
position: relative;
|
|
|
|
bottom: 0.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
sub {
|
|
|
|
vertical-align: bottom;
|
|
|
|
position: relative;
|
|
|
|
top: 0.2rem;
|
|
|
|
}
|
|
|
|
|
2019-09-21 02:21:01 +02:00
|
|
|
.iframeWrap {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
padding-top: 56.25%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.iframeWrap iframe {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
height: 100% !important;
|
|
|
|
width: 100% !important;
|
|
|
|
}
|
|
|
|
|
2017-05-27 19:43:27 +02:00
|
|
|
/*Block ads and junk*/
|
|
|
|
|
|
|
|
iframe[src*="feedads"],
|
|
|
|
iframe[src*="doubleclick"],
|
|
|
|
iframe[src*="plusone.google"] {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
a[href*=".ads."],
|
|
|
|
a[href*="feedads"],
|
|
|
|
a[href*="doubleclick"],
|
|
|
|
a[href*="//ads."],
|
|
|
|
a[href*="api.tweetmeme"],
|
|
|
|
a[href*="delicious.com/post?"],
|
|
|
|
a[href*="digg.com/submit?"],
|
|
|
|
a[href*="google.com/bookmarks/mark?"],
|
|
|
|
a[href*="posterous.com/share?"],
|
|
|
|
a[href*="tumblr.com/share?"],
|
|
|
|
a[href*="linkedin.com/shareArticle?"],
|
|
|
|
a[href*="facebook.com/share.php?"],
|
|
|
|
a[href*="http://twitter.com/home?"],
|
|
|
|
a[href*="addtoany.com/share_save"] {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
img[src*=".ads."],
|
|
|
|
img[src*="//ads."],
|
|
|
|
img[src*="doubleclick"],
|
|
|
|
img[src*="feedads"],
|
|
|
|
img[src*="feedburner"],
|
2018-02-24 22:37:47 +01:00
|
|
|
img[src*="feedblitz"],
|
2017-05-27 19:43:27 +02:00
|
|
|
img[src*="share-buttons"] {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2019-09-22 04:06:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* Newsfoot specific styles. Structural styles come first, theme styles second */
|
|
|
|
.newsfoot-footnote-container {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
2020-01-17 22:25:27 +01:00
|
|
|
z-index: 9999;
|
2019-09-22 04:06:51 +02:00
|
|
|
}
|
|
|
|
.newsfoot-footnote-popover {
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
padding: 0em 1em;
|
|
|
|
margin: 1em;
|
|
|
|
left: -11em;
|
|
|
|
right: -11em;
|
2019-09-23 10:25:00 +02:00
|
|
|
top: 0.75em;
|
2019-09-22 04:06:51 +02:00
|
|
|
max-width: none;
|
|
|
|
border-radius: 0.3em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2019-09-23 10:25:00 +02:00
|
|
|
.newsfoot-footnote-popover-arrow {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
width: 1em;
|
|
|
|
position: absolute;
|
|
|
|
top: -0.5em;
|
|
|
|
left: calc(50% - 0.5em);
|
|
|
|
height: 1em !important;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
z-index:0;
|
|
|
|
}
|
|
|
|
.newsfoot-footnote-popover-inner {
|
|
|
|
border-radius: calc(0.3em - 1px);
|
|
|
|
padding: 1em;
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.newsfoot-footnote-popover-inner :first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.newsfoot-footnote-popover-inner :last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2019-09-26 10:20:53 +02:00
|
|
|
.newsfoot-footnote-popover .reversefootnote,
|
|
|
|
.newsfoot-footnote-popover .footnoteBackLink,
|
|
|
|
.newsfoot-footnote-popover .footnote-return {
|
2019-09-23 09:56:58 +02:00
|
|
|
display: none;
|
|
|
|
}
|
2019-09-26 10:20:53 +02:00
|
|
|
|
|
|
|
sup[id^='fn'] {
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
|
|
|
|
2020-02-24 19:14:44 +01:00
|
|
|
a.footnote {
|
2019-09-22 04:06:51 +02:00
|
|
|
display: inline-block;
|
|
|
|
text-decoration: none;
|
|
|
|
padding: 0.05em 0.75em;
|
|
|
|
border-radius: 1em;
|
|
|
|
min-width: 1em;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 0.8em;
|
|
|
|
line-height: 1em;
|
|
|
|
position:relative;
|
|
|
|
top: -0.1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* light / default */
|
|
|
|
.newsfoot-footnote-popover {
|
2019-09-23 10:25:00 +02:00
|
|
|
background: #ccc;
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 3px 6px rgba(0, 0, 0, 0.25);
|
2019-09-22 04:06:51 +02:00
|
|
|
color: black;
|
2019-09-23 10:25:00 +02:00
|
|
|
padding: 1px;
|
|
|
|
}
|
|
|
|
.newsfoot-footnote-popover-arrow {
|
|
|
|
background: #fafafa;
|
2019-09-22 04:06:51 +02:00
|
|
|
border: 1px solid #ccc;
|
|
|
|
}
|
2019-09-23 10:25:00 +02:00
|
|
|
.newsfoot-footnote-popover-inner {
|
|
|
|
background: #fafafa;
|
|
|
|
}
|
2019-09-22 04:06:51 +02:00
|
|
|
body a.footnote,
|
2019-09-23 10:25:00 +02:00
|
|
|
body a.footnote:visited,
|
2020-02-24 19:14:44 +01:00
|
|
|
.newsfoot-footnote-popover + a.footnote:hover {
|
2019-09-22 04:06:51 +02:00
|
|
|
background: #aaa;
|
|
|
|
color: white;
|
|
|
|
transition: background-color 200ms ease-out;
|
|
|
|
}
|
2019-09-23 10:25:00 +02:00
|
|
|
a.footnote:hover,
|
2020-02-24 19:14:44 +01:00
|
|
|
.newsfoot-footnote-popover + a.footnote {
|
2019-09-22 04:06:51 +02:00
|
|
|
background: #666;
|
|
|
|
transition: background-color 200ms ease-out;
|
|
|
|
}
|
2019-09-23 10:38:46 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* dark */
|
|
|
|
@media screen and (prefers-color-scheme: dark) {
|
|
|
|
.newsfoot-footnote-popover {
|
|
|
|
background: #444;
|
|
|
|
color: rgb(224, 224, 224);
|
|
|
|
}
|
|
|
|
.newsfoot-footnote-popover-arrow {
|
|
|
|
background: #242424;
|
|
|
|
border: 1px solid #444;
|
|
|
|
}
|
|
|
|
.newsfoot-footnote-popover-inner {
|
|
|
|
background: #242424;
|
|
|
|
}
|
|
|
|
body a.footnote,
|
|
|
|
body a.footnote:visited,
|
2020-02-24 19:14:44 +01:00
|
|
|
.newsfoot-footnote-popover + a.footnote:hover {
|
2019-09-23 10:38:46 +02:00
|
|
|
background: #aaa;
|
|
|
|
color: white;
|
|
|
|
transition: background-color 200ms ease-out;
|
|
|
|
}
|
|
|
|
a.footnote:hover,
|
2020-02-24 19:14:44 +01:00
|
|
|
.newsfoot-footnote-popover + a.footnote {
|
2019-09-23 10:38:46 +02:00
|
|
|
background: #666;
|
|
|
|
transition: background-color 200ms ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|