diff options
Diffstat (limited to 'kpov_judge')
-rw-r--r-- | kpov_judge/web/kpov_judge/static/style.css | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/kpov_judge/web/kpov_judge/static/style.css b/kpov_judge/web/kpov_judge/static/style.css new file mode 100644 index 0000000..9be13f8 --- /dev/null +++ b/kpov_judge/web/kpov_judge/static/style.css @@ -0,0 +1,22 @@ +.hover { + position:relative; +} + +.tooltip { /* hide and position tooltip */ + top:1em; + left:1em; + background-color:black; + color:white; + border-radius:5px; + opacity:0; + position:absolute; + -webkit-transition: opacity 0.5s; + -moz-transition: opacity 0.5s; + -ms-transition: opacity 0.5s; + -o-transition: opacity 0.5s; + transition: opacity 0.5s; +} + +.hover:hover .tooltip { /* display tooltip on hover */ + opacity:1; +} |