Updated file position, CSS with nord

This commit is contained in:
Yann Esposito (Yogsototh) 2019-10-19 22:37:25 +02:00
parent 91c850b7fe
commit 776c87a019
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646
2 changed files with 28 additions and 25 deletions

View file

@ -221,6 +221,7 @@ navigation > a {
max-width: 46em;
margin: 0 1em;
padding: 1px;
margin: 0 auto;
}
#content:first-child {
margin-top: 0;
@ -266,23 +267,25 @@ navigation > a {
/* colors theme */
:root {
color-scheme: light dark; /* support color scheme */
--base03: #002b36;
--base02: #073642;
--base01: #586e75;
--base00: #657b83;
--base0: #839496;
--base1: #93a1a1;
--base2: #eee8d5;
--base3: #fdf6e3;
--yellow: #b58900;
--orange: #cb4b16;
--red: #dc322f;
--magenta: #d33682;
--violet: #6c71c4;
--blue: #268bd2;
--cyan: #2aa198;
--green: #859900;
--transparent: rgba(255,255,255,0);
--base03: #242933;
--base02: #2D333F;
--base01: #6C727F;
--base00: #848A96;
--base0: #9CA1AC;
--base1: #B4B9C3;
--base2: #E5E9F0;
--base3: #F7F8F9;
--yellow: #b58900;
--orange: #cb4b16;
--red: #dc322f;
--magenta: #d33682;
--violet: #6c71c4;
--blue: #268bd2;
--cyan: #2aa198;
--green: #859900;
--transparent: ; rgba(255,255,255,0);
/* --main-background: #00151b; /* 0.5 darker than #002b36; */
--main-background: var(--base03); /* 0.5 darker than #002b36; */
@ -328,7 +331,7 @@ navigation > a {
/* Light theme selected */
input#light:checked ~ .main ,
input#light:target ~ .main {
--main-background: #fefaf0; /* 0.5 lighter than #fdf6e3 */
--main-background: var(--base3);
--main-foreground: var(--base01);
--second-foreground: var(--base00);
--reveal-foreground: var(--base01);
@ -339,7 +342,7 @@ input#light:target ~ .main {
}
input#light:checked ~ #labels ,
input#light:target ~ #labels {
background: #fefaf0;
background: var(--base3);
color: var(--base00);
}
@ -636,8 +639,8 @@ body,.main {
}
::selection, .main ::selection,
::-moz-selection, .main ::-moz-selection {
color: var(--todo-txt);
background-color: var(--yellow);
color: white;
background-color: var(--blue);
}
a, a:visited,
.main a, .main a:visited {

View file

@ -196,9 +196,9 @@ This is certainly a call to write such article myself.
:END:
This is how I create new reverse proxy with nginx using a template:
[[./0006-modern-irc/reverse-proxy-template.m4][reverse-proxy-template.m4]].
[[./reverse-proxy-template.m4][reverse-proxy-template.m4]].
#+begin_src m4 :exports none :mkdirp yes :tangle ./0006-modern-irc/reverse-proxy-template.m4
#+begin_src m4 :exports none :tangle reverse-proxy-template.m4
# Nginx configuration
server {
@ -264,9 +264,9 @@ server {
}
#+end_src
That I use with the following script: [[./0006-modern-irc/new-reverse-proxy.sh][new-reverse-proxy.sh]]
That I use with the following script: [[./new-reverse-proxy.sh][new-reverse-proxy.sh]]
#+begin_src bash :mkdirp yes :tangle ./0006-modern-irc/new-reverse-proxy.sh
#+begin_src bash :tangle new-reverse-proxy.sh
#!/usr/bin/env zsh
(($#<3)) && {