mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00
Separate media queries in css files and add inline css
This commit is contained in:
1
static/css/highlight.min.css
vendored
1
static/css/highlight.min.css
vendored
@@ -1 +0,0 @@
|
||||
.hljs{display:block;overflow-x:auto;padding:0.5em;background:#F0F0F0}.hljs,.hljs-subst{color:#444}.hljs-comment{color:#888888}.hljs-keyword,.hljs-attribute,.hljs-selector-tag,.hljs-meta-keyword,.hljs-doctag,.hljs-name{font-weight:bold}.hljs-type,.hljs-string,.hljs-number,.hljs-selector-id,.hljs-selector-class,.hljs-quote,.hljs-template-tag,.hljs-deletion{color:#880000}.hljs-title,.hljs-section{color:#880000;font-weight:bold}.hljs-regexp,.hljs-symbol,.hljs-variable,.hljs-template-variable,.hljs-link,.hljs-selector-attr,.hljs-selector-pseudo{color:#BC6060}.hljs-literal{color:#78A960}.hljs-built_in,.hljs-bullet,.hljs-code,.hljs-addition{color:#397300}.hljs-meta{color:#1f7199}.hljs-meta-string{color:#4d99bf}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:bold}
|
@@ -88,17 +88,6 @@ body {
|
||||
line-height: 1.6;
|
||||
text-rendering: optimizeLegibility !important;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
body {
|
||||
-webkit-justify-content: center;
|
||||
-moz-justify-content: center;
|
||||
-ms-justify-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.non-narrow.zero-top-spacing {
|
||||
padding-top: 0 !important;
|
||||
}
|
||||
}
|
||||
.icon {
|
||||
text-rendering: geometricPrecision !important;
|
||||
}
|
||||
@@ -126,14 +115,6 @@ section {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
section {
|
||||
padding: 0 16px;
|
||||
margin-left: 100px;
|
||||
margin-right: 100px;
|
||||
max-width: 750px;
|
||||
}
|
||||
}
|
||||
section.header .container {
|
||||
-webkit-align-items: center;
|
||||
-moz-align-items: center;
|
||||
@@ -211,53 +192,6 @@ section.header nav ul li {
|
||||
section.header nav ul li:hover {
|
||||
color: #111111;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
section.header {
|
||||
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;
|
||||
}
|
||||
section.header .container .logo {
|
||||
margin: 0;
|
||||
}
|
||||
section.header-home .container .logo {
|
||||
max-width: 180px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
section.header-home .name-home {
|
||||
padding-top: 30px;
|
||||
font-size: 40px;
|
||||
}
|
||||
section.header-home nav ul li {
|
||||
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;
|
||||
}
|
||||
section.header .name {
|
||||
color: #333333;
|
||||
}
|
||||
section.header nav {
|
||||
font-size: 14px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
section.header nav ul {
|
||||
text-align: left;
|
||||
}
|
||||
section.header nav ul li {
|
||||
color: #666666;
|
||||
}
|
||||
section.header nav ul li:hover {
|
||||
color: #333333;
|
||||
}
|
||||
}
|
||||
section.footer .container {
|
||||
-webkit-align-items: center;
|
||||
-moz-align-items: center;
|
||||
@@ -302,28 +236,6 @@ section.footer .container .icons {
|
||||
flex-grow: 0.5;
|
||||
text-align: end;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
section.footer {
|
||||
background-color: transparent;
|
||||
}
|
||||
section.footer .container {
|
||||
flex-direction: row;
|
||||
}
|
||||
section.footer .container a {
|
||||
margin-left: 3px;
|
||||
margin-right: 3px;
|
||||
color: #666666;
|
||||
}
|
||||
section.footer .container a:hover {
|
||||
color: #333333;
|
||||
}
|
||||
section.footer .container a .icon {
|
||||
font-size: 18px;
|
||||
}
|
||||
section.footer .container a .icon.larger {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
section.main .container {
|
||||
-webkit-align-items: center;
|
||||
-moz-align-items: center;
|
||||
@@ -420,15 +332,6 @@ section.main .content .front-matter .tags ul li:hover {
|
||||
section.main .content .front-matter .tags ul li a {
|
||||
color: #666666;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
section.main .container.f04 {
|
||||
-webkit-justify-content: center;
|
||||
-moz-justify-content: center;
|
||||
@@ -459,27 +362,6 @@ section.main .container.f04 .content .num {
|
||||
section.main .container.f04 .content .detail {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
section.main .container.f04 {
|
||||
-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;
|
||||
}
|
||||
section.main .container.f04 .content .num {
|
||||
margin: 0 0 10px 0;
|
||||
font-size: 32px;
|
||||
}
|
||||
section.main .container.f04 .content .detail {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
}
|
||||
section.main .container .content .groupby {
|
||||
margin-top: 1em;
|
||||
padding-left: 0.5em;
|
||||
@@ -532,34 +414,6 @@ section.main .container .content .post-item {
|
||||
display: flex;
|
||||
list-style: none;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.container {
|
||||
padding: 0 30px;
|
||||
}
|
||||
section.header {
|
||||
padding-top: 60px;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
section.footer {
|
||||
padding-top: 30px;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
section.main {
|
||||
padding-top: 0;
|
||||
}
|
||||
section.main .container .content .post-item {
|
||||
display: flex;
|
||||
list-style: none;
|
||||
padding-left: 1.5em;
|
||||
}
|
||||
section.main .container .content .post-item .meta {
|
||||
display: block;
|
||||
}
|
||||
section.main.post {
|
||||
padding-top: 60px;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
}
|
||||
a {
|
||||
color: #428bca;
|
||||
-webkit-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
||||
@@ -719,12 +573,6 @@ section.main .content .markdown blockquote {
|
||||
section.main .content .markdown blockquote p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@media (min-width: 550px) {
|
||||
section.main .content .markdown blockquote {
|
||||
padding-right: 5rem;
|
||||
padding-left: 1.25rem;
|
||||
}
|
||||
}
|
||||
section.main .content .markdown figure {
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
@@ -738,17 +586,6 @@ section.main .content .markdown figure img {
|
||||
position: static;
|
||||
margin: auto;
|
||||
}
|
||||
@media (min-width: 769px) {
|
||||
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 table {
|
||||
margin-bottom: 1rem;
|
||||
width: 100%;
|
||||
@@ -815,15 +652,4 @@ section.main .content .navigation a {
|
||||
text-align: center;
|
||||
font-style: italic;
|
||||
color: #313537;
|
||||
}
|
||||
@media (min-width: 570px) {
|
||||
section.main .content .navigation {
|
||||
-webkit-flex-direction: row;
|
||||
-moz-flex-direction: row;
|
||||
-ms-flex-direction: row;
|
||||
flex-direction: row;
|
||||
}
|
||||
section.main .content .navigation div {
|
||||
margin-top: 0em;
|
||||
}
|
||||
}
|
145
static/css/min600px.v1.0.0.css
Normal file
145
static/css/min600px.v1.0.0.css
Normal file
@@ -0,0 +1,145 @@
|
||||
body {
|
||||
-webkit-justify-content: center;
|
||||
-moz-justify-content: center;
|
||||
-ms-justify-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.non-narrow.zero-top-spacing {
|
||||
padding-top: 0 !important;
|
||||
}
|
||||
section {
|
||||
padding: 0 16px;
|
||||
margin-left: 100px;
|
||||
margin-right: 100px;
|
||||
max-width: 750px;
|
||||
}
|
||||
section.header {
|
||||
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;
|
||||
}
|
||||
section.header .container .logo {
|
||||
margin: 0;
|
||||
}
|
||||
section.header-home .container .logo {
|
||||
max-width: 180px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
section.header-home .name-home {
|
||||
padding-top: 30px;
|
||||
font-size: 40px;
|
||||
}
|
||||
section.header-home nav ul li {
|
||||
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;
|
||||
}
|
||||
section.header .name {
|
||||
color: #333333;
|
||||
}
|
||||
section.header nav {
|
||||
font-size: 14px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
section.header nav ul {
|
||||
text-align: left;
|
||||
}
|
||||
section.header nav ul li {
|
||||
color: #666666;
|
||||
}
|
||||
section.header nav ul li:hover {
|
||||
color: #333333;
|
||||
}
|
||||
section.footer {
|
||||
background-color: transparent;
|
||||
}
|
||||
section.footer .container {
|
||||
flex-direction: row;
|
||||
}
|
||||
section.footer .container a {
|
||||
margin-left: 3px;
|
||||
margin-right: 3px;
|
||||
color: #666666;
|
||||
}
|
||||
section.footer .container a:hover {
|
||||
color: #333333;
|
||||
}
|
||||
section.footer .container a .icon {
|
||||
font-size: 18px;
|
||||
}
|
||||
section.footer .container a .icon.larger {
|
||||
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;
|
||||
}
|
||||
section.main .container.f04 {
|
||||
-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;
|
||||
}
|
||||
section.main .container.f04 .content .num {
|
||||
margin: 0 0 10px 0;
|
||||
font-size: 32px;
|
||||
}
|
||||
section.main .container.f04 .content .detail {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.container {
|
||||
padding: 0 30px;
|
||||
}
|
||||
section.header {
|
||||
padding-top: 60px;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
section.footer {
|
||||
padding-top: 30px;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
section.main {
|
||||
padding-top: 0;
|
||||
}
|
||||
section.main .container .content .post-item {
|
||||
display: flex;
|
||||
list-style: none;
|
||||
padding-left: 1.5em;
|
||||
}
|
||||
section.main .container .content .post-item .meta {
|
||||
display: block;
|
||||
}
|
||||
section.main.post {
|
||||
padding-top: 60px;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
section.main .content .markdown blockquote {
|
||||
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;
|
||||
}
|
||||
section.main .content .navigation div {
|
||||
margin-top: 0em;
|
||||
}
|
9
static/css/min769px.v1.0.0.css
Normal file
9
static/css/min769px.v1.0.0.css
Normal file
@@ -0,0 +1,9 @@
|
||||
section.main .content .markdown figure {
|
||||
width: 110%;
|
||||
margin-left: -4%;
|
||||
}
|
||||
section.main .content .markdown img {
|
||||
max-width: 110%;
|
||||
width: 110%;
|
||||
margin-left: -4%;
|
||||
}
|
1
static/css/progressively.min.css
vendored
1
static/css/progressively.min.css
vendored
@@ -1 +0,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)}}
|
Reference in New Issue
Block a user