forked from akshitagupta15june/PetMe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
navbar.css
164 lines (130 loc) · 2.71 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
.bg-header-offwhite {
--tw-bg-opacity: 0.5;
background-color: rgb(237 224 211);
}
.text-custom-heading {
--tw-bg-opacity: 0.8;
color: rgb(51 50 49 / var(--tw-bg-opacity));
}
#switch{
font-size: 1.5rem;
cursor: pointer;
transition: color .3s;
}
#switch.light-theme {
color: white;
}
#switch.dark-theme {
color: rgb(62, 62, 62);;
}
#switch.turn-red-hover:hover {
--tw-text-opacity: 0.65;
color: rgb(255 0 0 / var(--tw-text-opacity));
}
#switch.turn-yellow-hover:hover {
--tw-text-opacity: 0.65;
color: rgb(255 177 0 / var(--tw-text-opacity));
}
.bg-header-orange-light {
--tw-bg-opacity: 0.4;
background-color: rgb(255 171 87 / var(--tw-bg-opacity));
}
.bg-header-orange-dark {
--tw-bg-opacity: 1;
background-color: rgb(255 195 122 / var(--tw-bg-opacity));
}
.bg-header-orange-dark:hover {
--tw-bg-opacity: 1;
background-color: rgb(255 180 92 / var(--tw-bg-opacity));
transition-duration: 0.3s;
}
.bg-header-orange-light:hover {
--tw-bg-opacity: 0.7;
background-color: rgb(255 171 87 / var(--tw-bg-opacity));
transition-duration: 0.3s;
}
.turn-white-hover {
color: rgb(62, 62, 62);
}
.turn-white-hover:hover {
color: rgb(255, 255, 255);
transition-duration: 0.2s;
}
.bg-color-btn {
background-color: rgb(255, 193, 117);
border: 2px white solid;
}
.bg-color-btn:hover {
background-color: rgb(255, 172, 70);
transition-duration: 0.3s;
}
.bold-500 {
font-weight: 500;
}
.logo-border {
border: 2px solid black;
border-radius: 9999px;
}
.logo-size {
width: 80px;
}
/*make the icons white only for darker theme*/
.text-white .icon {
filter: invert(99%) sepia(1%) saturate(200%) hue-rotate(190deg)
brightness(117%) contrast(100%);
}
#logo{
transition: 0.3s ease;
}
#logo:hover{
transform: scale(1.05);
}
.mission-dark{
color: rgb(62, 62, 62);
cursor: default;
}
.mission-light{
color: rgb(255, 255, 255);
cursor: default;
}
#theme-toggle{
cursor: pointer;
}
/* make the header sticky on scroll */
#header {
position: fixed;
top: 0;
transition: 0.25s;
width: 100%;
z-index: 100;
}
.add_border{
border-bottom: 2px solid #ae642c;
/* give a bottom shadow */
box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.4);
}
.nav-hidden{
top: -100px;
}
#navbar{
height: fit-content;
}
.goog-logo-link,.goog-te-gadget span,.goog-te-banner-frame,#goog-gt-tt, .goog-te-balloon-frame,div#goog-gt-{
display: none!important;
}
.goog-te-gadget {
font-size:0px !important;
margin-bottom: -27px;
}
.skiptranslate goog-te-gadget #text{
display: none!important;
}
/* navbar changed responsiveness so the text doesn't get too big in the navbar */
@media screen and (max-width: 1190px) {
#navbar{
white-space: nowrap;
}
#navbar ul {
font-size: 15px;
}
}