forked from pereorga/minimalist-web-notepad
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
68 lines (65 loc) · 1.13 KB
/
Copy pathstyles.css
File metadata and controls
68 lines (65 loc) · 1.13 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
68
/*! Minimalist Web Notepad | https://github.com/pereorga/minimalist-web-notepad */
body {
margin: 0;
background: #ebeef1;
}
a {
text-decoration: none;
}
.container {
position: absolute;
top: 20px;
right: 20px;
bottom: 20px;
left: 20px;
}
.footer > p {
text-align: center;
margin-top: 10px;
margin-bottom: 10px;
}
.footer > p > small {
color: #a6a6a6;
}
.footer > p > small > a {
color: #959595;
font-weight: bold;
}
#content {
font-size: 100%;
margin: 0;
padding: 20px;
overflow-y: auto;
resize: none;
width: 100%;
height: 100%;
min-height: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border: 1px #ddd solid;
outline: none;
}
#printable {
display: none;
}
@media (prefers-color-scheme: dark) {
body {
background: #383934;
}
#content {
background: #282923;
color: #f8f8f2;
border: 0;
}
}
@media print {
.container {
display: none;
}
#printable {
display: block;
white-space: pre-wrap;
word-break: break-word;
}
}