From 1dd4d473bb136c607eeea3a2d655b3f56e5aeee8 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Tue, 23 Feb 2016 17:31:56 +0100 Subject: Remove explicit "Hint" button Hints are now generated for each tested program, and the user can press a button to reveal the hints. --- css/codeq/hint.css | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'css') diff --git a/css/codeq/hint.css b/css/codeq/hint.css index 05bd970..803479f 100644 --- a/css/codeq/hint.css +++ b/css/codeq/hint.css @@ -18,7 +18,8 @@ a.hint-static-link { cursor: pointer; } -.hint-static img { +div.hint-static img { + max-height: 12em; max-width: 80%; /* center img trick */ display: block; @@ -26,22 +27,18 @@ a.hint-static-link { margin-right: auto; } -.hints > div { - border: 1px solid gray; - border-radius: 4px; - margin-bottom: 0.5em; +div.hints > div.feedback { + border-top: 1px solid gray; + margin-bottom: 1.5em; margin-top: 0.5em; - opacity: 0.8; - padding: 0.5em; } - -.hints > div:first-child { - border: 2px solid black; - opacity: 1; +div.hints > div.feedback:first-child { + border-top: none; } -.hints > div:hover { - opacity: 1; +div.hints > div.feedback > div { + margin-bottom: 0.5em; + margin-top: 0.5em; } .popup-hint > :last-child { -- cgit v1.2.1