From 5fdb8d8f43e15b9581e8320153eb2e8c24cedac8 Mon Sep 17 00:00:00 2001 From: sijanec Date: Tue, 1 Dec 2020 23:50:20 +0100 Subject: =?UTF-8?q?dodal=20mo=C5=BEnost=20komentiranja?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _sass/main.scss | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) (limited to '_sass') diff --git a/_sass/main.scss b/_sass/main.scss index 3f10bf7..b88f35d 100644 --- a/_sass/main.scss +++ b/_sass/main.scss @@ -26,6 +26,19 @@ table, th, td, tr { a { text-decoration: underline; cursor: pointer; + color: blue; +} + +a:visited { + color: purple; +} + +a:hover { + color: darkblue; +} + +a:active { + color: lightblue; } /* comments begin */ @@ -48,31 +61,35 @@ a { background-color: lightgrey; } - .commentreplycheckbox { + .showhide-checkbox { display: none; } - .comment iframe, textarea { + .commentform iframe, .commentform textarea { width: 90%; margin-left: 5%; height: 7em } - .comment iframe { + .commentform iframe { height: 2em; } - .comment input[type=text] { + .commentform input[type=text] { margin-left: 5%; width: 75%; } - .commentform { + .showhide-hiddenelement { display: none; } - .commentreplycheckbox:checked + .commentform { - display: block; + .showhide-checkbox:checked + .showhide-hiddenelement { + display: block; /* such element is shown by default and hidden on click */ + } + + .showhide-checkbox:checked + .showhide-shownelement { + display: none; /* such element is hidden by default and shown on click */ } /* comments end */ -- cgit v1.2.3