aboutsummaryrefslogtreecommitdiff
path: root/content/extras
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2021-01-04 13:40:21 +0100
committerSébastien Dailly <sebastien@chimrod.com>2021-01-05 11:06:20 +0100
commit1cad4c9044d47c6653d804d7fb58581d92f96cc8 (patch)
tree9696b75a4288976a00dbfc694090768ac93cdd14 /content/extras
parent0c09a00a0b298cbd3bbd0082cc1026e22db9b1c5 (diff)
Change organisation
Diffstat (limited to 'content/extras')
-rwxr-xr-xcontent/extras/custom.css185
-rw-r--r--content/extras/htaccess22
-rw-r--r--content/extras/robots.txt2
3 files changed, 209 insertions, 0 deletions
diff --git a/content/extras/custom.css b/content/extras/custom.css
new file mode 100755
index 0000000..7f6e9b6
--- /dev/null
+++ b/content/extras/custom.css
@@ -0,0 +1,185 @@
+body {
+ color:#2e3440;
+}
+
+main nav {
+ border-bottom: 1px solid #d8dee9;
+}
+hr {
+ background-color: #d8dee9;
+}
+
+a.btn,
+.tag-cloud a,
+section#isso-thread section.auth-section p.post-action input {
+ background-color: #4c566a;
+ color:#fff;
+}
+a.btn:hover,
+.tag-cloud a:hover {
+ background-color:#5e81ac;
+ color:#fff;
+}
+
+a {
+ color: #5e81ac;
+}
+a:hover {
+ color: #5e81ac;
+ text-decoration:underline
+}
+
+aside {
+ background-color:#2e3440;
+}
+
+aside,
+aside a {
+ color:#eceff4
+}
+aside a:hover {
+ color:#d8dee9;
+ text-decoration:none;
+}
+
+main article :not(pre)>code {
+ font-size:.8em;
+ white-space:nowrap;
+ color:#c25;
+ padding:1px 3px;
+ background-color:#f7f7f9;
+ border:1px solid #e1e1e8;
+ border-radius:3px
+}
+main footer p {
+ margin:2px;
+ text-align:center;
+ padding:0 40px;
+ color:#999;
+ font-size:11px
+}
+div.related-posts {
+ margin:15px 0;
+ padding-bottom:20px;
+ border-top:1px solid #eee;
+ border-bottom:1px solid #eee
+}
+ul.social a.sc-facebook {
+ background-color:#3e5b98
+}
+ul.social a.sc-google {
+ background-color:#d93e2d
+}
+ul.social a.sc-instagram {
+ background-color:#125688
+}
+ul.social a.sc-keybase {
+ background-color:#4c8dff
+}
+ul.social a.sc-pinterest {
+ background-color:#c92619
+}
+ul.social a.sc-linkedin {
+ background-color:#3371b7
+}
+ul.social a.sc-medium {
+ background-color:#00ab6b
+}
+ul.social a.sc-rss {
+ background-color:#f26109
+}
+ul.social a.sc-stack-overflow {
+ background-color:#f90
+}
+ul.social a.sc-tumblr {
+ background-color:#36465d
+}
+ul.social a.sc-twitch {
+ background-color:#a970ff
+}
+ul.social a.sc-twitter {
+ background-color:#4da7de
+}
+ul.social a.sc-youtube {
+ background-color:#e02a20
+}
+ul.social a.sc-github,
+ul.social a.sc-github-alt {
+ background-color:#111010
+}
+ul.social a.sc-envelope {
+ background-color:#578ad6
+}
+ul.social a.sc-reddit {
+ background-color:#ff4500
+}
+ul.social a.sc-soundcloud {
+ background-color:#f50
+}
+ul.social a.sc-gitlab {
+ background-color:#fca326
+}
+ul.social a.sc-xing {
+ background-color:#007575
+}
+ul.social a.sc-bitbucket {
+ background-color:#0747a6
+}
+ul.social a.sc-mastodon {
+ background-color:#3088d4
+}
+ul.social a.sc-diaspora {
+ color:#000;
+ background-color:#d5d5d5
+}
+ul.social a.sc-flickr {
+ background-color:#ff0084
+}
+ul.social a.sc-lastfm {
+ background-color:#d92323
+}
+div.admonition div,
+div.admonition p,
+div.admonition pre {
+ margin-bottom:0
+}
+div.admonition {
+ color:#242121;
+ background-color:#ccc
+}
+div.admonition.attention {
+ color:#856404;
+ background-color:#fff3cd
+}
+div.admonition.caution {
+ color:#856404;
+ background-color:#fff3cd
+}
+div.admonition.danger {
+ color:#721c24;
+ background-color:#f8d7da
+}
+div.admonition.error {
+ color:#721c24;
+ background-color:#f8d7da
+}
+div.admonition.hint {
+ color:#004085;
+ background-color:#cce5ff
+}
+div.admonition.important {
+ color:#155724;
+ background-color:#d4edda
+}
+div.admonition.tip {
+ color:#004085;
+ background-color:#cce5ff
+}
+div.admonition.warning {
+ color:#856404;
+ background-color:#fff3cd
+}
+div.figure {
+ font-size:90%;
+ color:#6c757d
+}
diff --git a/content/extras/htaccess b/content/extras/htaccess
new file mode 100644
index 0000000..bca56dd
--- /dev/null
+++ b/content/extras/htaccess
@@ -0,0 +1,22 @@
+ErrorDocument 404 /404.html
+
+# Redirection pour les flux rss restés sous wordpress
+Redirect 301 /feed/ /feed
+
+# On n'autorise pas le parcours des répertoires
+DirectoryIndex index.html /404.htm
+
+# Flux cassé depuis la maj de pelican
+Redirect 301 /feeds/Libre.atom /feeds/libre.atom
+Redirect 301 /feeds/Perso.atom /feeds/perso.atom
+
+# Réécriture pour l'ancien flux rss
+<IfModule mod_rewrite.c>
+ RewriteEngine On
+ RewriteBase /
+ RewriteCond %{QUERY_STRING} ^feed=rss2$ [NC]
+ RewriteRule ^$ /feed [NC,L,R=301]
+</IfModule>
+
+# Redirection de l'adresse temporaire utilisée pour l'application d'ardoise
+Redirect 301 /pages/drawer.html /pages/script.it#ardoise-calligraphique
diff --git a/content/extras/robots.txt b/content/extras/robots.txt
new file mode 100644
index 0000000..51f2484
--- /dev/null
+++ b/content/extras/robots.txt
@@ -0,0 +1,2 @@
+User-agent: *
+Disallow: /drafts/