Tweak styling a bit
This commit is contained in:
parent
17b0513d49
commit
e85bc8496c
|
@ -1 +1,66 @@
|
||||||
.hljs{display:block;background:white;padding:0.5em;color:#333333;overflow-x:auto}.hljs-comment,.hljs-meta{color:#969896}.hljs-string,.hljs-variable,.hljs-template-variable,.hljs-strong,.hljs-emphasis,.hljs-quote{color:#df5000}.hljs-keyword,.hljs-selector-tag,.hljs-type{color:#a71d5d}.hljs-literal,.hljs-symbol,.hljs-bullet,.hljs-attribute{color:#0086b3}.hljs-section,.hljs-name{color:#63a35c}.hljs-tag{color:#333333}.hljs-title,.hljs-attr,.hljs-selector-id,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo{color:#795da3}.hljs-addition{color:#55a532;background-color:#eaffea}.hljs-deletion{color:#bd2c00;background-color:#ffecec}.hljs-link{text-decoration:underline}
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
background: white;
|
||||||
|
padding: 0.5em;
|
||||||
|
color: #333333;
|
||||||
|
overflow-x: auto
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-meta {
|
||||||
|
color: #969896
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-strong,
|
||||||
|
.hljs-emphasis,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #df5000
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-type {
|
||||||
|
color: #a71d5d
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-attribute {
|
||||||
|
color: #0086b3
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-name {
|
||||||
|
color: #63a35c
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-tag {
|
||||||
|
color: #333333
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-attr,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo {
|
||||||
|
color: #795da3
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-addition {
|
||||||
|
color: #55a532;
|
||||||
|
background-color: #eaffea
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #bd2c00;
|
||||||
|
background-color: #ffecec
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-link {
|
||||||
|
text-decoration: underline
|
||||||
|
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
|
@ -1,147 +1,183 @@
|
||||||
body {
|
body {
|
||||||
-webkit-justify-content: center;
|
-webkit-justify-content: center;
|
||||||
-moz-justify-content: center;
|
-moz-justify-content: center;
|
||||||
-ms-justify-content: center;
|
-ms-justify-content: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.non-narrow.zero-top-spacing {
|
.non-narrow.zero-top-spacing {
|
||||||
padding-top: 0 !important;
|
padding-top: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
section {
|
section {
|
||||||
padding: 0 16px;
|
padding: 0 16px;
|
||||||
margin-left: 100px;
|
margin-left: 100px;
|
||||||
margin-right: 100px;
|
margin-right: 100px;
|
||||||
max-width: 750px;
|
max-width: 750px;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.header {
|
section.header {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.header .container {
|
section.header .container {
|
||||||
-webkit-justify-content: flex-start;
|
-webkit-justify-content: flex-start;
|
||||||
-moz-justify-content: flex-start;
|
-moz-justify-content: flex-start;
|
||||||
-ms-justify-content: flex-start;
|
-ms-justify-content: flex-start;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.header .container .logo {
|
section.header .container .logo {
|
||||||
margin-left: 0;
|
display: block;
|
||||||
margin-right: 10px;
|
margin-left: 0;
|
||||||
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.header-home .container .logo {
|
section.header-home .container .logo {
|
||||||
max-width: 180px;
|
max-width: 180px;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
section.header-home .name-home {
|
|
||||||
padding-top: 30px;
|
section.header-home .name {
|
||||||
font-size: 40px;
|
padding-top: 30px;
|
||||||
|
font-size: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.header-home nav ul li {
|
section.header-home nav ul li {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.header .content {
|
section.header .content {
|
||||||
-webkit-align-items: flex-start;
|
-webkit-align-items: flex-start;
|
||||||
-moz-align-items: flex-start;
|
-moz-align-items: flex-start;
|
||||||
-ms-align-items: flex-start;
|
-ms-align-items: flex-start;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.header .name {
|
section.header .name {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.header nav {
|
section.header nav {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.header nav ul {
|
section.header nav ul {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.header nav ul li {
|
section.header nav ul li {
|
||||||
color: #666666;
|
color: #666666;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.header nav ul li:hover {
|
section.header nav ul li:hover {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.footer {
|
section.footer {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.footer .container {
|
section.footer .container {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.footer .container a {
|
section.footer .container a {
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.footer .container a:hover {
|
section.footer .container a:hover {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.footer .container a .icon {
|
section.footer .container a .icon {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.footer .container a .icon.larger {
|
section.footer .container a .icon.larger {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.main .content .front-matter .date,
|
section.main .content .front-matter .date,
|
||||||
section.main .content .front-matter .author,
|
section.main .content .front-matter .author,
|
||||||
section.main .content .front-matter .tags,
|
section.main .content .front-matter .tags,
|
||||||
section.main .content .front-matter .word-count,
|
section.main .content .front-matter .word-count,
|
||||||
section.main .content .front-matter .reading-time .middot {
|
section.main .content .front-matter .reading-time .middot {
|
||||||
display: initial;
|
display: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.main .container.f04 {
|
section.main .container.f04 {
|
||||||
-webkit-justify-content: flex-start;
|
-webkit-justify-content: flex-start;
|
||||||
-moz-justify-content: flex-start;
|
-moz-justify-content: flex-start;
|
||||||
-ms-justify-content: flex-start;
|
-ms-justify-content: flex-start;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.main .container.f04 .content {
|
section.main .container.f04 .content {
|
||||||
-webkit-align-items: flex-start;
|
-webkit-align-items: flex-start;
|
||||||
-moz-align-items: flex-start;
|
-moz-align-items: flex-start;
|
||||||
-ms-align-items: flex-start;
|
-ms-align-items: flex-start;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.main .container.f04 .content .num {
|
section.main .container.f04 .content .num {
|
||||||
margin: 0 0 10px 0;
|
margin: 0 0 10px 0;
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.main .container.f04 .content .detail {
|
section.main .container.f04 .content .detail {
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
padding: 0 30px;
|
padding: 0 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.header {
|
section.header {
|
||||||
padding-top: 60px;
|
padding-top: 60px;
|
||||||
padding-bottom: 60px;
|
padding-bottom: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.footer {
|
section.footer {
|
||||||
padding-top: 30px;
|
padding-top: 30px;
|
||||||
padding-bottom: 60px;
|
padding-bottom: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.main {
|
section.main {
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.main .container .content .post-item {
|
section.main .container .content .post-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding-left: 1.5em;
|
padding-left: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.main .container .content .post-item .meta {
|
section.main .container .content .post-item .meta {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.main.post {
|
section.main.post {
|
||||||
padding-top: 60px;
|
padding-top: 60px;
|
||||||
padding-bottom: 60px;
|
padding-bottom: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.main .content .markdown blockquote {
|
section.main .content .markdown blockquote {
|
||||||
padding-right: 5rem;
|
padding-right: 5rem;
|
||||||
padding-left: 1.25rem;
|
padding-left: 1.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.main .content .navigation {
|
section.main .content .navigation {
|
||||||
-webkit-flex-direction: row;
|
-webkit-flex-direction: row;
|
||||||
-moz-flex-direction: row;
|
-moz-flex-direction: row;
|
||||||
-ms-flex-direction: row;
|
-ms-flex-direction: row;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.main .content .navigation div {
|
section.main .content .navigation div {
|
||||||
margin-top: 0em;
|
margin-top: 0em;
|
||||||
}
|
}
|
|
@ -1,16 +1,19 @@
|
||||||
section.main .content .page-heading {
|
section.main .content .page-heading {
|
||||||
font-size: 36px;
|
font-size: 36px;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.main .content .markdown figure {
|
section.main .content .markdown figure {
|
||||||
width: 110%;
|
width: 110%;
|
||||||
margin-left: -4%;
|
margin-left: -4%;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.main .content .markdown img {
|
section.main .content .markdown img {
|
||||||
max-width: 110%;
|
max-width: 110%;
|
||||||
width: 110%;
|
width: 110%;
|
||||||
margin-left: -4%;
|
margin-left: -4%;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.main .content .markdown pre {
|
section.main .content .markdown pre {
|
||||||
width: 110%;
|
width: 110%;
|
||||||
margin-left: -4%;
|
margin-left: -4%;
|
||||||
}
|
}
|
|
@ -1 +1,47 @@
|
||||||
.progressive{overflow:hidden;position:relative;background:#efefef}.progressive__img{width:100%;height:100%;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}.progressive--not-loaded{filter:blur(30px);-webkit-filter:blur(30px)}.progressive--is-loaded{filter:blur(20px);-webkit-filter:blur(20px);-webkit-animation:sharpen .5s both;animation:sharpen .5s both}@-webkit-keyframes sharpen{from{filter:blur(20px);-webkit-filter:blur(20px)}to{filter:blur(0);-webkit-filter:blur(0)}}@keyframes sharpen{from{filter:blur(20px);-webkit-filter:blur(20px)}to{filter:blur(0);-webkit-filter:blur(0)}}
|
.progressive {
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
background: #efefef
|
||||||
|
}
|
||||||
|
|
||||||
|
.progressive__img {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
position: absolute;
|
||||||
|
-webkit-transform: translateZ(0);
|
||||||
|
transform: translateZ(0)
|
||||||
|
}
|
||||||
|
|
||||||
|
.progressive--not-loaded {
|
||||||
|
filter: blur(30px);
|
||||||
|
-webkit-filter: blur(30px)
|
||||||
|
}
|
||||||
|
|
||||||
|
.progressive--is-loaded {
|
||||||
|
filter: blur(20px);
|
||||||
|
-webkit-filter: blur(20px);
|
||||||
|
-webkit-animation: sharpen .5s both;
|
||||||
|
animation: sharpen .5s both
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes sharpen {
|
||||||
|
from {
|
||||||
|
filter: blur(20px);
|
||||||
|
-webkit-filter: blur(20px)
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
filter: blur(0);
|
||||||
|
-webkit-filter: blur(0)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes sharpen {
|
||||||
|
from {
|
||||||
|
filter: blur(20px);
|
||||||
|
-webkit-filter: blur(20px)
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
filter: blur(0);
|
||||||
|
-webkit-filter: blur(0)
|
||||||
|
}
|
||||||
|
}
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user