-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdc2.css
More file actions
129 lines (109 loc) · 2.31 KB
/
Copy pathdc2.css
File metadata and controls
129 lines (109 loc) · 2.31 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
* {
margin: 0;
padding: 0;
font-family: century;
}
header {
background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(images/mountain_a1.jpg);
height: 120vh;
background-size: cover;
background-position: center;
min-height: 100px;
position: relative;
background-size: cover;
}
body {
margin: 0;
padding: 0;
background-size: cover;
height: auto; /* Set height to auto to increase with content */
}
.logo {
position: absolute;
top: 15px; /* Adjust as needed */
left: 20px; /* Adjust as needed */
}
.logo img {
width: 8vw; /* Relative width */
height: auto;
}
ul {
float: right;
list-style-type: none;
margin-top: 30px;
margin-right: 5%; /* Adjust margin-right */
min-height: 100px;
font-size: 17px; /* Use relative font size */
}
ul li a {
text-decoration: none;
color: #fff;
padding: 10px 20px; /* Adjust padding */
border: 1px solid transparent;
transition: 0.5s ease;
}
ul li a:hover {
background-color: #fff;
color: #000;
}
ul li.active a {
background-color: #fff;
color: #131212be;
}
.nav-area {
float: left;
background-color: #80808042;
margin-left: 2%;
margin-top: 10%;
}
.nav-area ul {
list-style: none;
margin: 0;
padding: 0;
}
.nav-area ul li {
position: relative;
background-color: #424141ad;
padding: 5px 5px; /* Adjust padding */
}
.nav-area ul li a {
text-decoration: none;
color: #fff;
padding: 5px 5px; /* Adjust padding */
display: block;
}
.nav-area ul ul {
position: absolute;
top: 0;
left: 100%;
display: none;
min-width: 160px;
}
.nav-area ul li:hover > ul {
display: block;
}
.nav-area ul ul li:hover > a {
background: rgba(39, 39, 39, 0.664);
}
.nav-area ul li:hover > a {
background: rgba(19, 18, 18, 0.596);
}
.nav-area ul ul ul {
position: absolute;
top: 0;
left: 100%;
display: none;
min-width: 160px;
}
.nav-area ul ul ul li {
position: relative;
padding: 0;
}
.nav-area ul ul ul li:hover > a {
background: rgba(19, 18, 18, 0.596);
}
.nav-area:after {
content: '';
clear: both;
display: block;
}