forked from Georgewgf/reciteWords
-
Notifications
You must be signed in to change notification settings - Fork 0
/
small.css
106 lines (99 loc) · 1.74 KB
/
small.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
/*全局reset*/
*{
margin:0px;
padding: 0px;
}
body{
background: #333;
color:#ddd;
margin-bottom: 100px;
font-size: 18px;
}
input,button{
border:none;
outline: none;
}
/*全局reset结束*/
/*banner条开始*/
.banner{
width: 80%;
margin: 0 auto;
margin-top: 30px;
border-radius: 10px;
background: #444;
padding: 50px 90px;
box-sizing: border-box;
}
.banner .title{
font-size: 50px;
font-family: 宋体;
margin-top: 20px;
margin-bottom: 10px;
color:white;
transition:color 0.35s;
}
.banner .title:hover{
color:#Fc0;
}
.banner .content{
font-size: 21px;
font-weight: 200;
font-family: 宋体;
margin-bottom: 15px;
}
.banner button{
padding: 8px 15px;
font-size: 18px;
border-radius: 6px;
background: #Fc0;
color: #444;
font-weight: 400;
transition:background 0.35s;
}
.banner button:hover{
background: #f90;
}
/*banner条结束*/
/*单词大容器*/
.container{
width: 80%;
margin:0 auto;
margin-top: 50px;
line-height: 25px;
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
.wordItemBox{
display: inline-block;
width: 100%;
border-radius: 10px;
background: #444;
padding-left: 15px;
padding-right: 15px;
margin-top: 15px;
padding-bottom: 10px;
}
hr{
height:10px;
border:none;
border-top:1px groove #666;
border-top:1px groove #ddd;
}
.wordItemBox .word{
color:#fc0;
font-size: 32px;
line-height: 45px;
display: inline-block;
padding-right: 10px;
transition:color 0.35s;
}
.wordItemBox .word:hover{
color:#f90;
}
.wordItemBox .translate{
}
.wordItemBox .pronounce{
display: inline-block;
}
/*单词大容器结束*/