-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
executable file
·59 lines (48 loc) · 879 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
55
56
57
58
59
/* Box Sizing */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
/* Reset */
html,
body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
}
/* Type! */
textarea {
/* Position */
width: 100%;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
/* Typography */
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
line-height: 1.6em;
font-size: 1em;
tab-size: 4;
/* Appearance */
padding: 1em;
border: none;
resize:none;
}
/* Light Theme */
.light {
color: #263238;
background: #f7f7f7;
}
/* Dark Theme */
.dark {
color: #b2ccd6;
background: #263238;
}
/* Note Title */
textarea:first-line {
font-size: 1.6em;
}
/* Remove blue glow */
textarea:focus { outline: none; }
/* Fixed width on large screens */
@media all and (min-width: 1024px) { textarea { padding: 1.6em calc(50% - 30em); } }