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 {
|
2021-06-11 08:59:56 +01:00
|
|
|
color: var(--content);
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content h3,
|
|
|
|
.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
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
2020-11-17 07:15:19 +00:00
|
|
|
margin: 32px auto 24px;
|
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
|
|
|
}
|
|
|
|
|
|
|
|
.post-content li {
|
2021-06-11 08:59:56 +01:00
|
|
|
margin-top: 5px;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content li p {
|
2021-06-11 08:59:56 +01:00
|
|
|
margin-bottom: 0;
|
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) {
|
2021-01-21 18:01:17 +00:00
|
|
|
margin: 10px 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);
|
|
|
|
|
2020-09-20 07:24:41 +01:00
|
|
|
margin: auto 4px;
|
2020-07-21 09:50:35 +01:00
|
|
|
padding: 4px 6px;
|
2021-06-11 09:04:55 +01:00
|
|
|
font-size: 0.78em;
|
2020-07-21 09:50:35 +01:00
|
|
|
line-height: 1.5;
|
2021-06-11 08:59:56 +01:00
|
|
|
border-radius: 2px;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
2022-05-04 17:45:08 +01:00
|
|
|
.post-content .chroma code {
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
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;
|
2020-09-16 08:13:12 +01:00
|
|
|
padding: 10px;
|
2021-03-19 13:21:20 +00:00
|
|
|
overflow-x: auto;
|
|
|
|
word-break: break-all;
|
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
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
2021-07-03 09:59:36 +01:00
|
|
|
margin: 1rem 0;
|
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-04-13 11:12:08 +01:00
|
|
|
@media screen and (min-width: 1440px) {
|
2022-04-09 16:59:22 +01:00
|
|
|
.toc.side {
|
|
|
|
position: fixed;
|
2022-04-13 11:12:08 +01:00
|
|
|
top: 118px;
|
|
|
|
font-size: .8em;
|
2022-04-09 18:18:40 +01:00
|
|
|
z-index: 1;
|
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
|
|
|
|
2021-01-23 17:43:47 +00:00
|
|
|
.dark .toc {
|
|
|
|
background: var(--entry);
|
|
|
|
}
|
|
|
|
|
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-04-09 18:18:40 +01:00
|
|
|
.toc li a.active {
|
2022-04-10 13:38:20 +01:00
|
|
|
box-shadow: 0 2px 0 var(--secondary);
|
|
|
|
}
|
|
|
|
.toc 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
|
|
|
|
|
|
|
:root {
|
|
|
|
--shadow-color: 0deg 0% 0%;
|
|
|
|
--shadow-elevation-low:
|
|
|
|
0.6px 0.6px 1px hsl(var(--shadow-color) / 0.1),
|
|
|
|
0.9px 0.9px 1.4px -1.2px hsl(var(--shadow-color) / 0.1),
|
|
|
|
2.2px 2.2px 3.5px -2.5px hsl(var(--shadow-color) / 0.1);
|
|
|
|
--shadow-elevation-medium:
|
|
|
|
0.6px 0.6px 1px hsl(var(--shadow-color) / 0.11),
|
|
|
|
1.8px 1.8px 2.9px -0.8px hsl(var(--shadow-color) / 0.11),
|
|
|
|
4.6px 4.6px 7.3px -1.7px hsl(var(--shadow-color) / 0.11),
|
|
|
|
11.1px 11.1px 17.7px -2.5px hsl(var(--shadow-color) / 0.11);
|
2022-05-05 09:23:55 +01:00
|
|
|
|
|
|
|
--twitter-color: #4a99e9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.social-links {
|
|
|
|
margin: calc(var(--content-gap) * 2) 0;
|
|
|
|
background-color: var(--code-bg);
|
|
|
|
border-left: 3px solid var(--twitter-color);
|
|
|
|
padding: 1em;
|
2022-04-21 17:51:29 +01:00
|
|
|
}
|
2022-05-05 09:23:55 +01:00
|
|
|
.social-links .title {
|
|
|
|
margin-bottom: .5em;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.social-links blockquote {
|
|
|
|
font-size: .8em;
|
|
|
|
margin: 0 0 0 1em;
|
|
|
|
}
|
|
|
|
.social-links blockquote a {
|
|
|
|
font-weight: 500;
|
|
|
|
color: var(--primary);
|
|
|
|
box-shadow: var(--link-underline-shadow);
|
|
|
|
transition: var(--link-transition);
|
|
|
|
}
|
|
|
|
.social-links blockquote > a:hover {
|
|
|
|
color: var(--twitter-color);
|
|
|
|
box-shadow: 0 2px 0 var(--twitter-color);
|
|
|
|
}
|
|
|
|
|
2022-04-21 17:51:29 +01:00
|
|
|
.disqus-container {
|
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;
|
|
|
|
padding: 1.5em;
|
|
|
|
box-shadow: var(--shadow-elevation-low);
|
|
|
|
}
|