-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdotart.css
118 lines (100 loc) · 1.73 KB
/
dotart.css
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
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
body {
color: #333;
background-color: #eee;
font-family: Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif;
}
body.modal-open main {
filter: blur(3px);
}
a:visited, a:link {
color: navy;
}
header {
overflow: auto;
}
header > h1 {
margin: 0;
}
header > p {
float: right;
margin: 0;
}
form label {
display: block;
overflow: auto;
}
form input[type=number] {
float: right;
position: relative;
}
#result {
/* Hide until a result has been loaded into it */
display: none;
overflow: auto;
}
#result > pre {
background-color: black;
color: white;
font-family: monospace;
font-size: small;
padding: 1rem;
line-height: 1.375;
overflow: auto;
}
#result.bonw,
#result.wonb {
display: block;
}
#result.bonw > pre {
background-color: white;
color: black;
}
#result > input#copy-to-clip {
margin: 1rem auto 0 auto;
display: block;
}
footer {
padding: 0 1em;
text-align: center;
font-size: smaller;
}
aside {
/* https://css-tricks.com/considerations-styling-modal/ */
position: fixed;
width: 90%;
max-height: 90%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 1rem;
background-color: #eee;
box-shadow: 0px 0px 8px black;
overflow: scroll;
}
aside.closed {
display: none;
}
aside #modal-close {
position: fixed;
right: 1rem;
top: 1rem;
border-style: solid;
border-width: 2px;
border-radius: 10px;
padding: 1rem;
color: white;
background-color: black;
cursor: pointer;
}
#modal-open {
display: block;
margin: 1em 0;
}
@media screen and (min-width: 640px) {
form, #result {
float: left;
}
#result {
margin-left: 1rem;
}
}