forked from sivadurga-d/sd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
117 lines (112 loc) · 1.7 KB
/
styles.css
File metadata and controls
117 lines (112 loc) · 1.7 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
nav{
background-image: -webkit-linear-gradient(#336666,#66cccc);
background-repeat: no-repeat;
height: 50px;
width: 100%;
position: fixed;
top: 0px;
left: 0px;
}
nav ul
{
padding: 0px;
margin: 0px;;
/* height: 50px;
background-color: brown;
display: block;
*/}
nav ul li
{
height: 50px;
/*background-color: blueviolet;*/
}
nav ul li{
padding: 0px;;
width: 24%;
height: 50px;
line-height: 50px;
text-align: center;
display: inline-block;
}
a {
display: block;
color: black;
font-size: 20px;
text-decoration: none;
}
li a:hover
{
display: block;
height: 50px;
font-size: 26px;
color: blanchedalmond;
background-color: black;
}
.content
{
position: absolute;
width: 100%;
top: 250px;
margin-top: 60px;;
color: crimson;
font-size: 22px;
font-style: italic;
}
footer
{
position: fixed;
bottom: 0px;
left: 0px;
width: 100%;
height: 35px;
background-color: lightpink;
}
.sub
{
display: none;
width: inherit;
}
.sub li
{
display: block;
width: inherit;
}
.sub li
{
padding: 0px;;
width: 100%;
height: 50px;
line-height: 50px;
text-align: center;
}
.sub li
{ text-align: center;
color: white;
background-image: -webkit-linear-gradient(#336666,#66cccc);
background-repeat: no-repeat;
}
nav ul li:hover
{
color: red;
}
nav ul li:hover .sub
{
position: fixed;
display: block;
}
.sub li:hover
{
background-color: sandybrown;
background-repeat: no-repeat;
}
.inner
{
display: none;
}
.sub li:hover .inner
{
position: relative;
top: -100%;
left: 100%;
display: block;
}