forked from Ada18980/KinkiestDungeon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
67 lines (60 loc) · 1.06 KB
/
style.css
File metadata and controls
67 lines (60 loc) · 1.06 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
canvas {
padding: 0;
margin: auto;
outline: none;
display: block;
top:0;
bottom: 0;
left: 0;
right: 0;
position: absolute;
width: 100%;
}
@media (min-aspect-ratio: 2/1) {
canvas {
width: unset;
height: 100%;
}
}
input {
background: white;
}
textarea {
background: white;
resize: none;
}
* { -webkit-tap-highlight-color:rgba(0,0,0,0); }
.custom-select {
position: relative;
font-family: Arial, sans-serif;
}
.custom-select select {
display: none; /*hide original SELECT element:*/
}
/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
color: black;
padding: 0.2em;
cursor: pointer;
user-select: none;
}
/*style items (options):*/
.select-items {
position: absolute;
background-color: white;
top: 100%;
left: 0;
right: 0;
z-index: 99;
}
/*hide the items when the select box is closed:*/
.select-hide {
display: none;
}
.select-items div:hover, .same-as-selected {
background-color: cyan;
}
input[type=text]:invalid {
background-color: #fbb;
box-shadow: 0 0 3px 2px #c22;
}