2020-07-16 09:01:40 +02:00
|
|
|
@import "../styles/scroll.css";
|
|
|
|
|
2021-08-21 23:49:56 +02:00
|
|
|
html,
|
|
|
|
body {
|
2021-12-16 03:14:43 +01:00
|
|
|
margin: 0;
|
2022-06-08 20:37:20 +02:00
|
|
|
font-family: "Segoe UI", "Source Han Sans Regular", sans-serif;
|
2020-06-07 07:03:19 +02:00
|
|
|
}
|
2021-12-16 03:14:43 +01:00
|
|
|
body {
|
|
|
|
padding: 12px 96px 32px;
|
2020-06-07 07:03:19 +02:00
|
|
|
overflow: hidden scroll;
|
|
|
|
}
|
2021-12-16 03:14:43 +01:00
|
|
|
body.rtl {
|
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
body.vertical {
|
|
|
|
padding: 32px;
|
|
|
|
padding-right: 96px;
|
|
|
|
writing-mode: vertical-rl;
|
|
|
|
overflow: scroll hidden;
|
|
|
|
}
|
|
|
|
|
2020-06-12 04:18:44 +02:00
|
|
|
:root {
|
2020-06-11 07:35:14 +02:00
|
|
|
--gray: #484644;
|
|
|
|
--primary: #0078d4;
|
|
|
|
--primary-alt: #004578;
|
|
|
|
}
|
2020-06-12 04:18:44 +02:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
color: #f8f8f8;
|
|
|
|
--gray: #a19f9d;
|
|
|
|
--primary: #4ba0e1;
|
|
|
|
--primary-alt: #65aee6;
|
|
|
|
}
|
2020-06-06 13:48:08 +02:00
|
|
|
}
|
|
|
|
|
2021-08-21 23:49:56 +02:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6,
|
|
|
|
b,
|
|
|
|
strong {
|
2020-06-25 04:18:49 +02:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
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;
|
|
|
|
}
|
2021-08-21 23:49:56 +02:00
|
|
|
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-08-16 13:33:47 +02:00
|
|
|
@keyframes fadeIn {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(10px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
2020-06-08 10:54:53 +02:00
|
|
|
#main {
|
|
|
|
max-width: 700px;
|
|
|
|
margin: 0 auto;
|
2020-08-16 13:33:47 +02:00
|
|
|
display: none;
|
2020-06-08 10:54:53 +02:00
|
|
|
}
|
2021-12-16 03:14:43 +01:00
|
|
|
body.vertical #main {
|
|
|
|
max-width: unset;
|
|
|
|
max-height: 700px;
|
|
|
|
margin: auto 0;
|
|
|
|
}
|
2020-08-16 13:33:47 +02:00
|
|
|
#main.show {
|
|
|
|
display: block;
|
|
|
|
animation-name: fadeIn;
|
|
|
|
animation-duration: 0.367s;
|
|
|
|
animation-timing-function: cubic-bezier(0.1, 0.9, 0.2, 1);
|
|
|
|
animation-fill-mode: both;
|
|
|
|
}
|
|
|
|
|
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);
|
2021-08-21 23:49:56 +02:00
|
|
|
font-size: 0.875rem;
|
2020-06-06 13:48:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
article {
|
|
|
|
line-height: 1.6;
|
|
|
|
}
|
2021-12-16 03:14:43 +01:00
|
|
|
body.vertical article {
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
body.vertical article p {
|
|
|
|
text-indent: 2rem;
|
|
|
|
}
|
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;
|
|
|
|
}
|
2021-12-16 03:14:43 +01:00
|
|
|
body.vertical article img {
|
|
|
|
max-height: 75%;
|
|
|
|
}
|
2020-06-06 13:48:08 +02:00
|
|
|
article figure {
|
|
|
|
margin: 16px 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
article figure figcaption {
|
2021-08-21 23:49:56 +02:00
|
|
|
font-size: 0.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-20 09:09:26 +02:00
|
|
|
}
|
|
|
|
article iframe {
|
|
|
|
width: 100%;
|
2020-06-25 04:18:49 +02:00
|
|
|
}
|
|
|
|
article code {
|
|
|
|
font-family: Monaco, Consolas, monospace;
|
2021-08-21 23:49:56 +02:00
|
|
|
font-size: 0.875rem;
|
2020-06-25 04:18:49 +02:00
|
|
|
line-height: 1;
|
2020-08-16 13:33:47 +02:00
|
|
|
}
|
2021-12-16 08:00:48 +01:00
|
|
|
article pre {
|
|
|
|
word-break: normal;
|
|
|
|
overflow-wrap: normal;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
2020-08-16 13:33:47 +02:00
|
|
|
article blockquote {
|
|
|
|
border-left: 2px solid var(--gray);
|
|
|
|
margin: 1em 0;
|
|
|
|
padding: 0 40px;
|
2021-08-21 23:49:56 +02:00
|
|
|
}
|