-
Notifications
You must be signed in to change notification settings - Fork 149
Expand file tree
/
Copy pathstyle.css
More file actions
123 lines (117 loc) · 2.02 KB
/
style.css
File metadata and controls
123 lines (117 loc) · 2.02 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
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
font-family: "Roboto", sans-serif;
font-size: 16px;
width: 100vw;
min-height: 100vh;
}
/* Nav Container Star */
nav {
width: 100%;
height: 65px;
background-color: rgb(1, 1, 39);
}
.container {
width: 60%;
height: 100%;
margin: 0 auto;
display: flex;
align-items: center;
}
/* Nav Container ends */
/* Brand section start */
.brand-section {
display: flex;
align-items: center;
}
.brand-logo {
margin-right: 1rem;
}
.brand-logo span {
color: #fff;
font-size: 2.5rem;
}
.brand-title a {
text-decoration: none;
color: #fff;
}
/* Brand Section ends */
/* Main menu section start */
.main-menu {
display: flex;
margin-left: 2rem;
}
.main-menu a,
.right-menu a {
display: inline-block;
margin-right: 1rem;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 2px;
color: #fff;
}
.main-menu a:hover {
text-decoration: underline;
color: #ffff00;
}
/* Main menu section ends */
/* Right menu section start */
.right-menu {
display: flex;
align-items: center;
margin-left: auto;
}
.right-menu button {
background-color: transparent;
border: none;
outline: none;
color: #fff;
cursor: pointer;
}
.right-menu button > span {
font-size: 1.5rem;
}
/* Right menu section ends */
/* Dropdown Start */
.dropdown {
position: relative;
}
.dropdown:hover .dropdown-items {
display: block;
}
.dropdown > .dropdown-items {
position: absolute;
right: 0;
background-color: #fff;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
width: 200px;
border-radius: 0.15rem;
display: none;
}
.dropdown-items-ul {
list-style: none;
}
.dropdown-item-li {
padding: 0.5rem 1rem;
text-align: left;
}
.dropdown-item-li:hover {
background-color: #ddd;
}
.dropdown-item-li a {
color: #333;
font-size: 0.9rem;
font-weight: bold;
letter-spacing: normal;
}
.divider {
border: none;
border-bottom: 1px solid #ddd;
}
/* Dropdown End */