FluentReader/dist/article/article.css

61 lines
1.0 KiB
CSS
Raw Normal View History

2020-06-06 13:48:08 +02:00
html, body {
font-family: "Segoe UI Regular", "Source Han Sans SC Regular", "Microsoft YaHei", sans-serif;
2020-06-07 07:03:19 +02:00
}
html {
overflow: hidden scroll;
}
body {
margin: 12px 96px 32px;
2020-06-11 07:35:14 +02:00
--gray: #484644;
--primary: #0078d4;
--primary-alt: #004578;
}
body.dark {
color: #f8f8f8;
--gray: #a19f9d;
--primary: #3a96dd;
--primary-alt: #4ba0e1;
2020-06-06 13:48:08 +02:00
}
a {
2020-06-11 07:35:14 +02:00
color: var(--primary);
2020-06-06 13:48:08 +02:00
text-decoration: none;
}
a:hover, a:active {
2020-06-11 07:35:14 +02:00
color: var(--primary-alt);
2020-06-06 13:48:08 +02:00
text-decoration: underline;
}
2020-06-08 10:54:53 +02:00
#main {
max-width: 700px;
margin: 0 auto;
}
2020-06-06 13:48:08 +02:00
#main > p.title {
font-size: 1.25rem;
line-height: 1.75rem;
font-weight: 600;
2020-06-07 11:45:47 +02:00
margin-block-end: 0;
}
#main > p.date {
2020-06-11 07:35:14 +02:00
color: var(--gray);
2020-06-07 11:45:47 +02:00
font-size: .875rem;
2020-06-06 13:48:08 +02:00
}
article {
line-height: 1.6;
}
2020-06-07 11:45:47 +02:00
article * {
2020-06-06 13:48:08 +02:00
max-width: 100%;
2020-06-07 07:03:19 +02:00
}
article img {
2020-06-06 13:48:08 +02:00
height: auto;
}
article figure {
margin: 16px 0;
text-align: center;
}
article figure figcaption {
font-size: .875rem;
2020-06-11 07:35:14 +02:00
color: var(--gray);
2020-06-07 11:45:47 +02:00
-webkit-user-modify: read-only;
2020-06-06 13:48:08 +02:00
}