You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
295 lines
4.2 KiB
CSS
295 lines
4.2 KiB
CSS
body {
|
|
line-height: 1;
|
|
font: normal 15px/1.5em 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
color: #404040;
|
|
line-height: 1.75;
|
|
letter-spacing: 0.008em;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: #5badf0;
|
|
}
|
|
|
|
a:hover {
|
|
color: #0366d6;
|
|
}
|
|
|
|
/* markdown content styles */
|
|
blockquote {
|
|
margin-top: 5px;
|
|
margin-bottom: 5px;
|
|
padding-left: 1em;
|
|
margin-left: 0px;
|
|
border-left: 3px solid #eee;
|
|
color: #757575;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3 {
|
|
font-weight: 400;
|
|
}
|
|
p {
|
|
margin-block-start: 1.5em;
|
|
margin-block-end: 1.5em;
|
|
}
|
|
p,
|
|
pre {
|
|
white-space: break-spaces;
|
|
line-break: anywhere;
|
|
word-break: break-word;
|
|
}
|
|
.markdown-image img {
|
|
max-width: 100%;
|
|
}
|
|
.anchor {
|
|
font-size: 100%;
|
|
visibility: hidden;
|
|
color:silver;
|
|
}
|
|
h1:hover a,
|
|
h2:hover a,
|
|
h3:hover a,
|
|
h4:hover a {
|
|
visibility: visible
|
|
}
|
|
.highlight pre {
|
|
padding: 7px;
|
|
}
|
|
p code {
|
|
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
|
|
font-size: inherit;
|
|
background-color: rgba(0, 0, 0, 0.06);
|
|
padding: 0 2px;
|
|
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
border-radius: 2px 2px;
|
|
line-height: inherit;
|
|
word-wrap: break-word;
|
|
text-indent: 0;
|
|
}
|
|
pre code {
|
|
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
|
|
}
|
|
|
|
|
|
/* navigation */
|
|
|
|
nav.navigation {
|
|
padding: 20px 20px 0;
|
|
background: #fff;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
margin: 0 auto;
|
|
text-align: right;
|
|
z-index: 100;
|
|
}
|
|
|
|
nav.navigation a {
|
|
top: 8px;
|
|
right: 6px;
|
|
padding: 8px 12px;
|
|
color: #5badf0;
|
|
font-size: 13px;
|
|
line-height: 1.35;
|
|
border-radius: 3px;
|
|
}
|
|
nav.navigation a:hover {
|
|
color: #0366d6;
|
|
}
|
|
|
|
nav.navigation a.button {
|
|
background: #5badf0;
|
|
color: #fff;
|
|
margin-left: 12px;
|
|
}
|
|
@media (max-width: 700px) {
|
|
nav.navigation {
|
|
padding: 20px 10px 0 0;
|
|
background: #fff;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
margin: 0 auto;
|
|
text-align: right;
|
|
z-index: 100;
|
|
}
|
|
nav.navigation a {
|
|
top: 8px;
|
|
right: 6px;
|
|
padding: 8px 8px;
|
|
color: #5badf0;
|
|
font-size: 13px;
|
|
line-height: 1.35;
|
|
border-radius: 3px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 324px) {
|
|
nav.navigation a.button {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* comment */
|
|
#comment {
|
|
margin-top: 64px;
|
|
}
|
|
|
|
/* footer */
|
|
#footer {
|
|
margin-top: 100px;
|
|
}
|
|
|
|
|
|
/* main content */
|
|
.main {
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* profile */
|
|
|
|
.profile {
|
|
margin: 60px auto 0 auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.profile .avatar {
|
|
display: inline-block;
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.profile h1 {
|
|
font-weight: 400;
|
|
letter-spacing: 0px;
|
|
font-size: 20px;
|
|
color: #222;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.profile h2 {
|
|
font-size: 20px;
|
|
font-weight: 300;
|
|
color: #757575;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
/* index post list */
|
|
#list-page {
|
|
max-width: 580px;
|
|
margin: 0 auto;
|
|
padding: 0 24px;
|
|
}
|
|
|
|
#list-page .item {
|
|
margin: 48px 0 0 0;
|
|
}
|
|
|
|
#list-page .title {
|
|
display: inline-block;
|
|
color: #333;
|
|
font-size: 20px;
|
|
font-weight: 400;
|
|
margin: 0;
|
|
width: 80%;
|
|
}
|
|
|
|
#list-page .title a {
|
|
color: #333;
|
|
display: block;
|
|
}
|
|
|
|
#list-page .title a:hover {
|
|
color: #0366d6;
|
|
}
|
|
|
|
#list-page .date {
|
|
width: 20%;
|
|
float: right;
|
|
text-align: right;
|
|
position: relative;
|
|
top: 1px;
|
|
color: #bbb;
|
|
}
|
|
|
|
#list-page .summary {
|
|
color: #757575;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
#list-page .cover {
|
|
width: 100px;
|
|
height: 100px;
|
|
background: #fff;
|
|
}
|
|
|
|
#list-page .cover img {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
#list-page .pagination {
|
|
margin: 48px 0;
|
|
width: 100%;
|
|
height: 32px;
|
|
margin-top: 48px;
|
|
}
|
|
|
|
#list-page .pagination .pre {
|
|
float: left;
|
|
}
|
|
#list-page .pagination .next {
|
|
float: right;
|
|
}
|
|
|
|
/* single page */
|
|
#single {
|
|
max-width: 680px;
|
|
margin: 60px auto 0 auto;
|
|
padding: 0 64px;
|
|
}
|
|
|
|
#single .title {
|
|
text-align: center;
|
|
font-size: 32px;
|
|
font-weight: 400;
|
|
line-height: 48px;
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
#single {
|
|
padding: 0 18px;
|
|
margin: 20px auto 0 auto;
|
|
}
|
|
#single .title {
|
|
font-size: 24px;
|
|
line-height: 32px;
|
|
}
|
|
}
|
|
|
|
#single .tip {
|
|
text-align: center;
|
|
color: #8c8c8c;
|
|
margin-top: 18px;
|
|
font-size: 14px;
|
|
}
|
|
#single .tip .split {
|
|
margin: 0 4px;
|
|
}
|
|
|
|
#single .content {
|
|
margin-top: 36px;
|
|
}
|
|
|
|
#single .tags {
|
|
margin-top: 24px;
|
|
}
|
|
#single .tags a {
|
|
background: #f2f2f2;
|
|
padding: 4px 7px;
|
|
color: #757575;
|
|
font-size: 14px;
|
|
margin-right: 3px;
|
|
}
|
|
|