forked from olance/jQuery-switchButton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
76 lines (64 loc) · 1.18 KB
/
main.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
body {
margin: 0;
padding: 0;
font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
font-size: 14px;
color: #333;
background-color: #EFEFEF;
}
.wrapper {
position: relative;
width: 800px;
margin: auto;
padding: 20px 40px;
background: white;
}
p {
text-align: justify;
max-width: 700px;
}
h2 {
padding-bottom: 10px;
border-bottom: 1px solid #ccc;
margin-top: 60px;
}
h3 {
margin-top: 40px;
}
code, pre {
margin: 0 2px;
padding: 0px 5px;
border: 1px solid #EAEAEA;
background-color: #F8F8F8;
border-radius: 3px;
font-size: 12px;
font-family: Consolas, "Liberation Mono", Courier, monospace;
}
pre {
max-width: 600px;
padding: 10px;
margin: 20px 0;
}
.demo::before{
content: "result";
display: block;
margin-bottom: 10px;
text-transform: uppercase;
font-size: 10px;
letter-spacing: 1px;
color: #CCC;
border-bottom: 1px solid #DDD;
width: 600px;
padding: 0 20px 5px 0;
}
.demo {
padding: 20px 0;
}
.switch-wrapper {
display: inline-block;
position: relative;
top: 3px;
}
.slider.demo .switch-button-label {
font-size: 40px;
}