forked from blueimp/JavaScript-Templates
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo.css
More file actions
145 lines (139 loc) · 2.02 KB
/
demo.css
File metadata and controls
145 lines (139 loc) · 2.02 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
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
/*
* JavaScript Templates Demo CSS
* https://github.com/blueimp/JavaScript-Templates
*
* Copyright 2013, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* https://opensource.org/licenses/MIT
*/
body {
max-width: 750px;
margin: 0 auto;
padding: 1em;
font-family: -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
sans-serif;
line-height: 1.4;
background: #212121;
color: #dedede;
}
a {
color: #61afef;
text-decoration: none;
}
a:visited {
color: #56b6c2;
}
a:hover {
color: #98c379;
}
figure,
tr {
background: #363636;
}
tr:nth-child(odd) {
background: #414141;
}
td,
th {
padding: 10px;
text-align: left;
}
table {
width: 100%;
word-wrap: break-word;
table-layout: fixed;
border-collapse: collapse;
}
figure {
margin: 0;
padding: 10px;
border-radius: 5px;
display: inline-block;
}
figure,
table {
margin-bottom: 20px;
}
img,
canvas {
border: 0;
vertical-align: middle;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 1.5em;
margin-bottom: 0.5em;
}
h1 {
margin-top: 0.5em;
}
button,
input,
select,
textarea {
box-sizing: border-box;
font-family: inherit;
font-size: 100%;
line-height: 1.15;
margin: 0;
padding: 5px;
}
input[type='file'] {
padding: inherit;
}
#template,
#data {
width: 100%;
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
}
#result {
background: #363636;
padding: 20px;
border-radius: 5px;
}
@media (prefers-color-scheme: light) {
body {
background: #ececec;
color: #212121;
}
a {
color: #225c8d;
}
a:visited {
color: #378f9a;
}
a:hover {
color: #6fa349;
}
figure,
tr {
background: #fff;
color: #212121;
}
tr:nth-child(odd) {
background: #f6f6f6;
}
#result {
background: #fff;
padding: 20px;
border-radius: 5px;
}
}
@media (min-width: 481px) {
#navigation {
list-style: none;
padding: 0;
}
#navigation li {
display: inline-block;
}
#navigation li:not(:first-child)::before {
content: ' | ';
}
}