summaryrefslogtreecommitdiff
path: root/themes/archie/static/css
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2020-11-02 18:37:23 -0300
committerRoger Gonzalez <roger@rogs.me>2020-11-02 18:37:23 -0300
commitdea4a61cbf42ff422f1409d4342fa59017950526 (patch)
tree991f6d09a6c30dab04e5a1806ba59501471c6779 /themes/archie/static/css
parente09d9dc4ffc26c6082ef003251efa77d133795f8 (diff)
Changed theme to Archie, moving blog to rogs.me
Diffstat (limited to 'themes/archie/static/css')
-rw-r--r--themes/archie/static/css/dark.css163
-rw-r--r--themes/archie/static/css/fonts.css38
-rw-r--r--themes/archie/static/css/main.css293
3 files changed, 494 insertions, 0 deletions
diff --git a/themes/archie/static/css/dark.css b/themes/archie/static/css/dark.css
new file mode 100644
index 0000000..a1ac971
--- /dev/null
+++ b/themes/archie/static/css/dark.css
@@ -0,0 +1,163 @@
+body {
+ color: white;
+ background-color: #202124;
+}
+
+::-moz-selection {
+ background: blue;
+ color: #fff;
+ text-shadow: none;
+}
+
+::selection {
+ background: red;
+ color: #fff;
+ text-shadow: none;
+}
+
+hr {
+ border-top: 3px dotted blue;
+}
+code {
+ background-color: lightblue;
+ color: black;
+ text-decoration: bold;
+ padding: 0.1em 0.2em;
+}
+pre {
+ background-color: #272822;
+ line-height: 1.4;
+ overflow-x: auto;
+ padding: 1em;
+}
+blockquote {
+ border-color: blue;
+}
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ color: #ddd;
+}
+h1::before {
+ color: var(--darkMaincolor);
+ content: "# ";
+}
+h2::before {
+ color: var(--darkMaincolor);
+ content: "## ";
+}
+h3::before {
+ color: var(--darkMaincolor);
+ content: "### ";
+}
+h4::before {
+ color: var(--darkMaincolor);
+ content: "#### ";
+}
+h5::before {
+ color: var(--darkMaincolor);
+ content: "##### ";
+}
+h6::before {
+ color: var(--darkMaincolor);
+ content: "###### ";
+}
+
+a {
+ border-bottom: 3px solid var(--darkMaincolor);
+ color: inherit;
+}
+a:hover {
+ background-color: var(--darkMaincolor);
+ color: black;
+}
+
+.site-description a {
+ color: #ddd;
+}
+.site-description a:hover {
+ color: black;
+}
+
+.tags a {
+ border-bottom: 3px solid var(--darkMaincolor);
+}
+.tags a:hover {
+ background-color: var(--darkMaincolor);
+ color: black;
+}
+
+.site-title a {
+ color: white;
+ text-decoration: none !important;
+}
+
+.header nav,
+.footer {
+ border-color: #333;
+}
+
+.highlight {
+ background-color: #333;
+}
+.soc {
+ padding-left: 10px;
+ padding-right: 10px;
+}
+.soc:hover {
+ color: black;
+}
+.draft-label {
+ color: var(--darkMaincolor);
+ background-color: blue;
+}
+.highlight pre code[class=language-javaScript]::before,
+.highlight pre code[class="language-js"]::before {
+ content: "js";
+ background: #f7df1e;
+ color: black;
+}
+.highlight pre code[class*='language-yml']::before,
+.highlight pre code[class*='language-yaml']::before {
+ content: 'yaml';
+ background: #f71e6a;
+ color: white;
+}
+.highlight pre code[class*='language-shell']::before,
+.highlight pre code[class*='language-bash']::before,
+.highlight pre code[class*='language-sh']::before {
+ content: 'shell';
+ background: green;
+ color:white
+}
+.highlight pre code[class*='language-json']::before{
+ content: 'json';
+ background: dodgerblue;
+ color: #000000
+}
+.highlight pre code[class*='language-python']::before,
+.highlight pre code[class*='language-py']::before {
+ content: 'py';
+ background: blue;
+ color: yellow ;
+}
+.highlight pre code[class*='language-css']::before{
+ content: 'css';
+ background: cyan;
+ color: black ;
+}
+.highlight pre code[class*='language-go']::before{
+ content: 'Go';
+ background: cyan;
+ color: royalblue ;
+}
+.highlight pre code[class*='language-md']::before,
+.highlight pre code[class*='language-md']::before{
+ content: 'Markdown';
+ background: royalblue;
+ color: whitesmoke ;
+}
diff --git a/themes/archie/static/css/fonts.css b/themes/archie/static/css/fonts.css
new file mode 100644
index 0000000..156ee63
--- /dev/null
+++ b/themes/archie/static/css/fonts.css
@@ -0,0 +1,38 @@
+/* fira-sans-regular - latin */
+@font-face {
+ font-family: 'Fira Sans';
+ font-style: normal;
+ font-weight: 400;
+ src: url('../fonts/fira-sans-v10-latin-regular.eot'); /* IE9 Compat Modes */
+ src: local('Fira Sans Regular'), local('FiraSans-Regular'),
+ url('../fonts/fira-sans-v10-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
+ url('../fonts/fira-sans-v10-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
+ url('../fonts/fira-sans-v10-latin-regular.woff') format('woff'), /* Modern Browsers */
+ url('../fonts/fira-sans-v10-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
+ url('../fonts/fira-sans-v10-latin-regular.svg#FiraSans') format('svg'); /* Legacy iOS */
+}
+/* roboto-mono-regular - latin */
+@font-face {
+ font-family: 'Roboto Mono';
+ font-style: normal;
+ font-weight: 400;
+ src: url('../fonts/roboto-mono-v12-latin-regular.eot'); /* IE9 Compat Modes */
+ src: url('../fonts/roboto-mono-v12-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
+ url('../fonts/roboto-mono-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
+ url('../fonts/roboto-mono-v12-latin-regular.woff') format('woff'), /* Modern Browsers */
+ url('../fonts/roboto-mono-v12-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
+ url('../fonts/roboto-mono-v12-latin-regular.svg#RobotoMono') format('svg'); /* Legacy iOS */
+}
+/* ibm-plex-mono-500italic - latin */
+@font-face {
+ font-family: 'IBM Plex Mono';
+ font-style: italic;
+ font-weight: 500;
+ src: url('../fonts/ibm-plex-mono-v6-latin-500italic.eot'); /* IE9 Compat Modes */
+ src: local('IBM Plex Mono Medium Italic'), local('IBMPlexMono-MediumItalic'),
+ url('../fonts/ibm-plex-mono-v6-latin-500italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
+ url('../fonts/ibm-plex-mono-v6-latin-500italic.woff2') format('woff2'), /* Super Modern Browsers */
+ url('../fonts/ibm-plex-mono-v6-latin-500italic.woff') format('woff'), /* Modern Browsers */
+ url('../fonts/ibm-plex-mono-v6-latin-500italic.ttf') format('truetype'), /* Safari, Android, iOS */
+ url('../fonts/ibm-plex-mono-v6-latin-500italic.svg#IBMPlexMono') format('svg'); /* Legacy iOS */
+}
diff --git a/themes/archie/static/css/main.css b/themes/archie/static/css/main.css
new file mode 100644
index 0000000..97bbe5d
--- /dev/null
+++ b/themes/archie/static/css/main.css
@@ -0,0 +1,293 @@
+/* Markdown */
+:root{
+--maincolor: red;
+--bordercl:rebeccapurple;
+--callouctcolor:dodgerblue;
+--hovercolor:navy;
+--darkMaincolor: #50fa7b;
+}
+html {
+ color: #232333;
+ font-family: 'Roboto Mono', monospace;
+ font-size: 15px;
+ line-height: 1.6em;
+}
+body{
+ display: block;
+ margin: 8px;
+}
+* {
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+}
+
+::selection {
+ background: var(--maincolor);
+ color: #fff;
+}
+
+p {
+ font-family: 'Fira Sans', sans-serif;
+ line-height: 1.5;
+}
+
+hr {
+ border: 0;
+ border-top: 3px dotted var(--bordercl);
+ margin: 1em 0;
+}
+
+blockquote {
+ border-left: 3px solid var(--bordercl);
+ color: #737373;
+ margin: 0;
+ padding-left: 1em;
+}
+
+a {
+ border-bottom: 3px solid var(--maincolor);
+ color: inherit;
+ text-decoration: none;
+}
+a:hover {
+ background-color: var(--hovercolor);
+ color: #fff;
+}
+
+ul {
+ list-style: none;
+ padding-left: 2ch;
+}
+ul li {
+ text-indent: -2ch;
+}
+ul li::before {
+ content: '* ';
+ font-weight: bold;
+}
+
+/* Images */
+img {
+ border: 3px solid #ececec;
+ max-width: 100%;
+}
+
+figure {
+ box-sizing: border-box;
+ display: inline-block;
+ margin: 0;
+ max-width: 100%;
+}
+
+figure img {
+ max-height: 500px;
+}
+
+@media screen and (min-width: 600px) {
+ figure {
+ padding: 0 40px;
+ }
+}
+
+figure h4 {
+ font-size: 1rem;
+ margin: 0;
+ margin-bottom: 1em;
+}
+figure h4::before {
+ content: '↳ ';
+}
+
+/* Code blocks */
+code {
+ background-color: #f1f1f1;
+ padding: .1em .2em;
+}
+
+pre {
+ background-color: #ececec;
+ line-height: 1.4;
+ overflow-x: auto;
+ padding: 1em;
+}
+
+.highlight pre ::selection {
+ background: rgba(255, 255, 255, 0.2);
+ color: inherit;
+}
+
+pre code {
+ background-color: transparent;
+ color: inherit;
+ font-size: 100%;
+ padding: 0;
+}
+
+/* Containers */
+.content {
+ margin-bottom: 4em;
+ margin-left: auto;
+ margin-right: auto;
+ max-width: 800px;
+ padding: 0 1ch;
+ word-wrap: break-word;
+}
+
+/* Header */
+header {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ margin: 1em 0;
+}
+
+header .main {
+ font-size: 1.5rem;
+}
+h1, h2, h3, h4, h5, h6 {
+ font-size: 1.2rem;
+ margin-top: 2em;
+}
+
+h1::before { color: var(--maincolor); content: '# '; }
+h2::before { color: var(--maincolor); content: '## '; }
+h3::before { color: var(--maincolor); content: '### '; }
+h4::before { color: var(--maincolor); content: '#### '; }
+h5::before { color: var(--maincolor); content: '##### '; }
+h6::before { color: var(--maincolor); content: '###### '; }
+
+/* Footer */
+footer {
+ margin-top: 1em;
+}
+
+/* Common */
+.title h1 {
+ margin-bottom: 0;
+}
+
+time {
+ color: grey;
+}
+
+/* Posts */
+article .title {
+ margin-bottom: 1em;
+}
+
+
+/* Callout */
+.callout {
+ background-color: var(--callouctcolor);
+ color: #fff;
+ padding: 1em;
+}
+
+.callout p {
+ font-family: 'IBM Plex Mono', monospace;
+ margin: 0;
+}
+
+.callout a {
+ border-bottom: 3px solid #fff;
+}
+
+.callout a:hover {
+ background-color: #fff;
+ color: var(--callouctcolor);
+}
+
+.site-description {
+display: flex;
+justify-content: space-between;
+}
+.tags li::before{
+ content: "🏷 ";
+}
+.tags a{
+ border-bottom: 3px solid var(--maincolor);
+}
+.tags a:hover{
+ color:white;
+ background-color: var(--hovercolor);
+}
+svg{
+ max-height: 15px;
+}
+.soc:hover{
+ color: white;
+}
+.draft-label{
+ color: var(--bordercl);
+ text-decoration: none;
+ padding: 2px 4px;
+ border-radius: 4px;
+ margin-left: 6px;
+ background-color: #f9f2f4;
+}
+.highlight {
+ position: relative;
+ -webkit-overflow-scrolling: touch;
+}
+.highlight pre code[class*="language-"] {
+ -webkit-overflow-scrolling: touch;
+}
+.highlight pre code[class*="language-"]::before {
+ background: black;
+ border-radius: 0 0 0.25rem 0.25rem;
+ color: white;
+ font-size: 12px;
+ letter-spacing: 0.025rem;
+ padding: 0.1rem 0.5rem;
+ position: absolute;
+ right: 1rem;
+ text-align: right;
+ text-transform: uppercase;
+ top: 0;
+}
+
+.highlight pre code[class=language-javaScript]::before,
+.highlight pre code[class="language-js"]::before {
+content: "js";
+background: #f7df1e;
+color: black;
+}
+.highlight pre code[class*='language-yml']::before,
+.highlight pre code[class*='language-yaml']::before {
+content: 'yaml';
+background: #f71e6a;
+color: white;
+}
+.highlight pre code[class*='language-shell']::before,
+.highlight pre code[class*='language-bash']::before,
+.highlight pre code[class*='language-sh']::before {
+content: 'shell';
+background: green;
+color:white
+}
+.highlight pre code[class*='language-json']::before{
+content: 'json';
+background: dodgerblue;
+ color: #000000
+}
+.highlight pre code[class*='language-python']::before,
+.highlight pre code[class*='language-py']::before {
+content: 'py';
+background: blue;
+color: yellow ;
+}
+.highlight pre code[class*='language-css']::before{
+content: 'css';
+background: cyan;
+color: black ;
+}
+.highlight pre code[class*='language-go']::before{
+content: 'Go';
+background: cyan;
+color: royalblue ;
+}
+.highlight pre code[class*='language-md']::before,
+.highlight pre code[class*='language-md']::before{
+content: 'Markdown';
+background: royalblue;
+color: whitesmoke ;
+}