2021-01-31 12:03:22 +00:00
|
|
|
.page-header,
|
2020-07-21 09:50:35 +01:00
|
|
|
.post-header {
|
2022-04-21 10:32:20 +01:00
|
|
|
margin: 32px 0;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-title {
|
2021-06-11 08:59:56 +01:00
|
|
|
font-size: 40px;
|
2022-04-21 10:32:20 +01:00
|
|
|
margin: var(--content-gap) 0;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
2021-01-02 17:00:20 +00:00
|
|
|
.post-description {
|
2022-04-21 10:32:20 +01:00
|
|
|
margin: var(--content-gap) 0;
|
|
|
|
color: var(--secondary);
|
|
|
|
opacity: .8;
|
|
|
|
padding-left: .5em;
|
|
|
|
border-left: 3px solid var(--tertiary);
|
2021-01-02 17:00:20 +00:00
|
|
|
}
|
|
|
|
|
2021-01-29 18:07:07 +00:00
|
|
|
.post-meta,
|
|
|
|
.breadcrumbs {
|
2022-04-21 17:28:30 +01:00
|
|
|
font-size: 15px;
|
2020-09-22 09:11:23 +01:00
|
|
|
}
|
2022-04-21 17:28:30 +01:00
|
|
|
|
2022-04-22 07:11:34 +01:00
|
|
|
.breadcrumbs {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
2021-01-29 18:07:07 +00:00
|
|
|
.breadcrumbs a {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
2020-07-21 09:50:35 +01:00
|
|
|
.post-content {
|
2022-05-15 16:40:06 +01:00
|
|
|
font-size: 17px;
|
2021-06-11 08:59:56 +01:00
|
|
|
color: var(--content);
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content h4,
|
|
|
|
.post-content h5,
|
|
|
|
.post-content h6 {
|
2021-06-11 08:59:56 +01:00
|
|
|
margin: 24px 0 16px;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
2022-05-18 06:46:15 +01:00
|
|
|
.post-content h3 {
|
|
|
|
margin: 32px 0 24px;
|
|
|
|
}
|
2020-07-21 09:50:35 +01:00
|
|
|
|
|
|
|
.post-content h1 {
|
2020-11-17 07:15:19 +00:00
|
|
|
margin: 40px auto 32px;
|
2021-06-11 08:59:56 +01:00
|
|
|
font-size: 40px;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content h2 {
|
2022-05-18 06:46:15 +01:00
|
|
|
margin: 40px auto 32px;
|
2021-06-11 08:59:56 +01:00
|
|
|
font-size: 32px;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content h3 {
|
2021-06-11 08:59:56 +01:00
|
|
|
font-size: 24px;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content h4 {
|
2022-05-04 17:45:15 +01:00
|
|
|
font-size: 20px;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content h5 {
|
2021-06-11 08:59:56 +01:00
|
|
|
font-size: 14px;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content h6 {
|
2021-06-11 08:59:56 +01:00
|
|
|
font-size: 12px;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
2022-04-10 13:38:20 +01:00
|
|
|
.post-content a {
|
2022-04-13 10:23:43 +01:00
|
|
|
font-weight: 500;
|
|
|
|
color: var(--primary);
|
|
|
|
box-shadow: var(--link-underline-shadow);
|
2022-04-21 16:26:08 +01:00
|
|
|
transition: var(--link-transition);
|
2022-04-13 10:23:43 +01:00
|
|
|
}
|
|
|
|
.post-content a:hover {
|
|
|
|
color: var(--link-hover-color);
|
|
|
|
box-shadow: var(--link-hover-underline-shadow);
|
|
|
|
}
|
|
|
|
.post-content a.anchor:hover {
|
|
|
|
color: var(--primary);
|
2022-04-21 17:28:30 +01:00
|
|
|
box-shadow: 0 2px 0 var(--secondary);
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content a code {
|
2020-09-20 07:24:41 +01:00
|
|
|
margin: auto 0;
|
2020-07-21 09:50:35 +01:00
|
|
|
border-radius: 0;
|
2021-06-11 08:59:56 +01:00
|
|
|
box-shadow: 0 -1px 0 var(--primary) inset;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
2022-04-13 10:23:43 +01:00
|
|
|
.post-content a:hover code {
|
|
|
|
box-shadow: 0 -1px 0 var(--link-hover-underline-color) inset, 0 1px 0 var(--link-hover-underline-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 .anchor,
|
|
|
|
h2 .anchor,
|
|
|
|
h3 .anchor,
|
|
|
|
h4 .anchor,
|
|
|
|
h5 .anchor,
|
|
|
|
h6 .anchor {
|
|
|
|
box-shadow: none;
|
|
|
|
user-select: none;
|
2022-04-21 17:28:30 +01:00
|
|
|
font-size: .8em;
|
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
2022-04-13 10:23:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h1:hover .anchor,
|
|
|
|
h2:hover .anchor,
|
|
|
|
h3:hover .anchor,
|
|
|
|
h4:hover .anchor,
|
|
|
|
h5:hover .anchor,
|
|
|
|
h6:hover .anchor {
|
|
|
|
color: var(--secondary);
|
|
|
|
margin-inline-start: 8px;
|
|
|
|
font-weight: 500;
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
2020-07-21 09:50:35 +01:00
|
|
|
|
|
|
|
.post-content del {
|
|
|
|
text-decoration: none;
|
2021-06-11 08:59:56 +01:00
|
|
|
background: linear-gradient(to right, var(--primary) 100%, transparent 0) 0 50%/1px 1px repeat-x;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
2020-11-17 07:15:19 +00:00
|
|
|
.post-content dl,
|
2020-07-21 09:50:35 +01:00
|
|
|
.post-content ol,
|
2020-11-17 07:15:19 +00:00
|
|
|
.post-content p,
|
2021-04-24 05:06:27 +01:00
|
|
|
.post-content figure,
|
2020-11-17 07:15:19 +00:00
|
|
|
.post-content ul {
|
2021-06-11 08:59:56 +01:00
|
|
|
margin-bottom: var(--content-gap);
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
2020-11-17 07:15:19 +00:00
|
|
|
.post-content ol,
|
|
|
|
.post-content ul {
|
2021-06-11 08:59:56 +01:00
|
|
|
padding-inline-start: 20px;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
2022-05-08 11:29:17 +01:00
|
|
|
.post-content li > ol,
|
|
|
|
.post-content li > ul {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2020-07-21 09:50:35 +01:00
|
|
|
.post-content li {
|
2022-06-02 05:03:10 +01:00
|
|
|
margin-top: 10px;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content li p {
|
2022-06-02 05:03:10 +01:00
|
|
|
margin-bottom: .5em;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content dl {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2021-06-11 08:59:56 +01:00
|
|
|
margin: 0;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content dt {
|
|
|
|
width: 25%;
|
2021-06-11 08:59:56 +01:00
|
|
|
font-weight: 700;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content dd {
|
|
|
|
width: 75%;
|
2020-10-19 10:17:23 +01:00
|
|
|
margin-inline-start: 0;
|
2021-06-11 08:59:56 +01:00
|
|
|
padding-inline-start: 10px;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
2021-06-11 09:04:55 +01:00
|
|
|
.post-content dd ~ dd,
|
|
|
|
.post-content dt ~ dt {
|
2021-06-11 08:59:56 +01:00
|
|
|
margin-top: 10px;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content table {
|
2021-06-11 08:59:56 +01:00
|
|
|
margin-bottom: 32px;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content table th,
|
2021-01-21 15:46:44 +00:00
|
|
|
.post-content table:not(.highlighttable, .highlight table, .gist .highlight) td {
|
2020-07-21 09:50:35 +01:00
|
|
|
min-width: 80px;
|
|
|
|
padding: 12px 8px;
|
|
|
|
line-height: 1.5;
|
2021-06-11 08:59:56 +01:00
|
|
|
border-bottom: 1px solid var(--border);
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content table th {
|
|
|
|
font-size: 14px;
|
2021-06-11 08:59:56 +01:00
|
|
|
text-align: start;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content table:not(.highlighttable) td code:only-child {
|
2021-06-11 08:59:56 +01:00
|
|
|
margin: auto 0;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
2021-01-21 18:05:38 +00:00
|
|
|
.post-content .highlight table {
|
2021-06-11 08:59:56 +01:00
|
|
|
border-radius: var(--radius);
|
2021-01-21 18:05:38 +00:00
|
|
|
}
|
|
|
|
|
2022-03-12 14:03:29 +00:00
|
|
|
.post-content .highlight:not(table) {
|
2022-05-15 16:40:53 +01:00
|
|
|
margin: var(--content-gap) auto;
|
2021-06-11 08:59:56 +01:00
|
|
|
border-radius: var(--radius);
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
2021-06-11 09:04:55 +01:00
|
|
|
.post-content li > .highlight {
|
2021-06-11 08:59:56 +01:00
|
|
|
margin-inline-end: 0;
|
2020-08-24 07:14:31 +01:00
|
|
|
}
|
|
|
|
|
2020-07-21 09:50:35 +01:00
|
|
|
.post-content ul pre {
|
2021-06-11 08:59:56 +01:00
|
|
|
margin-inline-start: calc(var(--gap) * -2);
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content .highlight pre {
|
2021-06-11 08:59:56 +01:00
|
|
|
margin: 0;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content .highlighttable {
|
2021-06-11 08:59:56 +01:00
|
|
|
table-layout: fixed;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content .highlighttable td:first-child {
|
2021-06-11 08:59:56 +01:00
|
|
|
width: 40px;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content .highlighttable td .linenodiv {
|
2021-06-11 08:59:56 +01:00
|
|
|
padding-inline-end: 0 !important;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
2020-11-17 07:15:19 +00:00
|
|
|
.post-content .highlighttable td .highlight,
|
|
|
|
.post-content .highlighttable td .linenodiv pre {
|
2021-06-11 08:59:56 +01:00
|
|
|
margin-bottom: 0;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content .highlighttable td .highlight pre code::-webkit-scrollbar {
|
2021-06-11 08:59:56 +01:00
|
|
|
display: none;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
2022-04-14 17:55:41 +01:00
|
|
|
/* code block */
|
|
|
|
.post-content .chroma {
|
|
|
|
border-radius: var(--radius);
|
|
|
|
}
|
|
|
|
/* TODO refactor this shit */
|
2020-07-21 09:50:35 +01:00
|
|
|
.post-content code {
|
2022-04-14 17:55:41 +01:00
|
|
|
/* inline code */
|
|
|
|
background-color: var(--code-bg);
|
2022-05-15 16:40:53 +01:00
|
|
|
margin: 0 3px;
|
|
|
|
padding: 4px 5px;
|
|
|
|
border-radius: 3px;
|
2022-05-18 06:46:15 +01:00
|
|
|
font-size: .95em;
|
2022-05-04 17:45:08 +01:00
|
|
|
}
|
2020-07-21 09:50:35 +01:00
|
|
|
.post-content pre code {
|
2022-04-14 17:55:41 +01:00
|
|
|
/* reset inline code */
|
2020-07-21 09:50:35 +01:00
|
|
|
display: block;
|
2020-09-20 07:24:41 +01:00
|
|
|
margin: auto 0;
|
2022-05-15 16:40:53 +01:00
|
|
|
padding: 15px;
|
2021-03-19 13:21:20 +00:00
|
|
|
overflow-x: auto;
|
2022-05-15 16:40:53 +01:00
|
|
|
border-radius: var(--radius);
|
2021-03-19 13:21:20 +00:00
|
|
|
word-break: break-all;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
2022-05-15 16:40:53 +01:00
|
|
|
.post-content .chroma code {
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
2020-07-21 09:50:35 +01:00
|
|
|
|
|
|
|
.post-content blockquote {
|
2021-01-25 07:18:10 +00:00
|
|
|
margin: 20px 0;
|
2020-12-31 10:41:18 +00:00
|
|
|
padding: 0 14px;
|
2021-06-11 08:59:56 +01:00
|
|
|
border-inline-start: 3px solid var(--primary);
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
2022-05-15 16:39:53 +01:00
|
|
|
.post-content sup {
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
2020-07-21 09:50:35 +01:00
|
|
|
.post-content hr {
|
2020-12-31 10:41:18 +00:00
|
|
|
margin: 30px 0;
|
2020-09-16 10:59:50 +01:00
|
|
|
height: 2px;
|
2022-04-21 10:32:20 +01:00
|
|
|
background: var(--tertiary-bg);
|
2020-07-21 09:50:35 +01:00
|
|
|
border-top: 0;
|
2021-06-11 08:59:56 +01:00
|
|
|
border-bottom: 0;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content iframe {
|
2021-06-11 08:59:56 +01:00
|
|
|
max-width: 100%;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
2020-09-17 10:38:56 +01:00
|
|
|
.post-content img {
|
2021-06-11 08:59:56 +01:00
|
|
|
border-radius: 4px;
|
2022-05-05 09:49:21 +01:00
|
|
|
margin: 1rem auto;
|
2020-09-17 10:38:56 +01:00
|
|
|
}
|
2020-10-01 10:07:57 +01:00
|
|
|
|
2021-06-11 09:04:55 +01:00
|
|
|
.post-content img[src*="#center"] {
|
2021-07-03 09:59:36 +01:00
|
|
|
margin: 1rem auto;
|
2020-12-23 11:04:01 +00:00
|
|
|
}
|
|
|
|
|
2022-04-21 16:26:08 +01:00
|
|
|
.post-content video {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-02-22 05:54:43 +00:00
|
|
|
.post-content figure.align-center {
|
2021-03-19 13:21:20 +00:00
|
|
|
text-align: center;
|
2021-02-22 05:54:43 +00:00
|
|
|
}
|
|
|
|
|
2021-06-11 09:04:55 +01:00
|
|
|
.post-content figure > figcaption {
|
2020-12-15 12:22:04 +00:00
|
|
|
color: var(--primary);
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: bold;
|
2021-02-20 05:21:19 +00:00
|
|
|
margin: 8px 0 16px;
|
|
|
|
}
|
|
|
|
|
2021-06-11 09:04:55 +01:00
|
|
|
.post-content figure > figcaption > p {
|
2021-03-19 13:21:20 +00:00
|
|
|
color: var(--secondary);
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: normal;
|
2020-12-15 12:22:04 +00:00
|
|
|
}
|
|
|
|
|
2020-10-01 10:07:57 +01:00
|
|
|
.toc {
|
2021-01-23 17:43:47 +00:00
|
|
|
margin: 0 2px 40px 2px;
|
2020-10-01 10:07:57 +01:00
|
|
|
border: 1px solid var(--border);
|
2021-01-23 17:43:47 +00:00
|
|
|
background: var(--code-bg);
|
2020-10-01 10:07:57 +01:00
|
|
|
border-radius: var(--radius);
|
2022-04-13 11:12:08 +01:00
|
|
|
padding: 0.4em 0;
|
2020-10-01 10:07:57 +01:00
|
|
|
}
|
2022-05-05 10:17:06 +01:00
|
|
|
.toc.side {
|
|
|
|
font-size: .8em;
|
|
|
|
}
|
2022-05-05 10:30:12 +01:00
|
|
|
@media screen and (min-width: 1350px) {
|
2022-04-09 16:59:22 +01:00
|
|
|
.toc.side {
|
|
|
|
position: fixed;
|
2022-04-13 11:12:08 +01:00
|
|
|
top: 118px;
|
2022-04-09 18:18:40 +01:00
|
|
|
z-index: 1;
|
2022-05-05 10:03:28 +01:00
|
|
|
max-height: calc(100% - 150px);
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
.toc.side::-webkit-scrollbar-thumb {
|
|
|
|
border: 5px solid var(--code-bg);
|
2022-04-09 16:59:22 +01:00
|
|
|
}
|
2022-04-13 11:12:08 +01:00
|
|
|
.toc.side.left {
|
2022-04-13 18:12:58 +01:00
|
|
|
left: 15px;
|
2022-04-13 11:12:08 +01:00
|
|
|
width: 250px;
|
|
|
|
}
|
|
|
|
.toc.side.right {
|
|
|
|
right: 15px;
|
|
|
|
width: 265px;
|
|
|
|
}
|
2022-04-09 16:59:22 +01:00
|
|
|
}
|
2020-10-01 10:07:57 +01:00
|
|
|
|
|
|
|
.toc details summary {
|
2022-04-09 16:59:22 +01:00
|
|
|
cursor: pointer;
|
2022-04-13 11:12:08 +01:00
|
|
|
margin-inline-start: 15px;
|
2020-10-01 10:07:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.toc .details {
|
|
|
|
display: inline;
|
2021-06-11 08:59:56 +01:00
|
|
|
font-weight: 500;
|
2020-10-01 10:07:57 +01:00
|
|
|
}
|
|
|
|
|
2021-01-23 18:08:51 +00:00
|
|
|
.toc .inner {
|
2022-04-13 11:12:08 +01:00
|
|
|
padding: 10px 15px 5px 35px;
|
2020-11-12 05:39:23 +00:00
|
|
|
}
|
|
|
|
|
2022-04-14 08:19:21 +01:00
|
|
|
.toc ul {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2020-10-01 10:07:57 +01:00
|
|
|
.toc li ul {
|
2022-04-13 11:12:08 +01:00
|
|
|
margin-inline-start: 20px;
|
2020-10-01 10:07:57 +01:00
|
|
|
}
|
2022-05-05 10:17:06 +01:00
|
|
|
.toc li a {
|
|
|
|
line-height: 1.5em;
|
2022-05-15 16:40:53 +01:00
|
|
|
padding: 3px 5px;
|
2022-05-05 10:17:06 +01:00
|
|
|
border-radius: 5px;
|
|
|
|
display: block;
|
|
|
|
}
|
2022-04-09 18:18:40 +01:00
|
|
|
.toc li a.active {
|
2022-05-05 10:17:06 +01:00
|
|
|
background-color: var(--link-background-color);
|
2022-04-10 13:38:20 +01:00
|
|
|
}
|
2022-05-05 10:17:06 +01:00
|
|
|
.toc li a:hover {
|
2022-04-09 18:18:40 +01:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2020-09-17 10:38:56 +01:00
|
|
|
|
2020-10-30 06:12:58 +00:00
|
|
|
.toc summary:focus {
|
2021-06-11 08:59:56 +01:00
|
|
|
outline: 0;
|
2020-10-30 06:12:58 +00:00
|
|
|
}
|
|
|
|
|
2020-07-21 09:50:35 +01:00
|
|
|
.post-footer {
|
2022-04-21 18:09:19 +01:00
|
|
|
margin-top: calc(var(--content-gap) * 1.5);
|
2020-07-27 09:57:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.share-buttons {
|
2022-04-21 18:09:19 +01:00
|
|
|
margin: var(--content-gap) 0;
|
2020-10-28 04:05:21 +00:00
|
|
|
padding-inline-start: var(--radius);
|
2020-10-01 09:36:04 +01:00
|
|
|
display: flex;
|
2021-01-23 17:48:33 +00:00
|
|
|
justify-content: center;
|
2021-06-11 08:59:56 +01:00
|
|
|
overflow-x: auto;
|
2020-07-27 09:57:38 +01:00
|
|
|
}
|
|
|
|
|
2020-10-01 09:36:04 +01:00
|
|
|
.share-buttons a {
|
|
|
|
}
|
|
|
|
|
|
|
|
.share-buttons a:not(:last-of-type) {
|
2021-06-11 08:59:56 +01:00
|
|
|
margin-inline-end: 12px;
|
2020-10-01 09:36:04 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.share-buttons a svg {
|
2020-07-27 09:57:38 +01:00
|
|
|
height: 30px;
|
|
|
|
width: 30px;
|
2020-10-01 09:36:04 +01:00
|
|
|
fill: currentColor;
|
2021-06-11 09:04:55 +01:00
|
|
|
transition: transform 0.1s;
|
2020-08-21 16:54:24 +01:00
|
|
|
}
|
|
|
|
|
2021-01-11 15:01:03 +00:00
|
|
|
.share-buttons svg:active {
|
2021-06-11 09:04:55 +01:00
|
|
|
transform: scale(0.96);
|
2020-09-16 08:13:12 +01:00
|
|
|
}
|
|
|
|
|
2020-12-31 11:31:26 +00:00
|
|
|
|
2021-01-26 05:22:30 +00:00
|
|
|
.post-content :not(table) ::-webkit-scrollbar-thumb {
|
2022-04-14 17:55:41 +01:00
|
|
|
border: 2px solid var(--code-bg);
|
2021-09-20 16:38:44 +01:00
|
|
|
background: rgb(113, 113, 117);
|
2020-12-31 11:31:26 +00:00
|
|
|
}
|
|
|
|
|
2021-01-26 05:22:30 +00:00
|
|
|
.post-content :not(table) ::-webkit-scrollbar-thumb:hover {
|
2021-09-20 16:38:44 +01:00
|
|
|
background: rgb(163, 163, 165);
|
2021-01-25 15:34:29 +00:00
|
|
|
}
|
|
|
|
|
2021-01-26 05:22:30 +00:00
|
|
|
.gist table::-webkit-scrollbar-thumb {
|
2021-01-25 15:34:29 +00:00
|
|
|
border: 2px solid rgb(255, 255, 255);
|
2021-09-20 16:38:44 +01:00
|
|
|
background: rgb(173, 173, 173);
|
2021-01-25 15:34:29 +00:00
|
|
|
}
|
|
|
|
|
2021-01-26 05:22:30 +00:00
|
|
|
.gist table::-webkit-scrollbar-thumb:hover {
|
2021-09-20 16:38:44 +01:00
|
|
|
background: rgb(112, 112, 112);
|
2020-12-31 11:31:26 +00:00
|
|
|
}
|
2021-01-26 05:22:30 +00:00
|
|
|
|
|
|
|
.post-content table::-webkit-scrollbar-thumb {
|
|
|
|
border-width: 2px;
|
|
|
|
}
|
2021-01-27 18:35:30 +00:00
|
|
|
|
|
|
|
.paginav {
|
2022-04-21 18:09:19 +01:00
|
|
|
margin: var(--content-gap) 0;
|
2021-01-27 18:35:30 +00:00
|
|
|
display: flex;
|
|
|
|
line-height: 30px;
|
|
|
|
border-radius: var(--radius);
|
|
|
|
}
|
|
|
|
|
2022-04-21 18:09:19 +01:00
|
|
|
.paginav svg {
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: -0.125em;
|
2021-01-27 18:35:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.paginav .title {
|
|
|
|
letter-spacing: 1px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: small;
|
|
|
|
color: var(--secondary);
|
|
|
|
}
|
|
|
|
|
|
|
|
.paginav .prev,
|
|
|
|
.paginav .next {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
2022-04-22 08:00:00 +01:00
|
|
|
.paginav a span {
|
|
|
|
transition: var(--link-transition);
|
|
|
|
}
|
2022-04-21 18:09:19 +01:00
|
|
|
.paginav a:hover span:not(.title) {
|
2021-01-27 18:35:30 +00:00
|
|
|
box-shadow: 0 1px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.paginav .next {
|
|
|
|
margin-inline-start: auto;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="rtl"] .paginav .next {
|
|
|
|
text-align: left;
|
2021-04-24 05:06:27 +01:00
|
|
|
}
|
2022-04-21 16:26:08 +01:00
|
|
|
|
|
|
|
.full-width {
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -50vw;
|
|
|
|
margin-right: -50vw;
|
|
|
|
max-width: 100vw;
|
|
|
|
position: relative;
|
|
|
|
right: 50%;
|
|
|
|
width: 100vw;
|
2022-04-21 17:38:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.comments-divider {
|
|
|
|
margin: calc(var(--content-gap) * 1) 0;
|
|
|
|
height: 1px;
|
|
|
|
background-color: var(--secondary);
|
|
|
|
}
|
2022-04-21 17:51:29 +01:00
|
|
|
|
2022-05-05 09:23:55 +01:00
|
|
|
.social-links {
|
|
|
|
margin: calc(var(--content-gap) * 2) 0;
|
2022-05-18 06:46:15 +01:00
|
|
|
}
|
|
|
|
.social-quote {
|
|
|
|
padding: 1em;
|
|
|
|
}
|
2022-07-01 04:46:36 +01:00
|
|
|
.post-content .social-quote {
|
|
|
|
margin-bottom: var(--content-gap);
|
|
|
|
}
|
2022-05-18 06:46:15 +01:00
|
|
|
.social-quote.tweet {
|
2022-05-05 09:23:55 +01:00
|
|
|
background-color: var(--code-bg);
|
|
|
|
border-left: 3px solid var(--twitter-color);
|
2022-04-21 17:51:29 +01:00
|
|
|
}
|
2022-05-18 06:46:15 +01:00
|
|
|
.social-quote.tweet svg {
|
|
|
|
color: var(--twitter-color);
|
|
|
|
}
|
|
|
|
.social-quote .title {
|
2022-05-05 09:23:55 +01:00
|
|
|
margin-bottom: .5em;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
2022-05-18 06:46:15 +01:00
|
|
|
.social-quote .title svg {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
|
|
|
.social-quote .title span {
|
|
|
|
margin-inline-start: .5em;
|
|
|
|
}
|
2022-05-05 09:23:55 +01:00
|
|
|
|
2022-05-18 06:46:15 +01:00
|
|
|
.social-quote p > a {
|
|
|
|
margin-inline-start: .5em;
|
|
|
|
}
|
|
|
|
.social-quote blockquote {
|
2022-05-05 09:23:55 +01:00
|
|
|
font-size: .8em;
|
2022-05-18 06:46:15 +01:00
|
|
|
/* reset for .post-content blockquote */
|
|
|
|
margin: 0 0 0 0;
|
|
|
|
padding: 0;
|
|
|
|
border-inline-start: 0;
|
2022-05-05 09:23:55 +01:00
|
|
|
}
|
2022-05-18 06:46:15 +01:00
|
|
|
.social-quote blockquote a {
|
2022-05-05 09:23:55 +01:00
|
|
|
font-weight: 500;
|
|
|
|
color: var(--primary);
|
|
|
|
box-shadow: var(--link-underline-shadow);
|
|
|
|
transition: var(--link-transition);
|
|
|
|
}
|
2022-05-18 06:46:15 +01:00
|
|
|
.social-quote blockquote > a:hover {
|
2022-05-05 09:23:55 +01:00
|
|
|
color: var(--twitter-color);
|
|
|
|
box-shadow: 0 2px 0 var(--twitter-color);
|
|
|
|
}
|
|
|
|
|
2022-06-01 09:55:45 +01:00
|
|
|
/* comments */
|
|
|
|
.comments-box {
|
2022-04-21 18:09:19 +01:00
|
|
|
margin: calc(var(--content-gap) * 2) 0;
|
2022-04-21 17:51:29 +01:00
|
|
|
background-color: var(--code-bg);
|
|
|
|
border-radius: 10px;
|
|
|
|
box-shadow: var(--shadow-elevation-low);
|
|
|
|
}
|
2022-06-01 15:03:01 +01:00
|
|
|
|
|
|
|
.comments-box.telegram-widget {
|
|
|
|
padding: .8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comments {
|
|
|
|
border-top: 1px solid var(--tertiary);
|
|
|
|
}
|
|
|
|
.comments {
|
|
|
|
margin: 40px 0 20px;
|
|
|
|
}
|
|
|
|
.comments .title {
|
|
|
|
margin: 20px 0;
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
.comments .title > span {
|
|
|
|
line-height: 1.5rem;
|
|
|
|
}
|
|
|
|
.comments .title .counter {
|
|
|
|
color: var(--link-hover-color);
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: bold;
|
|
|
|
vertical-align: super;
|
|
|
|
}
|