mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-14 19:26:40 +02:00
600 lines
14 KiB
CSS
600 lines
14 KiB
CSS
@import url(http://fonts.googleapis.com/css?family=Raleway:200);
|
|
@import url(http://fonts.googleapis.com/css?family=Ubuntu+Mono:400,400italic,700,700italic);
|
|
@import url(http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
|
|
.dark {
|
|
color: #333333 !important;
|
|
}
|
|
.light {
|
|
color: #b7b7b7 !important;
|
|
}
|
|
.accent {
|
|
color: #21bb5b !important;
|
|
}
|
|
*,
|
|
*:before,
|
|
*:after {
|
|
box-sizing: border-box;
|
|
}
|
|
a,
|
|
a:visited,
|
|
a:focus,
|
|
a:active {
|
|
text-decoration: none;
|
|
}
|
|
html {
|
|
height: 100%;
|
|
font-size: 16px;
|
|
}
|
|
body {
|
|
display: -webkit-flex;
|
|
display: -moz-flex;
|
|
display: -ms-flexbox;
|
|
display: -ms-flex;
|
|
display: flex;
|
|
-webkit-flex-direction: column;
|
|
-moz-flex-direction: column;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
-webkit-align-items: center;
|
|
-moz-align-items: center;
|
|
-ms-align-items: center;
|
|
align-items: center;
|
|
-webkit-justify-content: flex-start;
|
|
-moz-justify-content: flex-start;
|
|
-ms-justify-content: flex-start;
|
|
justify-content: flex-start;
|
|
width: 100%;
|
|
min-height: 100%;
|
|
font-weight: 400;
|
|
font-family: 'Proxima Nova', 'Helvetica Neue', 'Arial' sans-serif;
|
|
color: #333333;
|
|
line-height: 1.6;
|
|
text-rendering: optimizeLegibility !important;
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
font-smoothing: subpixel-antialiased;
|
|
}
|
|
@media (min-width: 550px) {
|
|
body {
|
|
-webkit-justify-content: center;
|
|
-moz-justify-content: center;
|
|
-ms-justify-content: center;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
.icon {
|
|
text-rendering: geometricPrecision !important;
|
|
}
|
|
.section {
|
|
display: -webkit-flex;
|
|
display: -moz-flex;
|
|
display: -ms-flexbox;
|
|
display: -ms-flex;
|
|
display: flex;
|
|
-webkit-justify-content: center;
|
|
-moz-justify-content: center;
|
|
-ms-justify-content: center;
|
|
justify-content: center;
|
|
-webkit-align-items: center;
|
|
-moz-align-items: center;
|
|
-ms-align-items: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
.container {
|
|
display: -webkit-flex;
|
|
display: -moz-flex;
|
|
display: -ms-flexbox;
|
|
display: -ms-flex;
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
@media (min-width: 550px) {
|
|
.section {
|
|
padding: 0 20px;
|
|
margin-left: 100px;
|
|
margin-right: 100px;
|
|
max-width: 900px;
|
|
}
|
|
}
|
|
.section.header {
|
|
-webkit-order: 0;
|
|
-moz-order: 0;
|
|
-ms-order: 0;
|
|
order: 0;
|
|
}
|
|
.section.icons {
|
|
-webkit-order: 1;
|
|
-moz-order: 1;
|
|
-ms-order: 1;
|
|
order: 1;
|
|
}
|
|
.section.main {
|
|
-webkit-order: 2;
|
|
-moz-order: 2;
|
|
-ms-order: 2;
|
|
order: 2;
|
|
}
|
|
@media (min-width: 550px) {
|
|
.section.header {
|
|
-webkit-order: 0;
|
|
-moz-order: 0;
|
|
-ms-order: 0;
|
|
order: 0;
|
|
}
|
|
.section.icons {
|
|
-webkit-order: 2;
|
|
-moz-order: 2;
|
|
-ms-order: 2;
|
|
order: 2;
|
|
}
|
|
.section.main {
|
|
-webkit-order: 1;
|
|
-moz-order: 1;
|
|
-ms-order: 1;
|
|
order: 1;
|
|
}
|
|
}
|
|
.section.header {
|
|
background-color: #21bb5b;
|
|
}
|
|
.section.header .container {
|
|
-webkit-align-items: center;
|
|
-moz-align-items: center;
|
|
-ms-align-items: center;
|
|
align-items: center;
|
|
-webkit-justify-content: center;
|
|
-moz-justify-content: center;
|
|
-ms-justify-content: center;
|
|
justify-content: center;
|
|
}
|
|
.section.header .content {
|
|
display: -webkit-flex;
|
|
display: -moz-flex;
|
|
display: -ms-flexbox;
|
|
display: -ms-flex;
|
|
display: flex;
|
|
-webkit-flex-direction: column;
|
|
-moz-flex-direction: column;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
-webkit-align-items: center;
|
|
-moz-align-items: center;
|
|
-ms-align-items: center;
|
|
align-items: center;
|
|
}
|
|
.section.header .name {
|
|
font-size: 18px;
|
|
font-family: 'Proxima Nova', 'Helvetica Neue', 'Arial' sans-serif;
|
|
letter-spacing: -0.005rem;
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
-webkit-font-smoothing: antialiased;
|
|
font-smoothing: antialiased;
|
|
color: #333333;
|
|
color: #fefefe;
|
|
}
|
|
.section.header nav {
|
|
font-size: 14px;
|
|
margin-bottom: 16px;
|
|
}
|
|
.section.header nav ul {
|
|
list-style: none;
|
|
text-align: center;
|
|
display: -webkit-inline-flex;
|
|
display: -moz-inline-flex;
|
|
display: -ms-inline-flexbox;
|
|
display: -ms-inline-flex;
|
|
display: inline-flex;
|
|
}
|
|
.section.header nav ul a {
|
|
margin-right: 12px;
|
|
}
|
|
.section.header nav ul a:last-child {
|
|
margin-right: 0;
|
|
}
|
|
.section.header nav ul li {
|
|
color: #fefefe;
|
|
-webkit-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
|
-moz-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
|
-ms-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
|
-o-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
|
}
|
|
.section.header nav ul li:hover {
|
|
color: #fefefe;
|
|
}
|
|
@media (min-width: 550px) {
|
|
.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 .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 {
|
|
margin-bottom: 0;
|
|
}
|
|
.section.header nav ul {
|
|
text-align: left;
|
|
}
|
|
.section.header nav ul li {
|
|
color: #b7b7b7;
|
|
}
|
|
.section.header nav ul li:hover {
|
|
color: #333333;
|
|
}
|
|
}
|
|
.section.icons {
|
|
background-color: #21bb5b;
|
|
}
|
|
.section.icons .container {
|
|
-webkit-align-items: center;
|
|
-moz-align-items: center;
|
|
-ms-align-items: center;
|
|
align-items: center;
|
|
-webkit-justify-content: center;
|
|
-moz-justify-content: center;
|
|
-ms-justify-content: center;
|
|
justify-content: center;
|
|
}
|
|
.section.icons .content a {
|
|
margin-right: 4px;
|
|
color: #fefefe;
|
|
-webkit-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
|
-moz-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
|
-ms-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
|
-o-transition: color 0.1s cubic-bezier(0.47, 0, 0.75, 0.72);
|
|
}
|
|
.section.icons .content a:last-child {
|
|
margin-right: 0;
|
|
}
|
|
.section.icons .content a:hover {
|
|
color: #fefefe;
|
|
}
|
|
.section.icons .content a .icon {
|
|
font-size: 16px;
|
|
}
|
|
.section.icons .content a .icon.larger {
|
|
font-size: 18px;
|
|
}
|
|
@media (min-width: 550px) {
|
|
.section.icons {
|
|
background-color: transparent;
|
|
}
|
|
.section.icons .container {
|
|
-webkit-justify-content: flex-start;
|
|
-moz-justify-content: flex-start;
|
|
-ms-justify-content: flex-start;
|
|
justify-content: flex-start;
|
|
}
|
|
.section.icons .content a {
|
|
color: #b7b7b7;
|
|
}
|
|
.section.icons .content a:hover {
|
|
color: #333333;
|
|
}
|
|
}
|
|
.section.main .container {
|
|
-webkit-align-items: center;
|
|
-moz-align-items: center;
|
|
-ms-align-items: center;
|
|
align-items: center;
|
|
-webkit-justify-content: flex-start;
|
|
-moz-justify-content: flex-start;
|
|
-ms-justify-content: flex-start;
|
|
justify-content: flex-start;
|
|
}
|
|
.section.main .content {
|
|
color: #333333;
|
|
font-size: 16px;
|
|
}
|
|
.section.main .content .page-heading {
|
|
font-size: 18px;
|
|
font-family: 'Proxima Nova', 'Helvetica Neue', 'Arial' sans-serif;
|
|
letter-spacing: -0.005rem;
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
-webkit-font-smoothing: antialiased;
|
|
font-smoothing: antialiased;
|
|
color: #333333;
|
|
margin-bottom: 16px;
|
|
}
|
|
.section.main .content .front-matter .page-heading {
|
|
margin-bottom: 0;
|
|
}
|
|
.section.main .content .front-matter .meta {
|
|
font-size: 14px;
|
|
color: #b7b7b7;
|
|
display: -webkit-flex;
|
|
display: -moz-flex;
|
|
display: -ms-flexbox;
|
|
display: -ms-flex;
|
|
display: flex;
|
|
margin-bottom: 32px;
|
|
}
|
|
.section.main .content .front-matter .date,
|
|
.section.main .content .front-matter .word-count,
|
|
.section.main .content .front-matter .reading-time .middot {
|
|
display: none;
|
|
}
|
|
.section.main .content .front-matter .middot {
|
|
font-size: 6px;
|
|
margin: 0 6px;
|
|
display: inline;
|
|
vertical-align: middle;
|
|
}
|
|
.section.main .content .front-matter .middot:before {
|
|
content: "•";
|
|
}
|
|
@media (min-width: 550px) {
|
|
.section.main .content .front-matter .date,
|
|
.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;
|
|
-ms-justify-content: center;
|
|
justify-content: center;
|
|
}
|
|
.section.main .container.f04 .content {
|
|
display: -webkit-flex;
|
|
display: -moz-flex;
|
|
display: -ms-flexbox;
|
|
display: -ms-flex;
|
|
display: flex;
|
|
-webkit-flex-direction: column;
|
|
-moz-flex-direction: column;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
-webkit-align-items: center;
|
|
-moz-align-items: center;
|
|
-ms-align-items: center;
|
|
align-items: center;
|
|
}
|
|
.section.main .container.f04 .content .num {
|
|
margin: 30px 0px 30px 0;
|
|
font-weight: 200;
|
|
font-family: 'Raleway', 'Helvetica Neue', 'Arial', sans-serif;
|
|
font-size: 50px;
|
|
}
|
|
.section.main .container.f04 .content .detail {
|
|
margin-bottom: 40px;
|
|
}
|
|
@media (min-width: 550px) {
|
|
.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 .post-item {
|
|
display: -webkit-flex;
|
|
display: -moz-flex;
|
|
display: -ms-flexbox;
|
|
display: -ms-flex;
|
|
display: flex;
|
|
-webkit-align-items: center;
|
|
-moz-align-items: center;
|
|
-ms-align-items: center;
|
|
align-items: center;
|
|
list-style: none;
|
|
}
|
|
.section.main .container .content .post-item .meta {
|
|
font-size: 14px;
|
|
color: #b7b7b7;
|
|
min-width: 100px;
|
|
text-align: right;
|
|
margin-right: 20px;
|
|
}
|
|
.section {
|
|
padding: 0 20px;
|
|
}
|
|
.section.header {
|
|
padding-top: 32px;
|
|
padding-bottom: 16px;
|
|
}
|
|
.section.icons {
|
|
padding-top: 0;
|
|
padding-bottom: 32px;
|
|
}
|
|
.section.main {
|
|
padding-top: 32px;
|
|
padding-bottom: 32px;
|
|
}
|
|
@media (min-width: 550px) {
|
|
.container {
|
|
margin: 0 20px;
|
|
}
|
|
.section.header {
|
|
padding-top: 60px;
|
|
padding-bottom: 60px;
|
|
}
|
|
.section.icons {
|
|
padding-top: 60px;
|
|
padding-bottom: 60px;
|
|
}
|
|
.section.main {
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
.section.main.post {
|
|
padding-top: 60px;
|
|
padding-bottom: 60px;
|
|
}
|
|
}
|
|
a {
|
|
color: #21bb5b;
|
|
}
|
|
.section.main .content .markdown h1,
|
|
.section.main .content .markdown h2,
|
|
.section.main .content .markdown h3,
|
|
.section.main .content .markdown h4,
|
|
.section.main .content .markdown h5,
|
|
.section.main .content .markdown h6 {
|
|
/* Heading size corresponds on number of #s used */
|
|
font-size: 18px;
|
|
font-family: 'Proxima Nova', 'Helvetica Neue', 'Arial' sans-serif;
|
|
letter-spacing: -0.005rem;
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
-webkit-font-smoothing: antialiased;
|
|
font-smoothing: antialiased;
|
|
color: #333333;
|
|
}
|
|
.section.main .content .markdown h1 {
|
|
font-size: 1.75rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
.section.main .content .markdown h2 {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
.section.main .content .markdown h3 {
|
|
font-size: 1em;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.section.main .content .markdown h4,
|
|
.section.main .content .markdown h5,
|
|
.section.main .content .markdown h6 {
|
|
font-size: 1rem;
|
|
margin-bottom: 1rem;
|
|
letter-spacing: none;
|
|
text-transform: none;
|
|
}
|
|
.section.main .content .markdown code,
|
|
.section.main .content .markdown pre {
|
|
font-family: 'Ubuntu Mono', 'Menlo', monospace;
|
|
font-size: 15px;
|
|
background-color: #f9f9f9;
|
|
}
|
|
.section.main .content .markdown code {
|
|
/* enclosed by single backtick (`) */
|
|
padding: .15em .5em;
|
|
color: #a10c31;
|
|
border-radius: 2px;
|
|
}
|
|
.section.main .content .markdown pre {
|
|
/* Hugo specific: consider using the 'highlight' shortcode */
|
|
display: block;
|
|
margin-top: 1rem;
|
|
margin-bottom: 2rem;
|
|
padding: 1rem;
|
|
line-height: 1.5em;
|
|
white-space: pre;
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
word-wrap: break-word;
|
|
}
|
|
.section.main .content .markdown pre code {
|
|
/* enclosed by 4 backticks (````) */
|
|
padding: 0;
|
|
font-size: 15px;
|
|
}
|
|
.section.main .content .markdown p {
|
|
/* Invoked by line break */
|
|
font-size: 1rem;
|
|
margin-top: 0;
|
|
margin-bottom: 1em;
|
|
}
|
|
.section.main .content .markdown ul,
|
|
.section.main .content .markdown ol,
|
|
.section.main .content .markdown dl {
|
|
margin-top: 1rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
.section.main .content .markdown dt {
|
|
font-weight: bold;
|
|
}
|
|
.section.main .content .markdown dd {
|
|
margin-bottom: .5rem;
|
|
}
|
|
.section.main .content .markdown ul {
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
.section.main .content .markdown li {
|
|
list-style-type: disc;
|
|
list-style-position: inside;
|
|
}
|
|
.section.main .content .markdown hr {
|
|
position: relative;
|
|
margin: 1.75rem 0;
|
|
border: 0;
|
|
border-top: 1px solid #d1d1d1;
|
|
border-top: 1px solid #eaeaea;
|
|
}
|
|
.section.main .content .markdown abbr {
|
|
font-size: 0.85rem;
|
|
font-weight: bold;
|
|
color: #666666;
|
|
text-transform: uppercase;
|
|
}
|
|
.section.main .content .markdown abbr[title] {
|
|
cursor: help;
|
|
border-bottom: 1px dotted #d1d1d1;
|
|
}
|
|
.section.main .content .markdown blockquote {
|
|
padding: .5rem 1rem;
|
|
margin: .8rem 0;
|
|
color: #7a7a7a;
|
|
border-left: .25rem solid #e5e5e5;
|
|
}
|
|
.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 img {
|
|
display: block;
|
|
margin: 0 0 1rem;
|
|
max-width: 100%;
|
|
}
|
|
.section.main .content .markdown table {
|
|
margin-bottom: 1rem;
|
|
width: 100%;
|
|
border: 1px solid #e5e5e5;
|
|
border-collapse: collapse;
|
|
}
|
|
.section.main .content .markdown td,
|
|
.section.main .content .markdown th {
|
|
padding: .25rem .5rem;
|
|
border: 1px solid #e5e5e5;
|
|
}
|
|
.section.main .content .markdown tbody tr:nth-child(odd) td,
|
|
.section.main .content .markdown tbody tr:nth-child(odd) th {
|
|
background-color: #f9f9f9;
|
|
}
|