-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex1.css
105 lines (93 loc) · 2.07 KB
/
index1.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
/* * {
box-sizing: border-box;
} */
@import url('https://fonts.googleapis.com/css2?family=Manrope&family=Montserrat:wght@600&family=Poppins&family=Quicksand&display=swap');
:root {
--hoverTextColor:#54B435;
--textColor: #333;
}
/* body {
margin: 0;
padding: 0;
width: 100%;
font-family: "Roboto", sans-serif;
color: var(--textColor);
} */
/**navigation css ***/
#nav {
width: 100%;
border-bottom: 1px solid #ccc;
font-size:15px;
font-family: 'montserrat';
height: 54px;
padding-left: 7%;
padding-right: 7%;
}
#nav ul {
padding: 0;
list-style: none;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0px 10px;
height: 100%;
margin: 0;
position: relative;
}
#nav ul li {
height: 100%;
display: flex;
align-items: center;
margin: 0;
/* background-color: red; */
border-bottom: 2px solid transparent;
cursor: pointer;
}
#nav ul li:hover{
color: var(--hoverTextColor);
border-bottom: 4px solid var(--hoverTextColor);
}
/* #nav ul li:hover .slider{
overflow: hidden;
overflow: visible;
color: var(--hoverTextColor);
border-bottom: 4px solid var(--hoverTextColor);
} */
/**module box submenu***/
.subMenu {
position: absolute;
font-family: 'poppins';
width: 100%;
/* height:100%; */
top: 51px;
left: 0;
right: 0;
background-color: white;
border: 1px solid #ccc;
box-sizing: border-box;
display: none;
/* margin: 4px 70px; */
margin: auto;
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
padding: 20px;
z-index: 2;
/* width: fit-content; */
}
#nav ul li:hover .subMenu {
display: block;
}
.subMenu p {
color: var(--textColor);
margin-top: 10 px;
padding: 10px 0px;
width: 150px;
}
.submenuList {
display: flex;
}
.column {
margin-right: 100px;
}
.column h4{
font-family: montserrat;
}