summaryrefslogtreecommitdiff
path: root/Documentation/source/_static/language-switcher.css
blob: 1540910ec3df53b9f86c465e1cfa8fe408fd19e6 (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
div.admonition {
  clear: both;
}

div.language-selection {
  background: #eeeeee;
  border: 1px solid #cccccc;
  float: right;
  margin-bottom: 1em;
  padding: 0.5em;
  position: relative;
}

div.language-selection:focus {
  outline: 2px solid #4477aa;
  outline-offset: 2px;
}

div.language-selection a {
  color: #333333;
  display: block;
  padding: 0.5em;
  text-decoration: none;
}

div.language-selection ul {
  background: #fafafa;
  border: 1px solid #cccccc;
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: 100%;
  white-space: nowrap;
  z-index: 10;
}

div.language-selection:hover ul,
div.language-selection:focus-within ul {
  display: block;
}

div.language-selection ul li:hover,
div.language-selection ul li:focus-within {
  background: #dddddd;
}