-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnavbar.css
114 lines (93 loc) · 1.7 KB
/
navbar.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
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
font-family: 'Spartan', sans-serif;
}
#header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px 80px;
background-color: #E3E6F3;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
z-index: 999;
position: sticky;
top: 0px;
left: 0px;
}
.logo {
font-size: 25px;
text-decoration: none;
font-family: sans-serif;
color: #088178;
font-weight: bold;
background-image: url("button.png");
background-size: cover;
}
::placeholder {
padding-left: 10px;
}
#search_box {
width: 400px;
}
#search_box>input {
width: 80%;
height: 30px;
background-color: white;
border: 1px solid white;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
border-radius: 5px;
}
#search_box>button {
padding: 6px 12px;
border: 1px solid white;
background-color: #088178;
color: #1a1a1a;
font-weight: 600;
border-radius: 5px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}
#search_box>button:hover {
background: #465b52;
color: white;
}
#navbar {
display: flex;
align-items: center;
justify-content: center;
}
#navbar li {
list-style: none;
padding: 0 20px;
position: relative;
}
#navbar li a {
text-decoration: none;
font-size: 16px;
font-size: 600;
color: #1a1a1a;
transition: 0.3s ease;
}
#navbar li a:hover,
#navbar li a.active {
color: rgb(46, 165, 165);
}
#navbar li a.active::after,
#navbar li a:hover::after {
content: "";
width: 20px;
height: 2px;
background-color: #088178;
position: absolute;
bottom: -4px;
left: 20px
}
/* dash */
#current_user {
background-color: #e3e6f3;
border: transparent;
font-size: large;
text-align: center;
outline: none;
}