-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmutationobserver.css
110 lines (98 loc) · 2.49 KB
/
mutationobserver.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
body{
font: 95% / 1.5 sans-serif;
margin:0;
padding:0;
}
header{
color:#fff;
background: rgba(51,51,153,.5);
position:fixed;
width: 100%;
top:0;
padding: 1rem 0;
}
header p{
margin: 0 .8rem
}
header b{
font-size: 1.2rem;
}
header a{
color:#fff;
}
h1{margin: 0 .5rem}
article{
margin:3rem;
padding-top: 4rem;
width: 35rem;
margin: 1rem auto;
}
article p{
margin: 1rem auto;
}
button{
background-color: #eeeeee;
background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(238, 238, 238)), to(rgb(204, 204, 204)));
background-image: -webkit-linear-gradient(top, rgb(238, 238, 238), rgb(204, 204, 204));
background-image: -moz-linear-gradient(top, rgb(238, 238, 238), rgb(204, 204, 204));
background-image: -o-linear-gradient(top, rgb(238, 238, 238), rgb(204, 204, 204));
background-image: -ms-linear-gradient(top, rgb(238, 238, 238), rgb(204, 204, 204));
background-image: linear-gradient(top, rgb(238, 238, 238), rgb(204, 204, 204));
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#eeeeee', EndColorStr='#cccccc');
border: 1px outset #999;
font: inherit;
font-weight: bold;
border: 1px solid #ccc;
border-radius: 5px;
line-height: .8;
color: #333;
padding: .5rem;
text-shadow: 1px 1px 0 #eee;
}
button:hover, button:active{
background-color: #cccccc;
background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(204, 204, 204)), to(rgb(238, 238, 238)));
background-image: -webkit-linear-gradient(top, rgb(204, 204, 204), rgb(238, 238, 238));
background-image: -moz-linear-gradient(top, rgb(204, 204, 204), rgb(238, 238, 238));
background-image: -o-linear-gradient(top, rgb(204, 204, 204), rgb(238, 238, 238));
background-image: -ms-linear-gradient(top, rgb(204, 204, 204), rgb(238, 238, 238));
background-image: linear-gradient(top, rgb(204, 204, 204), rgb(238, 238, 238));
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#cccccc', EndColorStr='#eeeeee');
text-shadow: -1px -1px 0 #eee;
border: 1px inset #ccc;
}
label,button{cursor: pointer}
button:active, button:focus{
outline-color: rgba(51,51,153,.5);
}
.hidden{
visibility:hidden;
}
nav{
position:absolute;
top:0;
right:0;
padding: 2rem;
}
.numevents{font-size: 1.5rem;}
code{font-size:1.1rem;}
#demo{
background:#eee;
border:1px solid #ccc;
width: 45rem;
margin:0 auto 3rem;
}
#demo p{
margin: 1rem;
}
.resize{
resize: horizontal;
overflow: hidden;
}
.modded p{
font-weight: bold;
color: #c09;
}
#values{
font-family:monospace;
}