2022-04-07 00:10:46 +08:00
|
|
|
// IMPORTANT: This stylesheet needs to work for super old browsers, including those
|
|
|
|
// without support for `var()`. Therefore every color definition needs to define a simple
|
|
|
|
// value first, as a fallback
|
|
|
|
|
2022-04-07 00:22:21 +08:00
|
|
|
body.crawler,
|
|
|
|
body > noscript {
|
2022-04-06 06:47:19 +08:00
|
|
|
font-family: serif;
|
|
|
|
a {
|
|
|
|
// we want all links to look like links
|
|
|
|
color: blue !important;
|
2022-04-07 00:10:46 +08:00
|
|
|
color: var(--tertiary) !important;
|
2022-04-06 06:47:19 +08:00
|
|
|
text-decoration: underline !important;
|
|
|
|
}
|
2016-11-15 04:32:59 +08:00
|
|
|
> header {
|
2022-04-06 06:47:19 +08:00
|
|
|
// site header
|
|
|
|
box-sizing: border-box;
|
2016-11-15 04:32:59 +08:00
|
|
|
width: 100%;
|
|
|
|
top: 0;
|
|
|
|
background-color: #fff;
|
2022-04-07 00:10:46 +08:00
|
|
|
background-color: var(--header_background);
|
2016-11-15 04:32:59 +08:00
|
|
|
padding: 10px;
|
2019-06-03 10:03:16 +08:00
|
|
|
box-shadow: none;
|
2022-04-06 06:47:19 +08:00
|
|
|
border-bottom: 1px solid #eee;
|
2022-04-07 00:10:46 +08:00
|
|
|
border-bottom: 1px solid var(--header_primary-medium);
|
2016-11-15 04:32:59 +08:00
|
|
|
}
|
2019-06-03 10:03:16 +08:00
|
|
|
|
2020-04-30 17:07:51 +08:00
|
|
|
.header-buttons {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-04-06 06:47:19 +08:00
|
|
|
// topic list
|
|
|
|
|
2016-11-16 04:18:38 +08:00
|
|
|
div#main-outlet {
|
2022-04-02 23:47:01 +08:00
|
|
|
padding: 10px;
|
2016-11-16 04:18:38 +08:00
|
|
|
div.post {
|
2019-05-02 13:00:29 +08:00
|
|
|
word-break: break-word;
|
2016-11-16 04:18:38 +08:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
2019-06-03 10:03:16 +08:00
|
|
|
height: auto;
|
2016-11-16 04:18:38 +08:00
|
|
|
}
|
|
|
|
}
|
2016-11-15 04:32:59 +08:00
|
|
|
}
|
2019-06-03 10:03:16 +08:00
|
|
|
|
|
|
|
.topic-list {
|
2022-01-07 09:32:06 +08:00
|
|
|
table-layout: fixed;
|
|
|
|
overflow: hidden;
|
2022-04-06 06:47:19 +08:00
|
|
|
margin: 2em 0;
|
|
|
|
|
|
|
|
thead {
|
|
|
|
border-bottom: 1px solid #ddd;
|
2022-04-07 00:10:46 +08:00
|
|
|
border-bottom: 1px solid var(--primary_low);
|
2022-04-06 06:47:19 +08:00
|
|
|
th {
|
|
|
|
padding: 0 0 0.5em;
|
|
|
|
}
|
|
|
|
th:first-of-type {
|
|
|
|
width: 40%;
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 500px) {
|
|
|
|
th {
|
|
|
|
&.replies,
|
|
|
|
&.views {
|
|
|
|
width: 10%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
th:first-of-type {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
th:last-of-type {
|
|
|
|
width: 15%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-02 23:47:01 +08:00
|
|
|
td {
|
|
|
|
padding: 10px 0;
|
|
|
|
&.posters {
|
|
|
|
padding: 10px 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
th:first-of-type {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
2022-04-06 06:47:19 +08:00
|
|
|
|
2020-05-23 12:56:13 +08:00
|
|
|
@media (max-width: 850px) {
|
2022-04-02 23:47:01 +08:00
|
|
|
table-layout: auto;
|
2020-05-23 12:56:13 +08:00
|
|
|
td {
|
|
|
|
word-break: break-all;
|
|
|
|
&.posters {
|
|
|
|
a:not(:last-of-type) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
a:last-of-type {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
&.views {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-top-line {
|
|
|
|
a.title {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-bottom-line {
|
|
|
|
margin-top: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
2019-06-03 23:52:20 +08:00
|
|
|
|
2022-04-06 06:47:19 +08:00
|
|
|
.topic-list-item {
|
|
|
|
border-bottom: 1px solid #eee;
|
2022-04-07 00:10:46 +08:00
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2022-04-06 06:47:19 +08:00
|
|
|
> * {
|
|
|
|
padding: 0.75em 0;
|
|
|
|
}
|
|
|
|
td.main-link {
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
|
|
|
}
|
2019-06-03 23:52:20 +08:00
|
|
|
}
|
2020-04-30 02:40:21 +08:00
|
|
|
|
2020-05-12 01:37:50 +08:00
|
|
|
.topic-category {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2022-04-06 06:47:19 +08:00
|
|
|
.topic-list-main-link a.title,
|
|
|
|
.topic-list .main-link a.title,
|
|
|
|
.latest-topic-list-item .main-link a.title {
|
|
|
|
padding: 0;
|
2020-04-30 02:40:21 +08:00
|
|
|
}
|
2019-06-03 10:03:16 +08:00
|
|
|
|
2022-04-06 06:47:19 +08:00
|
|
|
.topic-list .link-bottom-line {
|
|
|
|
margin-top: 0.25em;
|
2020-04-09 05:29:13 +08:00
|
|
|
}
|
|
|
|
|
2022-04-06 06:47:19 +08:00
|
|
|
// topics
|
2019-06-03 10:03:16 +08:00
|
|
|
|
2022-04-06 06:47:19 +08:00
|
|
|
div#main-outlet {
|
|
|
|
div.post {
|
|
|
|
word-break: break-word;
|
2022-07-13 11:59:16 +08:00
|
|
|
overflow: auto;
|
|
|
|
max-width: 100%;
|
2022-04-06 06:47:19 +08:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.crawler-post {
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
padding-top: 1.5em;
|
|
|
|
border-top: 1px solid #eee;
|
2022-04-07 00:10:46 +08:00
|
|
|
border-top: 1px solid var(--primary-low);
|
2022-04-06 06:47:19 +08:00
|
|
|
}
|
2019-06-03 10:03:16 +08:00
|
|
|
|
2022-04-06 06:47:19 +08:00
|
|
|
.crawler-post-meta {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
.creator {
|
|
|
|
word-break: break-all;
|
|
|
|
a {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
@include breakpoint(tablet) {
|
|
|
|
display: inline-block;
|
|
|
|
margin-bottom: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.crawler-post-infos {
|
|
|
|
color: #666;
|
|
|
|
display: inline-block;
|
|
|
|
@include breakpoint(tablet, min-width) {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
[itemprop="position"] {
|
|
|
|
float: left;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.crawler-linkback-list {
|
|
|
|
margin-top: 1em;
|
2016-11-15 04:32:59 +08:00
|
|
|
a {
|
2022-04-06 06:47:19 +08:00
|
|
|
display: block;
|
|
|
|
padding: 0.5em 0;
|
|
|
|
border-top: 1px solid #ddd;
|
2022-04-07 00:10:46 +08:00
|
|
|
border-top: 1px solid var(--primary-low);
|
2019-06-03 10:03:16 +08:00
|
|
|
}
|
2022-04-06 06:47:19 +08:00
|
|
|
}
|
|
|
|
|
2022-07-13 11:59:16 +08:00
|
|
|
.tag-crawler {
|
|
|
|
.tag-box {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-06 06:47:19 +08:00
|
|
|
#topic-title {
|
|
|
|
> * {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
h1 {
|
|
|
|
font-size: 2em;
|
2019-06-03 10:03:16 +08:00
|
|
|
margin-bottom: 0.25em;
|
2016-11-15 04:32:59 +08:00
|
|
|
}
|
|
|
|
}
|
2019-06-03 10:03:16 +08:00
|
|
|
|
2022-04-06 06:47:19 +08:00
|
|
|
.poll-info {
|
|
|
|
// crawler vote count always shows 0
|
|
|
|
display: none;
|
2019-06-03 10:03:16 +08:00
|
|
|
}
|
2022-04-06 06:47:19 +08:00
|
|
|
|
|
|
|
pre,
|
|
|
|
code,
|
|
|
|
blockquote,
|
|
|
|
aside.quote .title {
|
|
|
|
background: #eee;
|
2022-04-07 00:10:46 +08:00
|
|
|
background: var(--primary-low);
|
2019-06-03 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
2022-04-06 06:47:19 +08:00
|
|
|
.md-table {
|
|
|
|
tr {
|
|
|
|
border: 1px solid #ddd;
|
2022-04-07 00:10:46 +08:00
|
|
|
border: 1px solid var(--primary-low);
|
2022-04-06 06:47:19 +08:00
|
|
|
}
|
|
|
|
th {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
padding: 0.25em;
|
|
|
|
border-right: 1px solid #ddd;
|
2022-04-07 00:10:46 +08:00
|
|
|
border-right: 1px solid var(--primary-low);
|
2022-04-06 06:47:19 +08:00
|
|
|
}
|
2019-06-03 10:03:16 +08:00
|
|
|
}
|
|
|
|
|
2022-04-06 06:47:19 +08:00
|
|
|
// footer
|
|
|
|
|
|
|
|
footer {
|
|
|
|
margin-top: 2em;
|
2019-06-03 10:03:16 +08:00
|
|
|
}
|
2022-04-06 06:47:19 +08:00
|
|
|
|
|
|
|
.noscript-footer-nav {
|
|
|
|
margin-top: 4em;
|
|
|
|
a {
|
|
|
|
margin-right: 0.25em;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2019-06-03 10:03:16 +08:00
|
|
|
}
|
2022-04-06 06:47:19 +08:00
|
|
|
|
|
|
|
#noscript-footer {
|
|
|
|
padding: 0 10px;
|
|
|
|
text-align: center;
|
2019-06-03 10:03:16 +08:00
|
|
|
}
|
2022-02-12 05:38:10 +08:00
|
|
|
|
2022-04-06 06:47:19 +08:00
|
|
|
.crawler-nav {
|
|
|
|
margin: 1em 0;
|
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0.5em 1em 0.5em 0;
|
|
|
|
}
|
|
|
|
}
|
2022-02-12 05:38:10 +08:00
|
|
|
}
|