-
Notifications
You must be signed in to change notification settings - Fork 54
/
common.css
97 lines (97 loc) · 1.57 KB
/
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
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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
a{
text-decoration: none;
}
li{
list-style: none;
}
.header{
width: 100%;
height: 60px;
line-height: 60px;
}
.sub-header{
width: 100%;
height: 320px;
color: #fff;
background-color: #0074d9;
}
.container{
width: 900px;
margin: 0 auto;
height: 100%;
position: relative;
}
.header .brand{
float: left;
margin-right: 1rem;
font-size: 1.25rem;
line-height: inherit;
color:rgba(0,0,0,.9);
}
.header ul{
float: right;
}
.header li{
display: inline-block;
width: 60px;
text-align: center;
}
.header li a{
color: #9692a9;
}
.sub-header h1{
font-size: 4.5rem;
font-weight: normal;
padding-top: 65px;
}
.sub-header .version{
font-size: 16px;
opacity: .8;
color: #fff;
font-weight: 400;
display: inline;
}
.sub-header p{
margin-top: 20px;
font-size: 1.2rem;
font-weight: 400;
}
.detail{
width: 500px;
margin: 80px auto 0 auto;
}
.detail .btn{
width: 200px;
height: 60px;
line-height: 60px;
background-color: #0074d9;
float: left;
border-radius: 5px;
color: #fff;
text-align: center;
}
.detail .btn.left{
margin-right: 100px;
}
.sub-header .img{
position: absolute;
width: 300px;
top: 20px;
height: 280px;
right: 0;
background-color: #fff;
border-radius: 5px;
padding: 10px;
}
.sub-header .img img{
width: 100%;
height: 100%;
}