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
|
/*
CSS
Content panels for Grammalecte
*/
div.grammalecte_panel {
all: initial;
padding: 0;
margin: 0;
position: fixed;
box-sizing: content-box;
z-index: 2147483641; /* maximum is 2147483647: https://stackoverflow.com/questions/491052/minimum-and-maximum-value-of-z-index */
border: 2px solid hsl(210, 10%, 50%);
border-radius: 10px 10px 10px 10px;
background-color: hsl(210, 0%, 100%);
color: hsl(0, 0%, 0%);
font-family: "Trebuchet MS", "Fira Sans", "Liberation Sans", sans-serif;
box-shadow: 0 0 2px 1px hsla(210, 50%, 50%, .5);
line-height: normal;
text-shadow: none;
text-decoration: none;
text-align: left;
hyphens: none;
}
div.grammalecte_panel img {
display: inline-block;
margin: 0;
padding: 0;
}
div.grammalecte_panel_bar {
position: sticky;
width: 100%;
background-color: hsl(210, 0%, 90%);
border-radius: 10px 10px 0 0;
border-bottom: 1px solid hsl(210, 10%, 80%);
color: hsl(210, 10%, 4%);
font-size: 20px;
}
div.grammalecte_panel_title {
padding: 10px 20px;
}
div.grammalecte_panel_label {
display: inline-block;
|
|
|
|
|
|
|
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
|
/*
CSS
Content panels for Grammalecte
*/
div.grammalecte_panel {
all: initial;
padding: 0;
margin: 0;
position: fixed;
box-sizing: content-box;
z-index: 2147483641; /* maximum is 2147483647: https://stackoverflow.com/questions/491052/minimum-and-maximum-value-of-z-index */
border: 2px solid hsl(210, 50%, 50%);
border-radius: 10px 10px 10px 10px;
background-color: hsl(210, 0%, 100%);
color: hsl(0, 0%, 0%);
font-family: "Trebuchet MS", "Fira Sans", "Liberation Sans", sans-serif;
box-shadow: 0 0 1px 6px hsla(210, 50%, 50%, .5);
line-height: normal;
text-shadow: none;
text-decoration: none;
text-align: left;
hyphens: none;
}
div.grammalecte_panel img {
display: inline-block;
margin: 0;
padding: 0;
}
div.grammalecte_panel_bar {
position: sticky;
width: 100%;
background-color: hsl(210, 20%, 92%);
border-radius: 10px 10px 0 0;
border-bottom: 1px solid hsl(210, 20%, 86%);
color: hsl(210, 30%, 40%);
font-size: 20px;
}
div.grammalecte_panel_title {
padding: 10px 20px;
}
div.grammalecte_panel_label {
display: inline-block;
|
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
font-size: 22px;
font-weight: bold;
color: hsl(150, 0%, 100%);
text-align: center;
cursor: pointer;
}
div.grammalecte_copy_button:hover {
background-color: hsl(150, 100%, 40%);
}
div.grammalecte_move_button {
display: inline-block;
padding: 2px 5px;
background-color: hsl(180, 80%, 50%);
font-family: "Trebuchet MS", "Fira Sans", "Liberation Sans", sans-serif;
font-size: 22px;
font-weight: bold;
color: hsl(180, 0%, 100%);
text-align: center;
cursor: pointer;
}
div.grammalecte_move_button:hover {
background-color: hsl(180, 100%, 60%);
}
div.grammalecte_close_button {
display: inline-block;
padding: 2px 10px;
border-radius: 0 8px 0 0;
background-color: hsl(0, 80%, 50%);
font-family: "Trebuchet MS", "Fira Sans", "Liberation Sans", sans-serif;
|
|
|
|
|
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
font-size: 22px;
font-weight: bold;
color: hsl(150, 0%, 100%);
text-align: center;
cursor: pointer;
}
div.grammalecte_copy_button:hover {
background-color: hsl(150, 90%, 35%);
}
div.grammalecte_move_button {
display: inline-block;
padding: 2px 5px;
background-color: hsl(180, 50%, 60%);
font-family: "Trebuchet MS", "Fira Sans", "Liberation Sans", sans-serif;
font-size: 22px;
font-weight: bold;
color: hsl(180, 0%, 100%);
text-align: center;
cursor: pointer;
}
div.grammalecte_move_button:hover {
background-color: hsl(180, 80%, 65%);
}
div.grammalecte_close_button {
display: inline-block;
padding: 2px 10px;
border-radius: 0 8px 0 0;
background-color: hsl(0, 80%, 50%);
font-family: "Trebuchet MS", "Fira Sans", "Liberation Sans", sans-serif;
|