forked from Psilocine/learngit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
134 lines (112 loc) · 1.93 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
body,ul,ol,li,p,h1,h2,h3,h4,h5,h6,form,fieldset,table,td,img,div,dl,dt,dd,input {
margin: 0;
padding: 0;
}
li{
list-style: none;
}
body{
min-width: 1600px;
background-color: #f5f5f5
}
/*顶部导航栏*/
.nav-bar{
height: 60px;
background-color: #FFFFFF;
}
.nav-bar .head-logo{
float: right;
}
.nav-bar .site-logo {
float: left;
}
.nav-bar .site-logo img{
height: 50px;
margin-top: 5px;
margin-left: 5px;
}
.nav-bar .head-logo img{
height: 50px;
border-radius: 50%;
margin-top: 5px;
margin-right: 5px;
}
.nav-bar .head-logo span{
vertical-align: top;
line-height: 60px;
font-size: 18px;
font-weight: 700;
margin-right: 10px;
}
/*介绍页面*/
.intro{
height: 500px;
background: url(img/bg.jpg) no-repeat;
background-size:cover;
text-align: center;
margin-bottom: 30px;
}
.intro h1{
font: 65px/5.5em "微软雅黑";
color: #FFFFFF;
}
.intro a{
font-size: 20px;
text-decoration: none;
color: #FFFFFF;
border: 1px solid #FFFFFF;
border-radius: 10px;
padding: 15px;
transition: all .2s ease-in;
-webkit-transition: all .2s ease-in;
}
.intro a:hover{
color: #2ba7de;
background-color: rgba(255,255,255,.5);
}
/*任务*/
.task{
width: 80%;
margin: 0 auto;
background-color: #FFFFFF;
margin-bottom: 30px;
overflow: auto;
}
.task .homework{
overflow: auto;
}
.task .homework p{
padding: 10px;
font-size: 24px;
border-left: 4px solid #0000FF;
border-bottom: 2px solid #0000FF;
}
.task .homework .list li{
text-align: center;
float: left;
width: 33.3%;
height: 40px;
}
.task .homework .list a:hover{
background-color: #0000FF;
color: #FFFFFF;
}
.task .homework .list a{
display: inline-block;
width: 100%;
height: 100%;
line-height: 40px;
color: #000000;
text-decoration: none;
transition: all .3s ease-in;
-webkit-transition: all .2s ease-in;
}
/*页尾*/
.footer{
clear: both;
height: 60px;
background-color: #838383;
color: #FFFFFF;
text-align: center;
line-height: 60px;
}