-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathheader-style.css
More file actions
109 lines (95 loc) · 2.13 KB
/
Copy pathheader-style.css
File metadata and controls
109 lines (95 loc) · 2.13 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
/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/
.header {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
background-color: rgb(18, 17, 17);
width: 105vw;
height: 4rem;
position: relative;
left: -1.5rem;
}
.container-fluid {
margin-left: 0rem;
}
form {
position: relative;
right: 4rem;
left: auto;
margin-top: 0.9rem;
outline: none;
border: none;
font-family: 'Poppins', sans-serif;
}
.search {
width: 20rem;
height: 2.5rem;
outline: none;
border: none;
border-radius: 6px;
padding: 0.9rem;
-webkit-transition: width 0.3s;
-o-transition: width 0.3s;
transition: width 0.3s; /* Add transition for smoother width change */
}
.bar button {
position: relative;
width: 4rem;
height: 2rem;
outline: none;
border: none;
right: 4.4rem;
background-color: transparent;
border-radius: 4rem;
color: white;
}
button > i {
font-size: 20px;
}
.logo > a > img {
top: 0.5rem;
position: relative;
left: 4rem;
}
.search:hover {
outline: none;
-webkit-box-shadow: 0 0 2px #007bff, 0 0 10px #007bff, 0 0 4px #007bff, 0 0 3px #007bff;
box-shadow: 0 0 2px #007bff, 0 0 10px #007bff, 0 0 4px #007bff, 0 0 3px #007bff;
}
@media screen and (max-width: 993px) {
.search {
width: 15rem; /* Reduce the width of the search bar for smaller screens */
}
#search-toggle {
/* Adjust styles for smaller screens if needed */
}
.header {
/* Adjust styles for the header if needed */
}
}
@media screen and (max-width: 561px) {
.search {
width: 10rem; /* Further reduce the width of the search bar for even smaller screens */
left: 5rem;
position: relative;
}
}
@media screen and (max-width: 465px) {
.search{
left: 6rem;
width: 6rem;
}
}
@media screen and (max-width: 545px) {
.logo > a > img{
left: 2rem;
}
}