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 {
|
||||
-webkit-justify-content: center;
|
||||
-moz-justify-content: center;
|
||||
-ms-justify-content: center;
|
||||
justify-content: center;
|
||||
-webkit-justify-content: center;
|
||||
-moz-justify-content: center;
|
||||
-ms-justify-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.non-narrow.zero-top-spacing {
|
||||
padding-top: 0 !important;
|
||||
padding-top: 0 !important;
|
||||
}
|
||||
|
||||
section {
|
||||
padding: 0 16px;
|
||||
margin-left: 100px;
|
||||
margin-right: 100px;
|
||||
max-width: 750px;
|
||||
padding: 0 16px;
|
||||
margin-left: 100px;
|
||||
margin-right: 100px;
|
||||
max-width: 750px;
|
||||
}
|
||||
|
||||
section.header {
|
||||
background-color: transparent;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
section.header .container {
|
||||
-webkit-justify-content: flex-start;
|
||||
-moz-justify-content: flex-start;
|
||||
-ms-justify-content: flex-start;
|
||||
justify-content: flex-start;
|
||||
-webkit-justify-content: flex-start;
|
||||
-moz-justify-content: flex-start;
|
||||
-ms-justify-content: flex-start;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
section.header .container .logo {
|
||||
margin-left: 0;
|
||||
margin-right: 10px;
|
||||
display: block;
|
||||
margin-left: 0;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
section.header-home .container .logo {
|
||||
max-width: 180px;
|
||||
margin-left: 0;
|
||||
margin-right: 10px;
|
||||
max-width: 180px;
|
||||
margin-left: 0;
|
||||
margin-right: 10px;
|
||||
}
|
||||
section.header-home .name-home {
|
||||
padding-top: 30px;
|
||||
font-size: 40px;
|
||||
|
||||
section.header-home .name {
|
||||
padding-top: 30px;
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
section.header-home nav ul li {
|
||||
font-size: 18px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
section.header .content {
|
||||
-webkit-align-items: flex-start;
|
||||
-moz-align-items: flex-start;
|
||||
-ms-align-items: flex-start;
|
||||
align-items: flex-start;
|
||||
-webkit-align-items: flex-start;
|
||||
-moz-align-items: flex-start;
|
||||
-ms-align-items: flex-start;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
section.header .name {
|
||||
color: #333333;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
section.header nav {
|
||||
font-size: 14px;
|
||||
margin-bottom: 0;
|
||||
font-size: 14px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
section.header nav ul {
|
||||
text-align: left;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
section.header nav ul li {
|
||||
color: #666666;
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
section.header nav ul li:hover {
|
||||
color: #333333;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
section.footer {
|
||||
background-color: transparent;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
section.footer .container {
|
||||
flex-direction: row;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
section.footer .container a {
|
||||
margin-left: 3px;
|
||||
margin-right: 3px;
|
||||
color: #666666;
|
||||
margin-left: 3px;
|
||||
margin-right: 3px;
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
section.footer .container a:hover {
|
||||
color: #333333;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
section.footer .container a .icon {
|
||||
font-size: 18px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
section.footer .container a .icon.larger {
|
||||
font-size: 20px;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
section.main .content .front-matter .date,
|
||||
section.main .content .front-matter .author,
|
||||
section.main .content .front-matter .tags,
|
||||
section.main .content .front-matter .word-count,
|
||||
section.main .content .front-matter .reading-time .middot {
|
||||
display: initial;
|
||||
display: initial;
|
||||
}
|
||||
|
||||
section.main .container.f04 {
|
||||
-webkit-justify-content: flex-start;
|
||||
-moz-justify-content: flex-start;
|
||||
-ms-justify-content: flex-start;
|
||||
justify-content: flex-start;
|
||||
-webkit-justify-content: flex-start;
|
||||
-moz-justify-content: flex-start;
|
||||
-ms-justify-content: flex-start;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
section.main .container.f04 .content {
|
||||
-webkit-align-items: flex-start;
|
||||
-moz-align-items: flex-start;
|
||||
-ms-align-items: flex-start;
|
||||
align-items: flex-start;
|
||||
-webkit-align-items: flex-start;
|
||||
-moz-align-items: flex-start;
|
||||
-ms-align-items: flex-start;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
section.main .container.f04 .content .num {
|
||||
margin: 0 0 10px 0;
|
||||
font-size: 32px;
|
||||
margin: 0 0 10px 0;
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
section.main .container.f04 .content .detail {
|
||||
margin-bottom: 30px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 0 30px;
|
||||
padding: 0 30px;
|
||||
}
|
||||
|
||||
section.header {
|
||||
padding-top: 60px;
|
||||
padding-bottom: 60px;
|
||||
padding-top: 60px;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
|
||||
section.footer {
|
||||
padding-top: 30px;
|
||||
padding-bottom: 60px;
|
||||
padding-top: 30px;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
|
||||
section.main {
|
||||
padding-top: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
section.main .container .content .post-item {
|
||||
display: flex;
|
||||
list-style: none;
|
||||
padding-left: 1.5em;
|
||||
display: flex;
|
||||
list-style: none;
|
||||
padding-left: 1.5em;
|
||||
}
|
||||
|
||||
section.main .container .content .post-item .meta {
|
||||
display: block;
|
||||
display: block;
|
||||
}
|
||||
|
||||
section.main.post {
|
||||
padding-top: 60px;
|
||||
padding-bottom: 60px;
|
||||
padding-top: 60px;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
|
||||
section.main .content .markdown blockquote {
|
||||
padding-right: 5rem;
|
||||
padding-left: 1.25rem;
|
||||
padding-right: 5rem;
|
||||
padding-left: 1.25rem;
|
||||
}
|
||||
|
||||
section.main .content .navigation {
|
||||
-webkit-flex-direction: row;
|
||||
-moz-flex-direction: row;
|
||||
-ms-flex-direction: row;
|
||||
flex-direction: row;
|
||||
-webkit-flex-direction: row;
|
||||
-moz-flex-direction: row;
|
||||
-ms-flex-direction: row;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
section.main .content .navigation div {
|
||||
margin-top: 0em;
|
||||
margin-top: 0em;
|
||||
}
|
|
@ -1,15 +1,18 @@
|
|||
section.main .content .page-heading {
|
||||
font-size: 36px;
|
||||
}
|
||||
|
||||
section.main .content .markdown figure {
|
||||
width: 110%;
|
||||
margin-left: -4%;
|
||||
}
|
||||
|
||||
section.main .content .markdown img {
|
||||
max-width: 110%;
|
||||
width: 110%;
|
||||
margin-left: -4%;
|
||||
}
|
||||
|
||||
section.main .content .markdown pre {
|
||||
width: 110%;
|
||||
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