summaryrefslogtreecommitdiff
path: root/kpov_judge/web/kpov_judge/static/style.css
blob: ade09099a2ba6010c789cbff39a65266d91948f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
a.back {
    text-decoration: none;
}

body {
    margin: 0 auto;
    max-width: 60em;
    padding: 1em 2em;
}

h1 {
    margin-bottom: 0.5em;
}

p {
    hyphens: auto;
    margin-top: 0.5em;
    margin-bottom: 0;
    padding-top: 0;
    text-align: justify;
}

pre {
    margin-left: 1em;
}

.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 {
    position: relative;
}

.hover:hover .tooltip { /* display tooltip on hover */
    opacity: 1;
}