summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-02-23 17:31:56 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-02-23 17:31:56 +0100
commit1dd4d473bb136c607eeea3a2d655b3f56e5aeee8 (patch)
tree3c9c8999bc7e2e5af2e53f6485ac1f213f253cd4 /css
parent2fa2481829bda1f475c7f9681551631cb0ba6b4f (diff)
Remove explicit "Hint" button
Hints are now generated for each tested program, and the user can press a button to reveal the hints.
Diffstat (limited to 'css')
-rw-r--r--css/codeq/hint.css23
1 files changed, 10 insertions, 13 deletions
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 {