-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
109 lines (91 loc) · 2.09 KB
/
Copy pathmain.css
File metadata and controls
109 lines (91 loc) · 2.09 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
body {
background:url(http://subtlepatterns.com/patterns/subtlenet2.png);
font:1em 'PT Sans', Tahoma, Arial;
text-transform:uppercase;
}
/********** Main menu**********/
.nav {
list-style:none;
margin:30px;
opacity:.5;
padding:0;
width:50px;
-moz-transition:opacity .3s ease-in-out;
-webkit-transition:opacity .3s ease-in-out;
-o-transition:opacity .3s ease-in-out;
transition:opacity .3s ease-in-out;
}
.nav:hover {
opacity:1;
}
.nav li {
height:50px;
overflow:hidden;
width:50px;
-moz-transition:width .2s ease-in-out, height .2s ease-in-out .2s;
-webkit-transition:width .2s ease-in-out, height .2s ease-in-out .2s;
-o-transition:width .2s ease-in-out, height .2s ease-in-out .2s;
transition:width .2s ease-in-out, height .2s ease-in-out .2s;
}
.nav li:hover {
height:175px;
width:200px;
}
.nav li a {
background:#bbb;
color:#fff;
cursor:pointer;
display:block;
height:40px;
line-height:40px;
margin:1px;
padding-left:15px;
width:200px;
text-decoration:none;
-moz-transition:background .2s ease-in-out;
-webkit-transition:background .2s ease-in-out;
-o-transition:background .2s ease-in-out;
transition:background .2s ease-in-out;
}
.nav li a:hover {
background:#2fc5ff;
}
.nav li a:first-child {
font-size:1.1em;
height:50px;
line-height:50px;
position:relative;
text-indent:36px;
}
.nav li a:first-child::before {
content:'';
display:block;
height:32px;
left:9px;
position:absolute;
top:9px;
width:32px;
}
.main-menu a:first-child::before {
background:url(home.png) center no-repeat;
}
.settings a:first-child::before {
background:url(settings.png) center no-repeat;
}
.link a:first-child::before {
background:url(link.png) center no-repeat;
}
.search a:first-child::before {
background:url(search.png) center no-repeat;
}
.down {
color: #888;
text-transform: none;
text-decoration: none;
position: absolute;
top: 30px;
left: 300px;
}
.down:hover {
color: #333;
}