Commit fb94acf8 authored by Denis Salem's avatar Denis Salem
Browse files

add fix nsfw support for academik and gentle, update todo

parent 60fb8832
......@@ -178,6 +178,7 @@
DONE | Fix chapters rendering (only first level sub-chapter were rendered)
# version 2.1.x
TODO | Override theme config override.
TODO | venc -xb should also work in subdirectories
TODO | Replace aside element by nav
TODO | Improve context / ressource naming for error management
......
......@@ -33,6 +33,10 @@ pre {overflow: hidden; overflow-x: auto; clear: both; max-width: 580px;}
.__VENC_PYGMENTIZE_WRAPPER__ table .code {width: 95%; display: inline-block;vertical-align: top;}
.__VENC_PYGMENTIZE_WRAPPER__ table td pre {vertical-align: top; margin: 0px;}
.__VENC_TABLE__ table
{table-layout: fixed;
width: 580px;}
.note, .footnote
{float: left;
margin-top: 1em;
......@@ -205,6 +209,26 @@ footer
#__VENC_FEEDS_HEADER__ a
{color: white;}
/********/
/* NSFW */
/********/
.venc_nsfw
{clear: both;
width: 580px;
min-height: 228px;
display: block;
background-repeat: no-repeat;
background-position: center center;}
.venc_nsfw .venc_nsfw_content
{display: none;}
.venc_nsfw:target .venc_nsfw_content
{display: block;
background-color: white;}
/*************/
/* E N T R Y */
/*************/
......@@ -234,6 +258,9 @@ footer
margin-top: 1em;
clear: both;}
.entry .__VENC_TABLE__ table img
{width: 100%;}
.entry ul
{clear: both;
max-width: 580px;}
......
......@@ -3,6 +3,7 @@ info:
override:
columns: 1
nsfw_image: 'VenC_nsfw.png'
path:
atom_file_name: 'atom_feed.xml'
rss_file_name: 'rss_feed.xml'
......
......@@ -97,7 +97,8 @@ math
{display: none;}
.venc_nsfw:target .venc_nsfw_content
{display: block;}
{display: block;
background-color: white;}
/***************/
/* H E A D E R */
......
un#! /usr/bin/env python3
#! /usr/bin/env python3
# Copyright 2016, 2020 Denis Salem
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment