From 1cad4c9044d47c6653d804d7fb58581d92f96cc8 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Mon, 4 Jan 2021 13:40:21 +0100 Subject: Change organisation --- content/extras/custom.css | 185 ++++++++++++++++++++++++++++++++++++++++++++++ content/extras/htaccess | 22 ++++++ content/extras/robots.txt | 2 + 3 files changed, 209 insertions(+) create mode 100755 content/extras/custom.css create mode 100644 content/extras/htaccess create mode 100644 content/extras/robots.txt (limited to 'content/extras') 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 + + RewriteEngine On + RewriteBase / + RewriteCond %{QUERY_STRING} ^feed=rss2$ [NC] + RewriteRule ^$ /feed [NC,L,R=301] + + +# 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/ -- cgit v1.2.3