-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.css
46 lines (40 loc) · 867 Bytes
/
common.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
html {
font-family: 'Roboto', 'Microsoft YaHei', 'Hiragino Sans GB', STXihei, sans-serif, Arial;
}
body {
margin: 25px;
}
button {
background-color: #008CBA;
border: none;
color: white;
padding: 4px 14px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
border-radius: 4px;
-webkit-transition-duration: 0.2s;
transition-duration: 0.2s;
cursor: pointer;
}
button:hover {
box-shadow: 1px 1px 3px #888888;
}
button:disabled,
button[disabled]{
opacity: 0.6;
}
input[type="text"], input[type="number"] {
background-color: white;
border-top: 1px solid black;
border-left: 1px solid black;
padding: 3px;
border: solid 1px #dcdcdc;
transition: box-shadow 0.2s, border 0.2s;
}
input[type="text"]:focus, input[type="number"]:focus {
border: solid 1px #707070;
box-shadow: 0 0 5px 1px #969696;
}