-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
102 lines (101 loc) · 2.09 KB
/
style.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
html, body {
box-sizing: border-box;
padding: 0;
margin: 0;
text-align: center;
}
*, *:before, *:after {
box-sizing: inherit;
}
.clearfix:after {
content: '';
display: block;
clear: both;
float: none;
}
.title {
margin-bottom: 0;
text-align: center;
font-size: 30px;
color: #333;
}
.link, .link:visited {
display: inline-block;
margin: 20px 0;
color: #555;
text-decoration: none;
font-weight: bold;
}
.link:hover, .link:focus { color: #9fd6c2; }
/* container - body */
#container {
width: 100%;
margin: auto;
}
.slide_wrap {
position: relative;
width: 400px;
margin: auto;
padding-bottom: 30px; }
.slide_box {
width: 100%;
margin: auto;
overflow-x: hidden;
}
.slide_content {
display: table;
float: left;
width: 400px;
height: 400px;
}
.slide_content > p {
display: table-cell;
vertical-align: middle;
text-align: center;
font-size: 100px;
font-weight: bold;
color: #555;
}
.slide_content.slide01 { background: #ddbdff; }
.slide_content.slide02 { background: #9fd6c2; }
.slide_content.slide03 { background: #abe2f7; }
.slide_content.slide04 { background: #f08c78; }
.slide_content.slide05 { background: #fbdb65; }
.slide_btn_box > button {
position: absolute;
top: 50%; margin-top: -45px;
width: 60px; height: 60px;
font-size: 16px; color: #999;
background: none;
border: 1px solid #ddd;
cursor: pointer;
}
.slide_btn_box > .slide_btn_prev { left: -100px; }
.slide_btn_box > .slide_btn_next { right: -100px; }
.slide_pagination {
position: absolute;
left: 50%;
bottom: 0;
list-style: none;
margin: 0;
padding: 0;
transform: translateX(-50%);
}
.slide_pagination .dot {
display: inline-block;
width: 15px;
height: 15px;
margin: 0 5px;
overflow: hidden;
background: #ddd;
border-radius: 50%;
transition: 0.3s;
}
.slide_pagination .dot.dot_active {
background: #333;
}
.slide_pagination .dot a {
display: block;
width: 100%;
height: 100%;
}