-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdemo.css
104 lines (103 loc) · 1.67 KB
/
demo.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
*{
font-family: system, -apple-system, '.SFNSDisplay-Regular', HelveticaNeue, Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
overflow-x: hidden;
}
.demo{
width: 100%;
max-width: 640px;
margin: 24px auto;
}
header{
width: 100%;
height: 170px;
background-color: #4A90E2;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
header h1{
color: #FFF;
font-size: 36px;
font-weight: normal;
max-width: 640px;
width: 100%;
margin: 55px auto 36px auto;
}
.theme-select{
max-width: 640px;
width: 100%;
margin: 0 auto;
}
.theme-select button{
background: none;
border: none;
outline: none;
color: #fff;
font-size: 14px;
text-align: center;
line-height: 20px;
height: 36px;
padding: 8px 16px;
margin-right: 0;
cursor: pointer;
}
.theme-select button.active, .theme-select button:hover{
border-bottom: 4px solid #F8E71C;
}
.event-trigger{
margin-top: 210px;
}
.event-trigger h4{
color: #333;
margin: 0 0 14px 0;
}
.event-trigger table{
width: 80%;
border-collapse:separate;
border-spacing:16px 8px;
margin-left: -16px;
}
.event-trigger td{
color: #4A90E2;
font-size: 14px;
text-align: center;
padding: 8px;
border: 1px solid #4A90E2;
border-radius: 4px;
cursor: pointer;
}
.event-trigger td:hover{
color: #FFF;
background-color: #4A90E2;
}
.notifies{
position: fixed;
top: 0;
right: 0;
}
footer{
border-top: 1px solid #CFDDDC;
width: 100%;
margin-top: 48px;
}
footer p{
color: #333;
font-size: 16px;
max-width: 640px;
width: 100%;
margin: 18px auto;
}
footer p a{
color: #4A90E2;
text-decoration: none;
cursor: pointer;
}
footer p a:hover{
text-decoration: underline;
}