mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00
Remove old css and compress files
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
<!-- CSS -->
|
||||
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/reset.css">
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/main.css">
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/fonts.css">
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/ionicons.min.css">
|
||||
|
||||
{{ if .Site.Params.highlightjs }}
|
||||
|
@@ -1,116 +0,0 @@
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
src: url('../fonts/Open-Sans-regular/Open-Sans-regular.eot');
|
||||
src: url('../fonts/Open-Sans-regular/Open-Sans-regular.eot?#iefix') format('embedded-opentype'),
|
||||
local('Open Sans'),
|
||||
local('Open-Sans-regular'),
|
||||
url('../fonts/Open-Sans-regular/Open-Sans-regular.woff2') format('woff2'),
|
||||
url('../fonts/Open-Sans-regular/Open-Sans-regular.woff') format('woff'),
|
||||
url('../fonts/Open-Sans-regular/Open-Sans-regular.ttf') format('truetype'),
|
||||
url('../fonts/Open-Sans-regular/Open-Sans-regular.svg#OpenSans') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
src: url('../fonts/Open-Sans-700/Open-Sans-700.eot');
|
||||
src: url('../fonts/Open-Sans-700/Open-Sans-700.eot?#iefix') format('embedded-opentype'),
|
||||
local('Open Sans Bold'),
|
||||
local('Open-Sans-700'),
|
||||
url('../fonts/Open-Sans-700/Open-Sans-700.woff2') format('woff2'),
|
||||
url('../fonts/Open-Sans-700/Open-Sans-700.woff') format('woff'),
|
||||
url('../fonts/Open-Sans-700/Open-Sans-700.ttf') format('truetype'),
|
||||
url('../fonts/Open-Sans-700/Open-Sans-700.svg#OpenSans') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Ubuntu Mono';
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
src: url('../fonts/Ubuntu-Mono-regular/Ubuntu-Mono-regular.eot');
|
||||
src: url('../fonts/Ubuntu-Mono-regular/Ubuntu-Mono-regular.eot?#iefix') format('embedded-opentype'),
|
||||
local('Ubuntu Mono'),
|
||||
local('Ubuntu-Mono-regular'),
|
||||
url('../fonts/Ubuntu-Mono-regular/Ubuntu-Mono-regular.woff2') format('woff2'),
|
||||
url('../fonts/Ubuntu-Mono-regular/Ubuntu-Mono-regular.woff') format('woff'),
|
||||
url('../fonts/Ubuntu-Mono-regular/Ubuntu-Mono-regular.ttf') format('truetype'),
|
||||
url('../fonts/Ubuntu-Mono-regular/Ubuntu-Mono-regular.svg#UbuntuMono') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Ubuntu Mono';
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
src: url('../fonts/Ubuntu-Mono-700/Ubuntu-Mono-700.eot');
|
||||
src: url('../fonts/Ubuntu-Mono-700/Ubuntu-Mono-700.eot?#iefix') format('embedded-opentype'),
|
||||
local('Ubuntu Mono Bold'),
|
||||
local('Ubuntu-Mono-700'),
|
||||
url('../fonts/Ubuntu-Mono-700/Ubuntu-Mono-700.woff2') format('woff2'),
|
||||
url('../fonts/Ubuntu-Mono-700/Ubuntu-Mono-700.woff') format('woff'),
|
||||
url('../fonts/Ubuntu-Mono-700/Ubuntu-Mono-700.ttf') format('truetype'),
|
||||
url('../fonts/Ubuntu-Mono-700/Ubuntu-Mono-700.svg#UbuntuMono') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Ubuntu Mono';
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
src: url('../fonts/Ubuntu-Mono-italic/Ubuntu-Mono-italic.eot');
|
||||
src: url('../fonts/Ubuntu-Mono-italic/Ubuntu-Mono-italic.eot?#iefix') format('embedded-opentype'),
|
||||
local('Ubuntu Mono Italic'),
|
||||
local('Ubuntu-Mono-italic'),
|
||||
url('../fonts/Ubuntu-Mono-italic/Ubuntu-Mono-italic.woff2') format('woff2'),
|
||||
url('../fonts/Ubuntu-Mono-italic/Ubuntu-Mono-italic.woff') format('woff'),
|
||||
url('../fonts/Ubuntu-Mono-italic/Ubuntu-Mono-italic.ttf') format('truetype'),
|
||||
url('../fonts/Ubuntu-Mono-italic/Ubuntu-Mono-italic.svg#UbuntuMono') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Ubuntu Mono';
|
||||
font-weight: 700;
|
||||
font-style: italic;
|
||||
src: url('../fonts/Ubuntu-Mono-700italic/Ubuntu-Mono-700italic.eot');
|
||||
src: url('../fonts/Ubuntu-Mono-700italic/Ubuntu-Mono-700italic.eot?#iefix') format('embedded-opentype'),
|
||||
local('Ubuntu Mono Bold Italic'),
|
||||
local('Ubuntu-Mono-700italic'),
|
||||
url('../fonts/Ubuntu-Mono-700italic/Ubuntu-Mono-700italic.woff2') format('woff2'),
|
||||
url('../fonts/Ubuntu-Mono-700italic/Ubuntu-Mono-700italic.woff') format('woff'),
|
||||
url('../fonts/Ubuntu-Mono-700italic/Ubuntu-Mono-700italic.ttf') format('truetype'),
|
||||
url('../fonts/Ubuntu-Mono-700italic/Ubuntu-Mono-700italic.svg#UbuntuMono') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
src: url('../fonts/Raleway-500/Raleway-500.eot');
|
||||
src: url('../fonts/Raleway-500/Raleway-500.eot?#iefix') format('embedded-opentype'),
|
||||
local('Raleway Medium'),
|
||||
local('Raleway-500'),
|
||||
url('../fonts/Raleway-500/Raleway-500.woff2') format('woff2'),
|
||||
url('../fonts/Raleway-500/Raleway-500.woff') format('woff'),
|
||||
url('../fonts/Raleway-500/Raleway-500.ttf') format('truetype'),
|
||||
url('../fonts/Raleway-500/Raleway-500.svg#Raleway') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Source Sans Pro';
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
src: url('../fonts/Source-Sans-Pro-regular/Source-Sans-Pro-regular.eot');
|
||||
src: url('../fonts/Source-Sans-Pro-regular/Source-Sans-Pro-regular.eot?#iefix') format('embedded-opentype'),
|
||||
local('Source Sans Pro'),
|
||||
local('Source-Sans-Pro-regular'),
|
||||
url('../fonts/Source-Sans-Pro-regular/Source-Sans-Pro-regular.woff2') format('woff2'),
|
||||
url('../fonts/Source-Sans-Pro-regular/Source-Sans-Pro-regular.woff') format('woff'),
|
||||
url('../fonts/Source-Sans-Pro-regular/Source-Sans-Pro-regular.ttf') format('truetype'),
|
||||
url('../fonts/Source-Sans-Pro-regular/Source-Sans-Pro-regular.svg#SourceSansPro') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Nexa Bold';
|
||||
src: url('../fonts/Nexa Bold.otf');
|
||||
}
|
@@ -1,25 +1,164 @@
|
||||
.dark {
|
||||
color: #333333 !important;
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
src: url('../fonts/Open-Sans-regular/Open-Sans-regular.eot');
|
||||
src: url('../fonts/Open-Sans-regular/Open-Sans-regular.eot?#iefix') format('embedded-opentype'),
|
||||
local('Open Sans'),
|
||||
local('Open-Sans-regular'),
|
||||
url('../fonts/Open-Sans-regular/Open-Sans-regular.woff2') format('woff2'),
|
||||
url('../fonts/Open-Sans-regular/Open-Sans-regular.woff') format('woff'),
|
||||
url('../fonts/Open-Sans-regular/Open-Sans-regular.ttf') format('truetype'),
|
||||
url('../fonts/Open-Sans-regular/Open-Sans-regular.svg#OpenSans') format('svg');
|
||||
}
|
||||
.light {
|
||||
color: #666666 !important;
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
src: url('../fonts/Open-Sans-700/Open-Sans-700.eot');
|
||||
src: url('../fonts/Open-Sans-700/Open-Sans-700.eot?#iefix') format('embedded-opentype'),
|
||||
local('Open Sans Bold'),
|
||||
local('Open-Sans-700'),
|
||||
url('../fonts/Open-Sans-700/Open-Sans-700.woff2') format('woff2'),
|
||||
url('../fonts/Open-Sans-700/Open-Sans-700.woff') format('woff'),
|
||||
url('../fonts/Open-Sans-700/Open-Sans-700.ttf') format('truetype'),
|
||||
url('../fonts/Open-Sans-700/Open-Sans-700.svg#OpenSans') format('svg');
|
||||
}
|
||||
.accent {
|
||||
color: #428bca !important;
|
||||
|
||||
@font-face {
|
||||
font-family: 'Ubuntu Mono';
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
src: url('../fonts/Ubuntu-Mono-regular/Ubuntu-Mono-regular.eot');
|
||||
src: url('../fonts/Ubuntu-Mono-regular/Ubuntu-Mono-regular.eot?#iefix') format('embedded-opentype'),
|
||||
local('Ubuntu Mono'),
|
||||
local('Ubuntu-Mono-regular'),
|
||||
url('../fonts/Ubuntu-Mono-regular/Ubuntu-Mono-regular.woff2') format('woff2'),
|
||||
url('../fonts/Ubuntu-Mono-regular/Ubuntu-Mono-regular.woff') format('woff'),
|
||||
url('../fonts/Ubuntu-Mono-regular/Ubuntu-Mono-regular.ttf') format('truetype'),
|
||||
url('../fonts/Ubuntu-Mono-regular/Ubuntu-Mono-regular.svg#UbuntuMono') format('svg');
|
||||
}
|
||||
@media (min-width: 550px) {
|
||||
.small-screens-only {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Ubuntu Mono';
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
src: url('../fonts/Ubuntu-Mono-700/Ubuntu-Mono-700.eot');
|
||||
src: url('../fonts/Ubuntu-Mono-700/Ubuntu-Mono-700.eot?#iefix') format('embedded-opentype'),
|
||||
local('Ubuntu Mono Bold'),
|
||||
local('Ubuntu-Mono-700'),
|
||||
url('../fonts/Ubuntu-Mono-700/Ubuntu-Mono-700.woff2') format('woff2'),
|
||||
url('../fonts/Ubuntu-Mono-700/Ubuntu-Mono-700.woff') format('woff'),
|
||||
url('../fonts/Ubuntu-Mono-700/Ubuntu-Mono-700.ttf') format('truetype'),
|
||||
url('../fonts/Ubuntu-Mono-700/Ubuntu-Mono-700.svg#UbuntuMono') format('svg');
|
||||
}
|
||||
.large-screens-only {
|
||||
display: none;
|
||||
|
||||
@font-face {
|
||||
font-family: 'Ubuntu Mono';
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
src: url('../fonts/Ubuntu-Mono-italic/Ubuntu-Mono-italic.eot');
|
||||
src: url('../fonts/Ubuntu-Mono-italic/Ubuntu-Mono-italic.eot?#iefix') format('embedded-opentype'),
|
||||
local('Ubuntu Mono Italic'),
|
||||
local('Ubuntu-Mono-italic'),
|
||||
url('../fonts/Ubuntu-Mono-italic/Ubuntu-Mono-italic.woff2') format('woff2'),
|
||||
url('../fonts/Ubuntu-Mono-italic/Ubuntu-Mono-italic.woff') format('woff'),
|
||||
url('../fonts/Ubuntu-Mono-italic/Ubuntu-Mono-italic.ttf') format('truetype'),
|
||||
url('../fonts/Ubuntu-Mono-italic/Ubuntu-Mono-italic.svg#UbuntuMono') format('svg');
|
||||
}
|
||||
@media (min-width: 550px) {
|
||||
.large-screens-only {
|
||||
display: initial;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Ubuntu Mono';
|
||||
font-weight: 700;
|
||||
font-style: italic;
|
||||
src: url('../fonts/Ubuntu-Mono-700italic/Ubuntu-Mono-700italic.eot');
|
||||
src: url('../fonts/Ubuntu-Mono-700italic/Ubuntu-Mono-700italic.eot?#iefix') format('embedded-opentype'),
|
||||
local('Ubuntu Mono Bold Italic'),
|
||||
local('Ubuntu-Mono-700italic'),
|
||||
url('../fonts/Ubuntu-Mono-700italic/Ubuntu-Mono-700italic.woff2') format('woff2'),
|
||||
url('../fonts/Ubuntu-Mono-700italic/Ubuntu-Mono-700italic.woff') format('woff'),
|
||||
url('../fonts/Ubuntu-Mono-700italic/Ubuntu-Mono-700italic.ttf') format('truetype'),
|
||||
url('../fonts/Ubuntu-Mono-700italic/Ubuntu-Mono-700italic.svg#UbuntuMono') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
src: url('../fonts/Raleway-500/Raleway-500.eot');
|
||||
src: url('../fonts/Raleway-500/Raleway-500.eot?#iefix') format('embedded-opentype'),
|
||||
local('Raleway Medium'),
|
||||
local('Raleway-500'),
|
||||
url('../fonts/Raleway-500/Raleway-500.woff2') format('woff2'),
|
||||
url('../fonts/Raleway-500/Raleway-500.woff') format('woff'),
|
||||
url('../fonts/Raleway-500/Raleway-500.ttf') format('truetype'),
|
||||
url('../fonts/Raleway-500/Raleway-500.svg#Raleway') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Source Sans Pro';
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
src: url('../fonts/Source-Sans-Pro-regular/Source-Sans-Pro-regular.eot');
|
||||
src: url('../fonts/Source-Sans-Pro-regular/Source-Sans-Pro-regular.eot?#iefix') format('embedded-opentype'),
|
||||
local('Source Sans Pro'),
|
||||
local('Source-Sans-Pro-regular'),
|
||||
url('../fonts/Source-Sans-Pro-regular/Source-Sans-Pro-regular.woff2') format('woff2'),
|
||||
url('../fonts/Source-Sans-Pro-regular/Source-Sans-Pro-regular.woff') format('woff'),
|
||||
url('../fonts/Source-Sans-Pro-regular/Source-Sans-Pro-regular.ttf') format('truetype'),
|
||||
url('../fonts/Source-Sans-Pro-regular/Source-Sans-Pro-regular.svg#SourceSansPro') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Nexa Bold';
|
||||
src: url('../fonts/Nexa Bold.otf');
|
||||
}
|
||||
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
b, u, i, center,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td,
|
||||
article, aside, canvas, details, embed,
|
||||
figure, figcaption, footer, header, hgroup,
|
||||
menu, nav, output, ruby, section, summary,
|
||||
time, mark, audio, video {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
/* HTML5 display-role reset for older browsers */
|
||||
article, aside, details, figcaption, figure,
|
||||
footer, header, hgroup, menu, nav, section {
|
||||
display: block;
|
||||
}
|
||||
body {
|
||||
line-height: 1;
|
||||
}
|
||||
ol, ul {
|
||||
list-style: none;
|
||||
}
|
||||
blockquote, q {
|
||||
quotes: none;
|
||||
}
|
||||
blockquote:before, blockquote:after,
|
||||
q:before, q:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
*,
|
||||
*:before,
|
||||
*:after {
|
||||
@@ -356,29 +495,6 @@ section.main .content .title-container {
|
||||
-ms-justify-content: space-between;
|
||||
justify-content: space-between;
|
||||
}
|
||||
section.main .content .title-container .initials {
|
||||
display: none;
|
||||
font-size: 18px;
|
||||
font-family: 'Raleway', '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: #666666;
|
||||
}
|
||||
section.main .content .title-container .initials a {
|
||||
color: #666666;
|
||||
-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.main .content .title-container .initials a:hover {
|
||||
color: #333333;
|
||||
}
|
||||
section.main .content .page-heading {
|
||||
font-size: 18px;
|
||||
font-family: 'Raleway', 'Helvetica Neue', 'Arial', sans-serif;
|
||||
@@ -577,18 +693,6 @@ a:hover {
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
img.profile {
|
||||
min-width: 100%;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
img.profile {
|
||||
min-width: 300px;
|
||||
max-width: 300px !important;
|
||||
}
|
||||
}
|
||||
.page-heading a {
|
||||
color: #333333;
|
||||
}
|
||||
section.main .content .markdown h1,
|
||||
section.main .content .markdown h2,
|
||||
section.main .content .markdown h3,
|
||||
|
@@ -1,48 +0,0 @@
|
||||
/* http://meyerweb.com/eric/tools/css/reset/
|
||||
v2.0 | 20110126
|
||||
License: none (public domain)
|
||||
*/
|
||||
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
b, u, i, center,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td,
|
||||
article, aside, canvas, details, embed,
|
||||
figure, figcaption, footer, header, hgroup,
|
||||
menu, nav, output, ruby, section, summary,
|
||||
time, mark, audio, video {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
/* HTML5 display-role reset for older browsers */
|
||||
article, aside, details, figcaption, figure,
|
||||
footer, header, hgroup, menu, nav, section {
|
||||
display: block;
|
||||
}
|
||||
body {
|
||||
line-height: 1;
|
||||
}
|
||||
ol, ul {
|
||||
list-style: none;
|
||||
}
|
||||
blockquote, q {
|
||||
quotes: none;
|
||||
}
|
||||
blockquote:before, blockquote:after,
|
||||
q:before, q:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
Reference in New Issue
Block a user