-
Notifications
You must be signed in to change notification settings - Fork 16
/
cp_simple_x.css
110 lines (77 loc) · 2.55 KB
/
cp_simple_x.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
/* Basic.css */
* {box-sizing: border-box}
:root{
--sans: 1em/1.6 system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, Fira Sans, sans-serif;
--mono: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, 'Courier New', monospace;
--c1:#0074d9;
--c2:#eee;
--c3:#fff;
--c4:#000;
--c5:#fff;
--m1: 8px;
--rc: 8px;
}
@media (prefers-color-scheme: dark) {
:root {
--c2:#333;
--c3:#1e1f20;
--c4:#fff;
}
}
html {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
/* General settings */
body {
margin: 0;
font: var(--sans);
font-weight: 400;
font-style: normal;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
background-color: var(--c3);
color: var(--c4);
}
img, iframe {border: none; max-width: 100%}
a {color: var(--c1); text-decoration:none}
a:hover {color: var(--c1); text-decoration: underline}
pre {font: 1em/1.6 var(--mono); background: var(--c2); padding: 1em; overflow: auto}
code {font: 1em/1.6 var(--mono);}
blockquote {border-left: 5px solid var(--c2); padding: 1em 1.5em; margin: 0}
hr {border:0; border-bottom: 1px solid var(--c4)}
/* Headlines */
h1,h2,h3,h4,h5,h6 {margin: 0.6em 0; font-weight: normal}
h1 {font-size: 2.625em; line-height: 1.2}
h2 {font-size: 1.625em; line-height: 1.2}
h3 {font-size: 1.3125em; line-height: 1.24}
h4 {font-size: 1.1875em; line-height: 1.23}
h5,h6 {font-size: 1em; font-weight:bold}
/* Table */
table {border-collapse: collapse; border-spacing: 0; margin:1em 0}
th, td {text-align: left; vertical-align: top; border: none; padding: 0.4em}
thead,tfoot {background: var(--c2)}
/* Rounded Corners*/
pre,code,input,select,textarea,button,img {border-radius: var(--rc)}
/* Forms */
input, select, textarea {font-size: 1em; color:var(--c4); background: var(--c2); border: 0; padding: 0.6em}
button, input[type=submit], input[type=reset], input[type="button"] { -webkit-appearance: none; font-size: 1em; display: inline-block; color: var(--c5); background: var(--c1); border: 0; margin: 4px; padding: 0.6em; cursor: pointer; text-align: center}
button:hover, button:focus, input:hover, textarea:hover, select:hover {opacity: 0.8}
.led{
width: 100px;
}
.led-off{
background-color: #600;
}
.led-on{
background-color: #F00;
}
.led-on-blue{
background-color: #00F;
}
.led-on-yellow{
background-color: #FF0;
}
.led-on-green{
background-color: #0F0;
}