From aaf7994890f3eb31cb310211868e8476ba89e7df Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Mon, 26 Jun 2017 22:11:37 +0200 Subject: CSS: add comments to know from which shortcode it targets --- static/css/main.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/static/css/main.css b/static/css/main.css index dbe2d78..50813ee 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -1,3 +1,4 @@ +/* Common pages colors/display */ a:active, a:link, a:visited, a:hover { color: #2b73b7; text-decoration: none; @@ -7,11 +8,15 @@ main a:active, main a:link, main a:visited, main a:hover { color: #080; // comment this line if you planned to use 'internal' shortcode } + +/* Shortcode 'nolink' */ span.nolink { color: red; /* border-bottom: 1px dashed;*/ } + +/* Shortcode 'remote' */ a.remote:active, a.remote:link, a.remote:visited, a.remote:hover { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAABdklEQVR4AWMgAVRo1zY3rGk41rC+rqvCBCJWBpPM4WoomLHtdtuv/t9Lfk263TtrQ0t7Oj9cbzZDc/W6s/8T7khD+P+F/8bv29PZlswJVVBu0vPuVZyNYHFZbmAqE1SR0cbjXR6pjGBO58am962Ta3e3ftqy6B5LCcMasOj7gInrm9jBzI4vTX+bfjT/7/4/p/w/zFXybUmt71u4wJzGfxP/t/xvA+KaP2XnQSKVFpWPav/U/6+HKJjz++OVJUDp1n9N/+r+19QyMCz1mPC/8X/X/26Igrn3GiUeL5n/v+F/8//6/9NOMTC0hDUDefP/L4MoOL6ickVeSQ1QqAGooPdBJE/lnloge/fhixBHftFd9bLkR83/+n/1QAXVP8qX1Pyv/L/s/12f/4xQNz8s3Pa/6X/Vvzqgour/5f/r/q//f2fmLy54WP7lfJN74eMSoKIyoNFz/5/+9ar+Px9aZL3Xfjvz7aO3/96+eLvsnSVE7CPhOAYA9nvIX0UoNU8AAAAASUVORK5CYII=); background-repeat: no-repeat; @@ -21,11 +26,15 @@ a.remote:active, a.remote:link, a.remote:visited, a.remote:hover { color: #2b73b7; } -a.internal { + +/* Shortcode 'internal' */ +a.internal:active, a.internal:link, a.internal:visited, a.internal:hover { color: #080; text-decoration: none; } + +/* Shortcode 'note' */ div.note { margin: 2em; border-radius: 20px; -- cgit v1.2.3