-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
98 lines (83 loc) · 1.22 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
body
{
font: 100% Tahoma;
text-transform: uppercase;
}
.nav
{
list-style: none;
padding: 0;
margin: 30px;
width: 50px;
opacity: .5;
transition: opacity .3s ease-in-out;
}
.nav:hover
{
opacity: 1;
}
.nav li
{
height: 50px;
width: 50px;
overflow: hidden;
transition: width .2s ease-in-out,
height .2s ease-in-out;
}
.nav li:hover
{
width: 200px;
height: 173px;
}
.nav li a
{
display: block;
width: 200px;
height: 40px;
line-height: 40px;
background: #bbb;
margin: 1px;
color: white;
padding-left: 15px;
cursor: pointer;
text-decoration: none;
transition: background .2s ease-in-out;
}
.nav li a:hover
{
background: #2fc5ff;
}
.nav li a:first-child
{
font-size: 110%;
height: 50px;
line-height: 50px;
position: relative;
text-indent: 36px;
}
.nav li a:first-child::before
{
content: '';
position: absolute;
display: block;
height: 32px;
width: 32px;
top: 9px;
left: 9px;
}
.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;
}