-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
119 lines (100 loc) · 1.53 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
*{
margin: 0;
padding: 0;
font-family: Century Gothic;
}
header{
background-image:linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(photos/mololongo4.jpg);
height: 100vh;
background-size: cover;
background-position: center;
min-height: 100px;
}
ul{
float:right;
list-style-type: none;
margin-top: 30px;
margin-right:60px ;
}
ul li{
display: inline-block;
}
ul li a{
text-decoration: none;
color: #fff;
padding: 5px 20px;
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: #000;
}
.logo img{
float: left;
width: 150px;
height: auto;
}
.main{
max-width: 1200px;
margin: auto;
}
.title{
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%,-50%);
}
.title h1{
color: #fff;
font-size: 35px;
}
.button{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.btn:hover{
background-color: #fff;
color: #000;
}
.sub-menu{
display: none;
top:6%;
position: relative;
}
.sub-menu ul{
position: absolute;
}
.main ul li:hover .sub-menu
{
display: block;
position: absolute;
background-color: rgb(0,45,117);
margin-top: 12px;
margin-left: -8px;
}
.main ul li:hover .sub-menu ul
{
display: block;
margin:6px;
}
.main ul li:hover .sub-menu ul li
{
width: 75px;
padding: 5px;
border-bottom: 1px#fff;
background: transparent;
transition: 0.4s ease;
text-align: left;
border-radius: 0;
}
.main ul li:hover .sub-menu ul li:last-child
{
border-bottom: none;
}