From 83d16a58edd23373e435b3252263b6381cb6235d Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Fri, 15 Oct 2021 17:21:04 +0300 Subject: [PATCH] joplin: ++timeline css --- etc/soft/joplin/userstyle.css | 41 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/etc/soft/joplin/userstyle.css b/etc/soft/joplin/userstyle.css index e511c6b..04f6f0a 100644 --- a/etc/soft/joplin/userstyle.css +++ b/etc/soft/joplin/userstyle.css @@ -153,10 +153,10 @@ code, pre { font-size: 1.2rem; } -pre > code { - /* background-color: #2c3e50 !important; */ - /* color: #fff !important; */ -} +/* pre > code { */ +/* background-color: #2c3e50 !important; */ +/* color: #fff !important; */ +/* } */ p { display: block; @@ -244,6 +244,39 @@ ul li::before { width: 1em; } +/* Timeline dt */ +dt { + font-weight: bold; +} + +dl:before { + content: ' '; + background: darkgray; + display: inline-block; + position: absolute; + left: 29px; + width: 2px; + height: 50%; + z-index: 400; +} + +dl > dt:before { + content: ' '; + background: gray; + display: inline-block; + position: absolute; + border-radius: 50%; + left: 20px; + width: 20px; + height: 20px; + z-index: 400; +} + +dl > dt, dl > dd { + margin: 6pt 0; + padding-left: 60px; +} + ins { text-decoration: none; color: #007c7c;