-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.css
178 lines (152 loc) · 4.02 KB
/
index.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
@font-face {
font-family: win95;
src: url("W95FA.otf") format("opentype");
}
body {
background-color: #c6c3c6;
}
body > * {
font-family: win95;
overflow: hidden;
}
p {
margin: 5px;
text-wrap-style: pretty;
overflow-wrap: break-word;
}
#entries {
width: 100%;
flex-grow: 1;
overflow-y: scroll;
display: flex;
flex-direction: column-reverse;
box-shadow:
inset -1px -1px #f1f0f1,
inset -2px -2px #eaebea,
inset 1px 1px #323132,
inset 2px 2px #414041;
background-color: white;
}
form {
background-color: #c6c3c6;
padding: 10px;
box-shadow:
inset -1px -1px #f1f0f1,
inset -2px -2px #eaebea,
inset 1px 1px #323132,
inset 2px 2px #414041;
}
button {
font-family: win95;
border: none;
background-color: #c6c3c6;
box-shadow:
inset 1px 1px #f1f0f1,
inset 1.5px 2px #eaebea,
1px 1px #323132,
2px 2px #414041;
}
button:active {
background-color: #e0e0e0;
box-shadow:
inset -1px -1px #f1f0f1,
inset -2px -2px #eaebea,
inset 1px 1px #323132,
inset 2px 2px #414041;
}
input[type="text"],
textarea {
resize: none;
border: none;
box-shadow:
inset -1px -1px #f1f0f1,
inset -2px -2px #eaebea,
inset 1px 1px #323132,
inset 2px 2px #414041;
}
input[type="text"]:focus,
textarea:focus {
outline: none;
}
.entry {
border-top: 1px solid gray;
padding: 7px;
padding-top: 3px;
}
.entry_name {
font-size: 0.8em;
display: flex;
align-items: center;
padding-bottom: 3px;
border-bottom: 1px dashed gray;
}
.entry_name > * {
margin: 0px;
}
.entry_name :first-child {
font-size: 1.1em;
margin-right: 4px;
font-weight: bolder;
}
.entry_name :last-child {
margin-left: auto;
}
input[type="color"] {
-webkit-appearance: none;
border: none;
width: 50%;
margin-left: auto;
height: 1.1em;
max-width: 64px;
background: none;
}
input[type="color"]::-webkit-color-swatch-wrapper {
padding: 0;
}
input[type="color"]::-webkit-color-swatch {
border: none;
}
/*https://gist.github.com/Dakedres/0ccda599648833a1c2f65d3967aa131b*/
body *::-webkit-scrollbar {
width: 16px;
height: 100%;
background: none;
}
body *::-webkit-scrollbar-thumb,
body *::-webkit-scrollbar-button {
width: 16px;
height: 16px;
background: silver;
box-shadow:
inset 1px 1px #dfdfdf,
inset -1px -1px gray;
border: 1px solid;
border-color: silver #000 #000 silver;
}
body *::-webkit-scrollbar-track {
image-rendering: optimizeSpeed;
image-rendering: pixelated;
image-rendering: optimize-contrast;
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgLTAuNSAyIDIiIHNoYXBlLXJlbmRlcmluZz0iY3Jpc3BFZGdlcyI+CjxtZXRhZGF0YT5NYWRlIHdpdGggUGl4ZWxzIHRvIFN2ZyBodHRwczovL2NvZGVwZW4uaW8vc2hzaGF3L3Blbi9YYnh2Tmo8L21ldGFkYXRhPgo8cGF0aCBzdHJva2U9IiNjMGMwYzAiIGQ9Ik0wIDBoMU0xIDFoMSIgLz4KPC9zdmc+");
background-position: 0 0;
background-repeat: repeat;
background-size: 2px;
}
*::-webkit-scrollbar-button {
display: none;
}
body *::-webkit-scrollbar-button {
background-repeat: no-repeat;
background-size: 16px;
}
body *::-webkit-scrollbar-button:single-button:vertical:decrement {
display: block;
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgLTAuNSAxNiAxNiIgc2hhcGUtcmVuZGVyaW5nPSJjcmlzcEVkZ2VzIj4KPG1ldGFkYXRhPk1hZGUgd2l0aCBQaXhlbHMgdG8gU3ZnIGh0dHBzOi8vY29kZXBlbi5pby9zaHNoYXcvcGVuL1hieHZOajwvbWV0YWRhdGE+CjxwYXRoIHN0cm9rZT0iIzAwMDAwMCIgZD0iTTcgNWgxTTYgNmgzTTUgN2g1TTQgOGg3IiAvPgo8L3N2Zz4=");
}
body *::-webkit-scrollbar-button:single-button:vertical:increment {
display: block;
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgLTAuNSAxNiAxNiIgc2hhcGUtcmVuZGVyaW5nPSJjcmlzcEVkZ2VzIj4KPG1ldGFkYXRhPk1hZGUgd2l0aCBQaXhlbHMgdG8gU3ZnIGh0dHBzOi8vY29kZXBlbi5pby9zaHNoYXcvcGVuL1hieHZOajwvbWV0YWRhdGE+CjxwYXRoIHN0cm9rZT0iIzAwMDAwMCIgZD0iTTQgNWg3TTUgNmg1TTYgN2gzTTcgOGgxIiAvPgo8L3N2Zz4=");
}
body *::-webkit-scrollbar-corner {
background: silver;
}