aboutsummaryrefslogtreecommitdiffstats
path: root/english/langSelector.css
blob: ccec2a2b7e24f05b2b47101c6f4d29986296af22 (plain) (blame)
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
/*
 * https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_js_dropdown_hover
 */

/* we don't use it as a button
.dropbtn {
  background-color: #4CAF50;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}
*/

.pageLang {
  position: relative;
  /* display: inline-block; */
}

.langContainer {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  /* min-width: 160px; */
  width: fit-content;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  padding: 10px 10px 10px 10px;
}

/* formating in a block - not practical
.langContainer a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
*/

.langContainer a:hover {background-color: #ddd;}

.pageLang:hover .langContainer {display: block;}

/*
.pageLang:hover .dropbtn {background-color: #3e8e41;}
*/

© 2014-2024 Faster IT GmbH | imprint | privacy policy