forked from meyerweb/csstdg4figs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle-edit.css
More file actions
33 lines (32 loc) · 734 Bytes
/
style-edit.css
File metadata and controls
33 lines (32 loc) · 734 Bytes
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
head {
display: block;
}
style#editme {
display: block;
-webkit-user-modify: read-write-plaintext-only;
white-space: pre-wrap;
padding: 1ch 2ch; margin: 2ch;
border: 0.25ch solid rgba(0,0,0,0.33);
border-radius: 1ch;
background-color: hsl(120,20%,90%);
font: 1.2rem Consolas, "Courier New", Courier, monospace;
max-height: 50vh;
overflow: auto;
}
style#editme::before {
content: "Editable CSS";
display: block;
margin: -1ch -2ch 1em;
padding: 0.75ch 1ch 0.25ch;
background: rgba(0,42,0,0.15);
color: #666;
border-bottom: 2px solid rgba(0,0,0,0.33);
font-weight: bold;
font-family: sans-serif;
text-align: center;
}
body {
font-family: Verdana, Geneva, sans-serif;
font-size: 1.2em;
padding: 1em;
}