forked from bloominstituteoftechnology/Preprocessing-II
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnavigation.less
58 lines (50 loc) · 977 Bytes
/
navigation.less
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
// Navigation Styles here
.nav-container {
width: 100%;
border-bottom: 2px dashed @navigation-border;
nav {
display: flex;
justify-content: space-between;
padding: 20px 0;
max-width: 800px;
margin: 0 auto;
position: relative;
.bus::before {
content: '';
width: 105px;
height: 70px;
background-image: url(../img/bus.jpg);
background-size: cover;
background-repeat: no-repeat;
opacity: 0;
position: absolute;
right: 90vw;
z-index: -1;
}
.bus:hover::before {
.go-bus(drive; 3s)
}
div {
display: flex;
justify-content: space-between;
width: 40%;
a {
text-decoration: none;
color: #000;
font-size: 1.4rem;
width: 20%;
padding-top: 8px;
}
}
}
@media @mobile {
nav {
flex-direction: column;
align-items: center;
padding: 10px 0;
div {
width: 80%;
}
}
}
}