1297 lines
25 KiB
CSS
1297 lines
25 KiB
CSS
:root {
|
|
--link: #50596c;
|
|
--page-hover: #667189;
|
|
--category-link: #acb3c2;
|
|
--post-hover: #999;
|
|
--tag-item: #535d72;
|
|
--footer-hover: #535353;
|
|
--background: #fff;
|
|
--time-line-hover: #454d5d;
|
|
--post-categories-list-item-background: #c2c2c2;
|
|
--post-categories-list-item-color: #333;
|
|
--post-card: #f5f5f5;
|
|
--post-card-notice: #ffffc0;
|
|
--post-footer: #eee;
|
|
--markdown-h6: #626569;
|
|
--markdown-hr: #e1e4e8;
|
|
--markdown-backquote: #6a737d;
|
|
--markdown-title-link: #1b1f23;
|
|
--table: #f6f8fa;
|
|
--kbd-color: #444d56;
|
|
--kbd-background-color: #fafbfc;
|
|
--border-bottom: #c6cbd1;
|
|
--footer-dev: #6b6b6b;
|
|
--search: #444;
|
|
--timeline: #e7e9ed;
|
|
--card-header: #ddd;
|
|
--markdown-h1-border: #eaecef;
|
|
--markdown-hr-border: #435266;
|
|
}
|
|
body,
|
|
html {
|
|
overflow-x: hidden !important;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
html a:focus,
|
|
html .btn:focus {
|
|
box-shadow: none !important;
|
|
}
|
|
.card {
|
|
border: none;
|
|
border-radius: 0.5rem;
|
|
}
|
|
.timeline .timeline-item:last-child::before {
|
|
background: transparent;
|
|
}
|
|
html *::-webkit-scrollbar {
|
|
width: 6px;
|
|
height: 4px;
|
|
background: transparent;
|
|
}
|
|
@media (min-width: 1024px) {
|
|
html *::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 6px;
|
|
}
|
|
}
|
|
html *::-webkit-scrollbar-thumb {
|
|
background: rgba(0, 0, 0, 0.3);
|
|
}
|
|
.suka-devide-dot::after {
|
|
content: " · ";
|
|
}
|
|
.share-menu {
|
|
text-align: left;
|
|
}
|
|
.dropdown a {
|
|
cursor: pointer;
|
|
}
|
|
.icon {
|
|
box-sizing: border-box;
|
|
display: inline-block;
|
|
font-size: inherit;
|
|
font-style: normal;
|
|
height: 1em;
|
|
position: relative;
|
|
text-indent: -9999px;
|
|
vertical-align: middle;
|
|
width: 1em;
|
|
}
|
|
.icon::before,
|
|
.icon::after {
|
|
display: block;
|
|
left: 50%;
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
.icon.icon-2x {
|
|
font-size: 1.6rem;
|
|
}
|
|
.icon.icon-3x {
|
|
font-size: 2.4rem;
|
|
}
|
|
.icon.icon-4x {
|
|
font-size: 3.2rem;
|
|
}
|
|
.accordion .icon,
|
|
.btn .icon,
|
|
.toast .icon,
|
|
.menu .icon {
|
|
vertical-align: -10%;
|
|
}
|
|
.btn-lg .icon {
|
|
vertical-align: -15%;
|
|
}
|
|
.icon-arrow-down::before,
|
|
.icon-arrow-left::before,
|
|
.icon-arrow-right::before,
|
|
.icon-arrow-up::before,
|
|
.icon-downward::before,
|
|
.icon-back::before,
|
|
.icon-forward::before,
|
|
.icon-upward::before {
|
|
border: 0.1rem solid currentColor;
|
|
border-bottom: 0;
|
|
border-right: 0;
|
|
content: "";
|
|
height: 0.65em;
|
|
width: 0.65em;
|
|
}
|
|
.icon-arrow-down::before {
|
|
transform: translate(-50%, -75%) rotate(225deg);
|
|
}
|
|
.icon-arrow-left::before {
|
|
transform: translate(-25%, -50%) rotate(-45deg);
|
|
}
|
|
.icon-arrow-right::before {
|
|
transform: translate(-75%, -50%) rotate(135deg);
|
|
}
|
|
.icon-arrow-up::before {
|
|
transform: translate(-50%, -25%) rotate(45deg);
|
|
}
|
|
.icon-back::after,
|
|
.icon-forward::after {
|
|
background: currentColor;
|
|
content: "";
|
|
height: 0.1rem;
|
|
width: 0.8em;
|
|
}
|
|
.icon-downward::after,
|
|
.icon-upward::after {
|
|
background: currentColor;
|
|
content: "";
|
|
height: 0.8em;
|
|
width: 0.1rem;
|
|
}
|
|
.icon-back::after {
|
|
left: 55%;
|
|
}
|
|
.icon-back::before {
|
|
transform: translate(-50%, -50%) rotate(-45deg);
|
|
}
|
|
.icon-downward::after {
|
|
top: 45%;
|
|
}
|
|
.icon-downward::before {
|
|
transform: translate(-50%, -50%) rotate(-135deg);
|
|
}
|
|
.icon-forward::after {
|
|
left: 45%;
|
|
}
|
|
.icon-forward::before {
|
|
transform: translate(-50%, -50%) rotate(135deg);
|
|
}
|
|
.icon-upward::after {
|
|
top: 55%;
|
|
}
|
|
.icon-upward::before {
|
|
transform: translate(-50%, -50%) rotate(45deg);
|
|
}
|
|
header {
|
|
padding: 3.6rem 0.4rem 1.8rem;
|
|
}
|
|
header a {
|
|
color: var(--link);
|
|
text-decoration: none !important;
|
|
}
|
|
header a:hover,
|
|
header a:focus,
|
|
header a:visited {
|
|
text-decoration: none !important;
|
|
color: var(--link);
|
|
}
|
|
header .divider {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding: 0;
|
|
opacity: 0.5;
|
|
}
|
|
.header-title {
|
|
font-size: 1.2rem;
|
|
}
|
|
.header-slogan {
|
|
font-size: 0.8rem;
|
|
}
|
|
@media (min-width: 481px) {
|
|
.header-title {
|
|
font-size: 1.4rem;
|
|
}
|
|
}
|
|
@media (min-width: 1025px) {
|
|
header {
|
|
padding: 4.8rem 0.8rem 3rem;
|
|
}
|
|
.header-title {
|
|
font-size: 1.3rem;
|
|
}
|
|
}
|
|
.navbar-link {
|
|
padding: 0.35rem 0.4rem;
|
|
}
|
|
.page-title {
|
|
font-size: 1.2rem;
|
|
}
|
|
.main-container {
|
|
padding: 0.4rem;
|
|
width: 100%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
@media screen and (min-width: 481px) {
|
|
.main-container {
|
|
max-width: 28.4rem;
|
|
padding-right: 0.5rem;
|
|
padding-left: 0.5rem;
|
|
}
|
|
}
|
|
@media screen and (min-width: 721px) {
|
|
.main-container {
|
|
max-width: 33.5rem;
|
|
padding-right: 1.6rem;
|
|
padding-left: 1.6rem;
|
|
}
|
|
}
|
|
@media screen and (min-width: 961px) {
|
|
.main-container {
|
|
max-width: 41.2rem;
|
|
}
|
|
}
|
|
@media screen and (min-width: 1335px) {
|
|
.main-container {
|
|
max-width: 42.9rem;
|
|
}
|
|
}
|
|
.post-stream-container {
|
|
width: 100%;
|
|
}
|
|
.pagination .page-item i {
|
|
vertical-align: -7.5% !important;
|
|
}
|
|
.pagination .page-item a:hover {
|
|
color: var(--page-hover);
|
|
opacity: 0.85;
|
|
}
|
|
.post-entry.card {
|
|
box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14),
|
|
0 1px 3px 0 rgba(0, 0, 0, 0.12);
|
|
margin: 0.8rem 0;
|
|
border-radius: 0.5rem;
|
|
position: relative;
|
|
min-width: 0;
|
|
word-wrap: break-word;
|
|
background-clip: border-box;
|
|
}
|
|
.post-entry .post-thumbnail {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 8rem;
|
|
background-position: center;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
overflow: hidden;
|
|
border-radius: .5rem;
|
|
}
|
|
@media (min-width: 961px) {
|
|
.post-entry .column-body {
|
|
order: -1;
|
|
}
|
|
.post-entry .post-thumbnail {
|
|
min-height: 6.5rem;
|
|
}
|
|
}
|
|
.post-entry a.card-title,
|
|
.post-entry a.card-title:hover,
|
|
.post-entry a.card-title:visited,
|
|
.post-entry a.card-title:focus {
|
|
color: var(--link);
|
|
opacity: 1;
|
|
text-decoration: none !important;
|
|
}
|
|
.post-entry .post-entry-info {
|
|
font-size: 0.75rem;
|
|
line-height: 1.6;
|
|
}
|
|
.post-entry .author-thumb,
|
|
.post-header-info .author-thumb {
|
|
width: 24px;
|
|
height: 24px;
|
|
float: left;
|
|
margin-right: 9px;
|
|
border-radius: 100%;
|
|
}
|
|
.post-entry .card-body {
|
|
padding-top: 0.6rem;
|
|
font-size: 0.75rem;
|
|
}
|
|
.post-entry .text-gray a {
|
|
color: var(--category-link) !important;
|
|
}
|
|
.post-entry .text-gray a:hover {
|
|
color: var(--post-hover) !important;
|
|
}
|
|
.post-entry .card-footer {
|
|
padding: 0.4rem 0.8rem;
|
|
}
|
|
.post-entry .card-footer:last-child {
|
|
padding-bottom: 0.6rem;
|
|
}
|
|
.post-container {
|
|
width: 100%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding-right: 0;
|
|
padding-left: 0;
|
|
}
|
|
@media screen and (min-width: 481px) {
|
|
.post-container {
|
|
padding-right: 0.5rem;
|
|
padding-left: 0.5rem;
|
|
max-width: calc(100vw - 0.5rem);
|
|
}
|
|
}
|
|
@media screen and (min-width: 721px) {
|
|
.post-container {
|
|
max-width: 41.4rem;
|
|
padding-right: 1rem;
|
|
padding-left: 1rem;
|
|
}
|
|
}
|
|
@media screen and (min-width: 961px) {
|
|
.post-container {
|
|
max-width: 36rem;
|
|
}
|
|
}
|
|
@media screen and (min-width: 1281px) {
|
|
.post-container {
|
|
max-width: 43rem;
|
|
}
|
|
}
|
|
#post-card.card {
|
|
box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14),
|
|
0 1px 3px 0 rgba(0, 0, 0, 0.12);
|
|
}
|
|
#post-card .card-image {
|
|
display: flex;
|
|
box-sizing: border-box;
|
|
background-size: cover;
|
|
flex-grow: 1;
|
|
box-orient: horizontal;
|
|
box-direction: normal;
|
|
flex-direction: row;
|
|
align-items: flex-end;
|
|
background-repeat: repeat;
|
|
background-position: 50% 50%;
|
|
background-origin: padding-box;
|
|
background-attachment: scroll;
|
|
height: 12.36rem;
|
|
border-radius: 0.5rem;
|
|
}
|
|
@media screen and (min-width: 481px) {
|
|
#post-card .card-image {
|
|
height: 13.6rem;
|
|
}
|
|
}
|
|
@media screen and (min-width: 721px) {
|
|
#post-card .card-image {
|
|
height: 14rem;
|
|
}
|
|
}
|
|
#post-card .card-item-container {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
#post-card .card-inner-cell {
|
|
width: 100%;
|
|
}
|
|
#post-card .card-header {
|
|
padding: 0.8rem 1.2rem 2rem;
|
|
border-bottom: 0.05rem solid var(--card-header);
|
|
}
|
|
#post-card .post-header-info {
|
|
margin-bottom: 0;
|
|
font-size: 0.75rem;
|
|
}
|
|
#post-card .post-header-info-left {
|
|
float: left;
|
|
line-height: 1.6;
|
|
}
|
|
#post-card .post-header-info-right {
|
|
float: right;
|
|
}
|
|
#post-card .post-header-info-right a {
|
|
text-decoration: none !important;
|
|
}
|
|
.post-categories-list,
|
|
.post-tags-list {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-weight: 400;
|
|
letter-spacing: 0;
|
|
font-size: 0.7rem;
|
|
line-height: 1.3;
|
|
}
|
|
a.post-categories-list-item,
|
|
a.post-tags-list-item {
|
|
display: inline-block;
|
|
font-size: 0.6rem;
|
|
border: 1px solid #c2c2c2;
|
|
color: var(--tag-item);
|
|
border-radius: 3px;
|
|
padding: 0.1rem 0.3rem;
|
|
margin: 0.2rem 0.2rem 0 0;
|
|
text-align: center;
|
|
}
|
|
a.post-tags-list-item:hover,
|
|
a.post-tags-list-item:visited {
|
|
color: var(--tag-item);
|
|
text-decoration: none !important;
|
|
}
|
|
a.post-categories-list-item,
|
|
a.post-categories-list-item:hover,
|
|
a.post-categories-list-item:visited {
|
|
background-color: var(--post-categories-list-item-background);
|
|
color: var(--post-categories-list-item-color) !important;
|
|
text-decoration: none !important;
|
|
}
|
|
a.category-link {
|
|
color: var(--category-link);
|
|
text-decoration: none !important;
|
|
}
|
|
#post-toc {
|
|
display: none;
|
|
position: relative;
|
|
z-index: 0;
|
|
max-width: 890px;
|
|
margin-right: auto !important;
|
|
margin-left: auto !important;
|
|
text-align: right;
|
|
line-height: 0.7rem;
|
|
font-size: 0.625rem;
|
|
}
|
|
#post-toc > ol {
|
|
margin-left: 2rem;
|
|
max-width: 8rem;
|
|
position: fixed;
|
|
z-index: 0;
|
|
top: 13.5rem;
|
|
display: inline-block;
|
|
text-align: left;
|
|
}
|
|
@media screen and (max-width: 960px) {
|
|
#post-toc {
|
|
display: none;
|
|
}
|
|
}
|
|
#post-toc ol {
|
|
list-style: none;
|
|
}
|
|
#post-toc .post-toc-child {
|
|
margin: 0.2rem 0 0.2rem 0.5rem;
|
|
}
|
|
#post-card .pagination {
|
|
font-size: 0.7rem;
|
|
margin: 0;
|
|
}
|
|
#post-card .post-footer-info {
|
|
text-align: center;
|
|
}
|
|
#post-card .post-license {
|
|
margin: 0 0 1rem;
|
|
padding: 0.5rem 0.8rem;
|
|
border-left: 3px solid #f44336;
|
|
background-color: var(--post-card);
|
|
list-style: none;
|
|
word-break: break-all;
|
|
}
|
|
#post-card .post-expired-notify {
|
|
margin: 0 0 1rem;
|
|
padding: 0.5rem 0.8rem;
|
|
background: var(--post-card-notice);
|
|
border-left: 3px solid #fff000;
|
|
list-style: none;
|
|
}
|
|
#post-card .card-footer.post-comment {
|
|
padding: 1.5rem;
|
|
background-color: var(--post-footer);
|
|
border-radius: 0 0 .5rem .5rem
|
|
}
|
|
#post-card .card-body {
|
|
padding: 1.2rem 0;
|
|
margin: 0 auto;
|
|
max-width: 92%;
|
|
}
|
|
#post-content {
|
|
-ms-text-size-adjust: 100%;
|
|
-webkit-text-size-adjust: 100%;
|
|
line-height: 1.7;
|
|
font-size: 0.8rem;
|
|
word-wrap: break-word;
|
|
padding-top: 0;
|
|
padding-bottom: 1.8rem;
|
|
}
|
|
#post-content .octicon {
|
|
display: inline-block;
|
|
vertical-align: text-top;
|
|
fill: currentColor;
|
|
}
|
|
#post-content a:active,
|
|
#post-content a:hover {
|
|
outline-width: 0;
|
|
}
|
|
#post-content code,
|
|
#post-content .highlight span,
|
|
#post-content .highlight code,
|
|
#post-content pre {
|
|
font-family: "Fira Code", "Noto Sans SC", Consolas, "Panic Sans",
|
|
"DejaVu Sans Mono", "Bitstream Vera Sans Mono", Menlo, "Microsoft Yahei",
|
|
monospace !important;
|
|
}
|
|
#post-content input {
|
|
margin: 0;
|
|
overflow: visible;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
line-height: inherit;
|
|
}
|
|
#post-content [type="checkbox"] {
|
|
box-sizing: border-box;
|
|
padding: 0;
|
|
}
|
|
#post-content * {
|
|
box-sizing: border-box;
|
|
}
|
|
#post-content a {
|
|
background-color: transparent;
|
|
text-decoration: none !important;
|
|
}
|
|
#post-content a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
#post-content strong {
|
|
font-weight: 600;
|
|
}
|
|
#post-content hr::before {
|
|
display: table;
|
|
content: "";
|
|
}
|
|
#post-content hr::after {
|
|
display: table;
|
|
clear: both;
|
|
content: "";
|
|
}
|
|
#post-content td,
|
|
#post-content th {
|
|
padding: 0;
|
|
}
|
|
#post-content h1 {
|
|
padding-bottom: 0.3em;
|
|
font-size: 2em;
|
|
border-bottom: 1px solid var(--markdown-h1-border);
|
|
}
|
|
#post-content h2 {
|
|
padding-bottom: 0.3em;
|
|
font-size: 1.5em;
|
|
border-bottom: 1px solid var(--markdown-h1-border);
|
|
}
|
|
#post-content h3 {
|
|
font-size: 1.25em;
|
|
}
|
|
#post-content h4 {
|
|
font-size: 1em;
|
|
}
|
|
#post-content h5 {
|
|
font-size: 0.875em;
|
|
}
|
|
#post-content h6 {
|
|
font-size: 0.85em;
|
|
color: var(--markdown-h6);
|
|
}
|
|
#post-content p {
|
|
margin-top: 0;
|
|
margin-bottom: 10px;
|
|
}
|
|
#post-content ol ol,
|
|
#post-content ul ol {
|
|
list-style-type: lower-roman;
|
|
}
|
|
#post-content ul ul ol,
|
|
#post-content ul ol ol,
|
|
#post-content ol ul ol,
|
|
#post-content ol ol ol {
|
|
list-style-type: lower-alpha;
|
|
}
|
|
#post-content dd {
|
|
margin-left: 0;
|
|
}
|
|
#post-content pre {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
font-size: 12px;
|
|
word-wrap: normal;
|
|
}
|
|
#post-content .octicon {
|
|
vertical-align: text-bottom;
|
|
}
|
|
#post-content::before {
|
|
display: table;
|
|
content: "";
|
|
}
|
|
#post-content::after {
|
|
display: table;
|
|
clear: both;
|
|
content: "";
|
|
}
|
|
#post-content > *:first-child {
|
|
margin-top: 0 !important;
|
|
}
|
|
#post-content > *:last-child {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
#post-content a:not([href]) {
|
|
color: inherit;
|
|
text-decoration: none !important;
|
|
}
|
|
#post-content .anchor {
|
|
float: left;
|
|
padding-right: 4px;
|
|
margin-left: -20px;
|
|
line-height: 1;
|
|
}
|
|
#post-content .anchor:focus {
|
|
outline: none;
|
|
}
|
|
#post-content p,
|
|
#post-content ul,
|
|
#post-content ol,
|
|
#post-content dl,
|
|
#post-content table,
|
|
#post-content pre {
|
|
margin-top: 0;
|
|
margin-bottom: 16px;
|
|
}
|
|
#post-content hr {
|
|
box-sizing: content-box;
|
|
height: 0.1em;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
margin: 0.8rem 0;
|
|
background: transparent;
|
|
background-color: var(--markdown-hr);
|
|
border-bottom: 1px solid var(--markdown-hr-border);
|
|
border: 0;
|
|
}
|
|
#post-content blockquote {
|
|
margin: 16px 0;
|
|
padding: 0 1em;
|
|
color: var(--markdown-backquote);
|
|
border-left: 0.25em solid var(--markdown-hr-border);
|
|
}
|
|
#post-content blockquote > :first-child {
|
|
margin-top: 0;
|
|
}
|
|
#post-content blockquote > :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
#post-content h1,
|
|
#post-content h2,
|
|
#post-content h3,
|
|
#post-content h4,
|
|
#post-content h5,
|
|
#post-content h6 {
|
|
margin-top: 24px;
|
|
margin-bottom: 16px;
|
|
font-weight: 600;
|
|
line-height: 1.25;
|
|
}
|
|
#post-content h1 .octicon-link,
|
|
#post-content h2 .octicon-link,
|
|
#post-content h3 .octicon-link,
|
|
#post-content h4 .octicon-link,
|
|
#post-content h5 .octicon-link,
|
|
#post-content h6 .octicon-link {
|
|
color: var(--markdown-title-link);
|
|
vertical-align: middle;
|
|
visibility: hidden;
|
|
}
|
|
#post-content h1:hover .anchor,
|
|
#post-content h2:hover .anchor,
|
|
#post-content h3:hover .anchor,
|
|
#post-content h4:hover .anchor,
|
|
#post-content h5:hover .anchor,
|
|
#post-content h6:hover .anchor {
|
|
text-decoration: none !important;
|
|
}
|
|
#post-content h1:hover .anchor .octicon-link,
|
|
#post-content h2:hover .anchor .octicon-link,
|
|
#post-content h3:hover .anchor .octicon-link,
|
|
#post-content h4:hover .anchor .octicon-link,
|
|
#post-content h5:hover .anchor .octicon-link,
|
|
#post-content h6:hover .anchor .octicon-link {
|
|
visibility: visible;
|
|
}
|
|
#post-content ul {
|
|
list-style: disc;
|
|
}
|
|
#post-content ol {
|
|
list-style: decimal;
|
|
}
|
|
#post-content ul,
|
|
#post-content ol {
|
|
padding-left: 0.5rem;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
margin-left: 0.7rem;
|
|
}
|
|
#post-content > ol,
|
|
#post-content > ul {
|
|
margin-bottom: 16px;
|
|
}
|
|
#post-content ul ul,
|
|
#post-content ul ol,
|
|
#post-content ol ol,
|
|
#post-content ol ul {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
#post-content li {
|
|
word-wrap: break-word;
|
|
}
|
|
#post-content li > p {
|
|
margin-top: 16px;
|
|
}
|
|
#post-content li + li {
|
|
margin-top: 0.25em;
|
|
}
|
|
#post-content dl {
|
|
padding: 0;
|
|
}
|
|
#post-content dl dt {
|
|
padding: 0;
|
|
margin-top: 16px;
|
|
font-size: 1em;
|
|
font-style: italic;
|
|
font-weight: 600;
|
|
}
|
|
#post-content dl dd {
|
|
padding: 0 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
#post-content table {
|
|
border-spacing: 0;
|
|
border-collapse: collapse;
|
|
display: block;
|
|
width: 100%;
|
|
overflow: auto;
|
|
}
|
|
#post-content table th {
|
|
font-weight: 600;
|
|
}
|
|
#post-content table th,
|
|
#post-content table td {
|
|
padding: 6px 13px;
|
|
border: 1px solid var(--markdown-hr-border);
|
|
}
|
|
#post-content table tr {
|
|
background-color: var(--background);
|
|
border-top: 1px solid var(--border-bottom);
|
|
}
|
|
#post-content table tr:not(.highlight) {
|
|
background-color: transparent;
|
|
}
|
|
#post-content table tr:nth-child(2n) {
|
|
background-color: var(--table);
|
|
}
|
|
#post-content img {
|
|
max-width: 100%;
|
|
border-style: none;
|
|
box-sizing: content-box;
|
|
background-color: var(--background);
|
|
}
|
|
#post-content img[align="right"] {
|
|
padding-left: 20px;
|
|
}
|
|
#post-content img[align="left"] {
|
|
padding-right: 20px;
|
|
}
|
|
#post-content code {
|
|
margin: 0;
|
|
font-size: 80%;
|
|
background-color: var(--post-footer);
|
|
color: inherit;
|
|
border-radius: 3px;
|
|
padding: 0 0.2rem;
|
|
}
|
|
#post-content pre > code {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-size: 95%;
|
|
word-break: normal;
|
|
white-space: pre;
|
|
border: 0;
|
|
}
|
|
#post-content > pre:not(.highlight):not(.prettyprint) {
|
|
background: var(--post-card);
|
|
padding-left: 1em;
|
|
}
|
|
#post-content .highlight {
|
|
margin-bottom: 16px;
|
|
}
|
|
#post-content .highlight table {
|
|
margin-bottom: 0;
|
|
}
|
|
#post-content .highlight pre {
|
|
margin-bottom: 0;
|
|
word-break: normal;
|
|
background: transparent !important;
|
|
}
|
|
#post-content .highlight pre,
|
|
#post-content pre {
|
|
padding-top: 1em;
|
|
padding-right: 1em;
|
|
padding-bottom: 1em;
|
|
overflow: auto;
|
|
font-size: 85%;
|
|
line-height: 1.45;
|
|
border-radius: 3px;
|
|
}
|
|
#post-content pre code {
|
|
display: inline;
|
|
max-width: auto;
|
|
padding: 0;
|
|
margin: 0;
|
|
overflow: visible;
|
|
line-height: 1.5;
|
|
word-wrap: normal;
|
|
background-color: transparent;
|
|
border: 0;
|
|
}
|
|
#post-content kbd {
|
|
display: inline-block;
|
|
padding: 3px 5px;
|
|
font: 11px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier,
|
|
monospace;
|
|
line-height: 10px;
|
|
color: var(--kbd-color);
|
|
vertical-align: middle;
|
|
background-color: var(--kbd-background-color);
|
|
border: solid 1px #d1d5da;
|
|
border-bottom-color: var(--border-bottom);
|
|
border-radius: 3px;
|
|
box-shadow: inset 0 -1px 0 var(--border-bottom);
|
|
}
|
|
#post-content :checked + .radio-label {
|
|
position: relative;
|
|
z-index: 1;
|
|
border-color: #0366d6;
|
|
}
|
|
#post-content .task-list-item {
|
|
list-style-type: none;
|
|
}
|
|
#post-content .task-list-item + .task-list-item {
|
|
margin-top: 3px;
|
|
}
|
|
#post-content .task-list-item input {
|
|
margin: 0 0.2em 0.25em -1.6em;
|
|
vertical-align: middle;
|
|
}
|
|
#post-content figure.highlight {
|
|
margin: 1rem 0;
|
|
}
|
|
#post-content figure.highlight tr {
|
|
background: transparent !important;
|
|
}
|
|
#post-content figure.highlight pre {
|
|
margin: 0.1rem 0;
|
|
padding: 0 0 0 10px;
|
|
}
|
|
#post-content figure.highlight pre span.line {
|
|
padding: 0 10px 0 0;
|
|
}
|
|
#post-content .highlight td {
|
|
padding: 0;
|
|
border: none;
|
|
}
|
|
#post-content .highlight table tr {
|
|
border: none;
|
|
}
|
|
#post-content .prettyprint ol {
|
|
margin: 0;
|
|
}
|
|
footer {
|
|
padding: 1.5rem 1.2rem 1.2rem;
|
|
font-size: 0.75rem;
|
|
color: var(--post-hover);
|
|
}
|
|
.footer-copyright-a,
|
|
.footer-copyright-a:visited {
|
|
text-decoration: none !important;
|
|
color: var(--post-hover);
|
|
}
|
|
.footer-copyright-a:hover,
|
|
.footer-copyright-a:focus {
|
|
color: var(--footer-hover);
|
|
text-decoration: underline !important;
|
|
}
|
|
.footer-text a {
|
|
color: var(--post-hover);
|
|
}
|
|
.footer-develop-a,
|
|
.footer-develop-a:visited {
|
|
color: var(--footer-dev);
|
|
}
|
|
.footer-develop-a:hover,
|
|
.footer-develop-a:focus {
|
|
color: var(--footer-hover);
|
|
}
|
|
.footer-develop-divider {
|
|
margin: 0 0.3rem;
|
|
}
|
|
.footer-develop-divider::after {
|
|
content: "|";
|
|
}
|
|
.tagscloud {
|
|
margin: 0 3rem 3rem;
|
|
padding: 0 1rem;
|
|
min-height: 20rem;
|
|
}
|
|
@media screen and (max-width: 960px) {
|
|
.tagscloud {
|
|
min-height: 10rem;
|
|
margin-left: 1.5rem;
|
|
margin-right: 1.5rem;
|
|
}
|
|
}
|
|
@media screen and (max-width: 480px) {
|
|
.tagscloud {
|
|
min-height: 5rem;
|
|
margin-left: 0.5rem;
|
|
margin-right: 0.5rem;
|
|
padding: 0;
|
|
}
|
|
}
|
|
.tagscloud a {
|
|
text-decoration: none !important;
|
|
padding: 0.5rem;
|
|
margin: 0.2rem;
|
|
line-height: 2;
|
|
white-space: nowrap;
|
|
transition: 0.2s;
|
|
opacity: 1;
|
|
}
|
|
.tagscloud a:hover {
|
|
transition: 0.2s;
|
|
opacity: 0.85;
|
|
padding: 0.75rem;
|
|
}
|
|
.timeline .timeline-item {
|
|
display: flex;
|
|
display: -ms-flexbox;
|
|
margin-bottom: 1.2rem;
|
|
position: relative;
|
|
}
|
|
.timeline .timeline-item::before {
|
|
background: var(--timeline);
|
|
content: "";
|
|
height: 100%;
|
|
left: 11px;
|
|
position: absolute;
|
|
top: 1.2rem;
|
|
width: 2px;
|
|
}
|
|
.timeline .timeline-item .timeline-left {
|
|
-ms-flex: 0 0 auto;
|
|
flex: 0 0 auto;
|
|
}
|
|
.timeline .timeline-item .timeline-content {
|
|
-ms-flex: 1 1 auto;
|
|
flex: 1 1 auto;
|
|
padding: 2px 0 2px 0.8rem;
|
|
}
|
|
.timeline .timeline-item .timeline-icon {
|
|
border-radius: 50%;
|
|
color: var(--background);
|
|
display: block;
|
|
height: 1.2rem;
|
|
text-align: center;
|
|
width: 1.2rem;
|
|
}
|
|
.timeline .timeline-item .timeline-icon::before {
|
|
border: 0.1rem solid #5755d9;
|
|
border-radius: 50%;
|
|
content: "";
|
|
display: block;
|
|
height: 0.4rem;
|
|
left: 0.4rem;
|
|
position: absolute;
|
|
top: 0.4rem;
|
|
width: 0.4rem;
|
|
}
|
|
.timeline .timeline-item .timeline-icon.icon-lg {
|
|
background: #5755d9;
|
|
line-height: 1.2rem;
|
|
}
|
|
.timeline .timeline-item .timeline-icon.icon-lg::before {
|
|
content: none;
|
|
}
|
|
a.timeline-tile-title,
|
|
a.timeline-tile-title span,
|
|
a.timeline-tile-title:visited {
|
|
color: var(--time-line-hover);
|
|
opacity: 0.85;
|
|
}
|
|
a.timeline-tile-title span:hover {
|
|
color: var(--time-line-hover);
|
|
opacity: 1;
|
|
}
|
|
#search-input .form-input:focus {
|
|
border-color: rgba(0, 0, 0, 0.4);
|
|
box-shadow: 0 0 0 0.08rem rgba(0, 0, 0, 0.2);
|
|
}
|
|
#search-input .st-default-search-input {
|
|
background: none;
|
|
padding: 0 0.6rem;
|
|
}
|
|
#search-output {
|
|
min-height: 20rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
@media screen and (max-width: 960px) {
|
|
#search-output {
|
|
min-height: 10rem;
|
|
}
|
|
}
|
|
@media screen and (max-width: 480px) {
|
|
#search-output {
|
|
min-height: 5rem;
|
|
}
|
|
}
|
|
#search-output .tile {
|
|
padding-top: 0.8rem;
|
|
padding-bottom: 0.8rem;
|
|
border-top: 0.05rem solid var(--timeline);
|
|
}
|
|
#search-result-info {
|
|
padding-top: 0.5rem;
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
.search-result-title {
|
|
margin-bottom: 0.25rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
.saerch-result-date {
|
|
padding-right: 0.4rem;
|
|
color: var(--search);
|
|
}
|
|
.search-result-summary {
|
|
font-size: 0.7rem;
|
|
line-height: 1rem !important;
|
|
max-height: 3rem;
|
|
overflow: hidden;
|
|
margin-bottom: 0;
|
|
}
|
|
.search-noresult {
|
|
padding-top: 0.5rem;
|
|
}
|
|
.link-container {
|
|
padding: 0.4rem 0;
|
|
}
|
|
@media (min-width: 960px) {
|
|
.link-container {
|
|
padding: 0.8rem 1.2rem 1.2rem;
|
|
}
|
|
}
|
|
.link-list {
|
|
padding: 0;
|
|
margin: 0 auto;
|
|
max-width: 15.8rem;
|
|
}
|
|
@media screen and (min-width: 680px) {
|
|
.link-list {
|
|
max-width: 33.2rem;
|
|
}
|
|
}
|
|
@media screen and (min-width: 1024px) {
|
|
.link-list {
|
|
max-width: 49.8rem;
|
|
}
|
|
}
|
|
@media screen and (min-width: 1340px) {
|
|
.link-list {
|
|
max-width: 66.4rem;
|
|
}
|
|
}
|
|
.link-item {
|
|
margin: 0.4rem;
|
|
box-shadow: 0 1px 1.5px 1px rgba(0, 0, 0, 0.12);
|
|
transition: all 0.3s;
|
|
height: 3.8rem;
|
|
width: 15rem;
|
|
float: left;
|
|
border-radius: .5rem;
|
|
}
|
|
.link-item a,
|
|
.link-item a:hover,
|
|
.link-item a:focus,
|
|
.link-item a:visited {
|
|
text-decoration: none !important;
|
|
}
|
|
.link-item .link-img img {
|
|
vertical-align: middle;
|
|
height: 3.8rem;
|
|
width: 3.8rem;
|
|
}
|
|
.link-item .link-content {
|
|
padding-left: 0.6rem !important;
|
|
/* padding-right: 0.6rem !important; */
|
|
}
|
|
.link-item .link-title {
|
|
font-size: 0.9rem;
|
|
/*color: var(--link);*/
|
|
}
|
|
.link-item .link-descr {
|
|
font-size: 0.65rem;
|
|
}
|
|
#nprogress {
|
|
pointer-events: none;
|
|
}
|
|
#nprogress .bar {
|
|
background: #0070ff;
|
|
position: fixed;
|
|
z-index: 1031;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 2px;
|
|
}
|
|
#nprogress .peg {
|
|
display: block;
|
|
position: absolute;
|
|
right: 0;
|
|
width: 100px;
|
|
height: 100%;
|
|
box-shadow: 0 0 10px #0070ff, 0 0 5px #0070ff;
|
|
opacity: 1;
|
|
-webkit-transform: rotate(3deg) translate(0, -4px);
|
|
-ms-transform: rotate(3deg) translate(0, -4px);
|
|
transform: rotate(3deg) translate(0, -4px);
|
|
}
|
|
#nprogress .spinner {
|
|
display: block;
|
|
position: fixed;
|
|
z-index: 1031;
|
|
top: 15px;
|
|
right: 15px;
|
|
}
|
|
#nprogress .spinner-icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
box-sizing: border-box;
|
|
border: solid 2px transparent;
|
|
border-top-color: #0070ff;
|
|
border-left-color: #0070ff;
|
|
border-radius: 50%;
|
|
-webkit-animation: nprogress-spinner 0.4s linear infinite;
|
|
animation: nprogress-spinner 0.4s linear infinite;
|
|
}
|
|
.nprogress-custom-parent {
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
.nprogress-custom-parent #nprogress .bar,
|
|
.nprogress-custom-parent #nprogress .spinner {
|
|
position: absolute;
|
|
}
|
|
@-webkit-keyframes nprogress-spinner {
|
|
0% {
|
|
-webkit-transform: rotate(0);
|
|
}
|
|
100% {
|
|
-webkit-transform: rotate(360deg);
|
|
}
|
|
}
|
|
@keyframes nprogress-spinner {
|
|
0% {
|
|
transform: rotate(0);
|
|
}
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
.highlight {
|
|
color: #3b4351;
|
|
background: #f8f8f8;
|
|
display: block;
|
|
overflow-x: auto;
|
|
padding: 0.5em;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
.hightlight {
|
|
color: #a9b7c6 !important;
|
|
}
|
|
}
|
|
.highlight .bullet,
|
|
.highlight .literal,
|
|
.highlight .number,
|
|
.highlight .symbol {
|
|
color: #6897bb;
|
|
}
|
|
.highlight .deletion,
|
|
.highlight .keyword,
|
|
.highlight .selector-tag {
|
|
color: #cc7832;
|
|
}
|
|
.highlight .link,
|
|
.highlight .template-variable,
|
|
.highlight .variable {
|
|
color: #629755;
|
|
}
|
|
.highlight .comment,
|
|
.highlight .quote {
|
|
color: grey;
|
|
}
|
|
.highlight .meta {
|
|
color: #bbb529;
|
|
}
|
|
.highlight .addition,
|
|
.highlight .attribute,
|
|
.highlight .string {
|
|
color: #6a8759;
|
|
}
|
|
.highlight .section,
|
|
.highlight .title,
|
|
.highlight .type {
|
|
color: #ffc66d;
|
|
}
|
|
.highlight .name,
|
|
.highlight .selector-class,
|
|
.highlight .selector-id {
|
|
color: #e8bf6a;
|
|
}
|
|
.highlight .emphasis {
|
|
font-style: italic;
|
|
}
|
|
.highlight .strong {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.tile-content.link-content {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
.link-img{
|
|
display: inline-block;
|
|
}
|
|
|
|
.link-list{
|
|
display: flow-root;
|
|
}
|
|
.link-img img {
|
|
border-radius: .5rem;
|
|
}
|
|
|
|
#post-content .note {
|
|
padding: 15px;
|
|
margin-bottom: 20px;
|
|
border-radius: .4rem;
|
|
border: 1px solid var(--timeline);
|
|
border-left-width: .25em;
|
|
}
|
|
#post-content .note.default {
|
|
border-left-color: #777
|
|
}
|
|
#post-content .note.primary {
|
|
border-left-color: #6f42c1
|
|
}
|
|
#post-content .note.info {
|
|
border-left-color: #428bca
|
|
}
|
|
#post-content .note.success {
|
|
border-left-color: #5cb85c
|
|
}
|
|
#post-content .note.warning {
|
|
border-left-color: #f0ad4e
|
|
}
|
|
#post-content .note.danger {
|
|
border-left-color: #d9534f
|
|
} |