Updated file position, CSS with nord
This commit is contained in:
parent
91c850b7fe
commit
776c87a019
|
@ -221,6 +221,7 @@ navigation > a {
|
||||||
max-width: 46em;
|
max-width: 46em;
|
||||||
margin: 0 1em;
|
margin: 0 1em;
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
#content:first-child {
|
#content:first-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
@ -266,23 +267,25 @@ navigation > a {
|
||||||
/* colors theme */
|
/* colors theme */
|
||||||
:root {
|
:root {
|
||||||
color-scheme: light dark; /* support color scheme */
|
color-scheme: light dark; /* support color scheme */
|
||||||
--base03: #002b36;
|
|
||||||
--base02: #073642;
|
--base03: #242933;
|
||||||
--base01: #586e75;
|
--base02: #2D333F;
|
||||||
--base00: #657b83;
|
--base01: #6C727F;
|
||||||
--base0: #839496;
|
--base00: #848A96;
|
||||||
--base1: #93a1a1;
|
--base0: #9CA1AC;
|
||||||
--base2: #eee8d5;
|
--base1: #B4B9C3;
|
||||||
--base3: #fdf6e3;
|
--base2: #E5E9F0;
|
||||||
--yellow: #b58900;
|
--base3: #F7F8F9;
|
||||||
--orange: #cb4b16;
|
|
||||||
--red: #dc322f;
|
--yellow: #b58900;
|
||||||
--magenta: #d33682;
|
--orange: #cb4b16;
|
||||||
--violet: #6c71c4;
|
--red: #dc322f;
|
||||||
--blue: #268bd2;
|
--magenta: #d33682;
|
||||||
--cyan: #2aa198;
|
--violet: #6c71c4;
|
||||||
--green: #859900;
|
--blue: #268bd2;
|
||||||
--transparent: rgba(255,255,255,0);
|
--cyan: #2aa198;
|
||||||
|
--green: #859900;
|
||||||
|
--transparent: ; rgba(255,255,255,0);
|
||||||
|
|
||||||
/* --main-background: #00151b; /* 0.5 darker than #002b36; */
|
/* --main-background: #00151b; /* 0.5 darker than #002b36; */
|
||||||
--main-background: var(--base03); /* 0.5 darker than #002b36; */
|
--main-background: var(--base03); /* 0.5 darker than #002b36; */
|
||||||
|
@ -328,7 +331,7 @@ navigation > a {
|
||||||
/* Light theme selected */
|
/* Light theme selected */
|
||||||
input#light:checked ~ .main ,
|
input#light:checked ~ .main ,
|
||||||
input#light:target ~ .main {
|
input#light:target ~ .main {
|
||||||
--main-background: #fefaf0; /* 0.5 lighter than #fdf6e3 */
|
--main-background: var(--base3);
|
||||||
--main-foreground: var(--base01);
|
--main-foreground: var(--base01);
|
||||||
--second-foreground: var(--base00);
|
--second-foreground: var(--base00);
|
||||||
--reveal-foreground: var(--base01);
|
--reveal-foreground: var(--base01);
|
||||||
|
@ -339,7 +342,7 @@ input#light:target ~ .main {
|
||||||
}
|
}
|
||||||
input#light:checked ~ #labels ,
|
input#light:checked ~ #labels ,
|
||||||
input#light:target ~ #labels {
|
input#light:target ~ #labels {
|
||||||
background: #fefaf0;
|
background: var(--base3);
|
||||||
color: var(--base00);
|
color: var(--base00);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -636,8 +639,8 @@ body,.main {
|
||||||
}
|
}
|
||||||
::selection, .main ::selection,
|
::selection, .main ::selection,
|
||||||
::-moz-selection, .main ::-moz-selection {
|
::-moz-selection, .main ::-moz-selection {
|
||||||
color: var(--todo-txt);
|
color: white;
|
||||||
background-color: var(--yellow);
|
background-color: var(--blue);
|
||||||
}
|
}
|
||||||
a, a:visited,
|
a, a:visited,
|
||||||
.main a, .main a:visited {
|
.main a, .main a:visited {
|
||||||
|
|
|
@ -196,9 +196,9 @@ This is certainly a call to write such article myself.
|
||||||
:END:
|
:END:
|
||||||
|
|
||||||
This is how I create new reverse proxy with nginx using a template:
|
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
|
# Nginx configuration
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
@ -264,9 +264,9 @@ server {
|
||||||
}
|
}
|
||||||
#+end_src
|
#+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
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
(($#<3)) && {
|
(($#<3)) && {
|
Loading…
Reference in a new issue