-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.css
More file actions
120 lines (106 loc) · 1.91 KB
/
Copy pathindex.css
File metadata and controls
120 lines (106 loc) · 1.91 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
/*reset*/
button {
all: unset;
}
html, body, div, span, a, button, p, h1, h2, h3 {
margin: 0;
border: 0;
padding: 0;
box-sizing: inherit;
font: inherit;
text-align: inherit;
color: inherit;
background: transparent;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
font-family: helvetica neue, helvetica, sans-serif;
font-size: 16px;
letter-spacing: 0.025em;
-webkit-text-size-adjust: none;
text-size-adjust: none;
}
#root {
background-color: #F0F0F0;
}
html, body {
height: 100%;
}
#root {
min-height: 100%;
}
#root > div {
max-width: 420px;
margin: 0 auto;
padding: 10px 15px 20px;
}
.title {
font-size: 24px;
}
.repo-link {
margin-left: 1px;
color: rgb(128, 128, 128);
}
.current-input-is {
font-size: 20px;
margin: 24px 0 24px;
}
/* current input type */
.mouse-type, .touch-type {
color: blue;
}
.current-input-mouse .touch-type {
display: none;
}
.current-input-touch .mouse-type {
display: none;
}
h2 {
font-size: 20px;
margin: 15px 0 10px;
}
code {
font-family: monospace;
}
p {
color: rgb(48, 48, 48);
margin: 10px 0 25px;
}
a {
text-decoration: none;
border-bottom: 1px dotted rgb(0, 168, 0);
}
.current-input-mouse a:hover,
.current-input-mouse a:active,
.current-input-touch a:active {
color: black;
border-bottom: 1px solid rgb(0, 168, 0);
}
/* current-input vs plain css demos */
.current-input-example, .plain-css-example {
display: inline-block;
cursor: pointer;
padding: 4px 6px;
border: 1px solid;
border-radius: 5px;
}
.plain-css-example:hover {
color: green;
border-color: green;
}
.plain-css-example:active {
color: red;
border-color: red;
}
.current-input-mouse .current-input-example:hover {
color: green;
border-color: green;
}
.current-input-mouse .current-input-example:active {
color: red;
border-color: red;
}
.current-input-touch .current-input-example:active {
color: blue;
border-color: blue;
}