-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
54 lines (50 loc) · 820 Bytes
/
style.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
.edit-board {
display: flex;
}
textarea {
width: 50%;
overflow: hidden;
min-height: 50em;
overflow-y: auto;
border-radius: 0.3rem;
}
/* output code block */
pre {
background-color: aliceblue;
white-space: pre-wrap;
border-radius: 0.5rem;
position: relative;
width: 50%;
min-height: 50em;
overflow-y: auto;
margin-top: 0;
margin-bottom: 0;
}
code {
font-family: monospace;
font-size: 16px;
}
pre code {
display: block;
white-space: pre;
-webkit-overflow-scrolling: touch;
overflow-x: scroll;
max-width: 100%;
min-width: 100px;
}
/* copy button */
pre button {
position: absolute;
top: 15px;
right: 15px;
inset: 5px 5px auto auto;
box-shadow: -3px 3px #999;
}
pre button:hover {
cursor: pointer;
background-color: darkgray;
}
h1,
p {
text-align: center;
}