-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
143 lines (140 loc) · 2.04 KB
/
style.css
File metadata and controls
143 lines (140 loc) · 2.04 KB
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
134
135
136
137
138
139
140
141
142
143
html,body{
width:100%;
height:100%;
margin:0;
padding:0;
background:url(images/bg1.png) fixed;
background-size:cover;
}
*{
box-sizing:border-box;
}
#main{
width:1100px;
min-height:100%;
background-color:rgba(255,180,73,0.5);
margin:auto;
margin-bottom:-50px;
box-shadow:0px 0px 15px #000000;
}
#main header{
height:150px;
background-color:rgba(0,0,0,0.9);
}
header #logo{
width:300px;
float:left;
height:120px;
font-size:30px;
color:#FFC600;
padding:10px 0px 0px 10px;
}
header #search{
width:300px;
float:right;
margin-top:10px;
}
header #search input[type=text]{
width:50px;
height:23px;
background:rgba(0,0,0,1.00);
color:#FFF;
border:1px solid #ED9B00;
border-radius:5px;
transition:all 0.5s;
}
header #search input[type=text]:focus{
width:150px;
}
header nav{
height:30px;
background-color:rgba(0,0,0,0.8);
color:#FFF;
text-align:center;
line-height:30px;
clear:both;
}
nav a{
display:block;
color:#FFF;
text-decoration:none;
padding:0px 15px;
transition:all 0.4s;
}
nav a:hover{
background-color:#444;
color:#FFBE00;
}
nav ul ul a{
min-width:60px;
}
nav ul{
padding:0;
margin:0;
}
nav ul li{
display:inline-block;
}
nav ul ul{
position:absolute;
background-color:rgba(0,0,0,0.7);
opacity:0;
visibility:hidden;
transition:all 0.3s;
transform:scaleY(0);
transform-origin:top;
}
nav ul ul li{
display:block;
position:relative;
}
nav ul li:hover>ul{
opacity:1;
visibility:visible;
transform:scaleY(1);
}
nav ul ul ul{
left:100%;
top:0;
}
#content{
width:100%;
display:table;
border-spacing:10px;
}
#content #dv_left{
width:70%;
display:table-cell;
}
#content #dv_right{
width:30%;
display:table-cell;
vertical-align:top;
}
#content article,#content aside{
border-radius:10px;
padding:15px;
margin-top:10px;
background:rgba(255,207,104,0.5);
box-shadow:2px 2px 5px #000000;
}
#content h2{
margin:0;
padding:0;
}
#content p{
margin:0;
padding:0;
}
#main #space{
height:50px;
}
footer{
width:1100px;
height:50px;
background-color:#000;
margin:auto;
color:#EEE;
font-size:11px;
text-align:center;
}