-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
162 lines (133 loc) · 2.6 KB
/
Copy pathstyle.css
File metadata and controls
162 lines (133 loc) · 2.6 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
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
/* Navbar General Styles */
.navbar-line {
padding: 10px 0;
}
.line-1 {
background-color: #f8f9fa; /* Light gray */
}
.line-2 {
background-color: #e9ecef; /* Slightly darker gray */
}
.line-3 {
background-color: #dee2e6; /* Even darker gray */
}
/* Scrolling Text */
.scrolling-text {
white-space: nowrap;
overflow: hidden;
box-sizing: border-box;
flex: 1;
margin-right: 20px;
}
.scrolling-text span {
display: inline-block;
padding-left: 100%;
animation: scroll-text 40s linear infinite;
}
@keyframes scroll-text {
0% { transform: translateX(100%); }
100% { transform: translateX(-100%); }
}
/* Search Input */
.search-input {
position: relative;
width: 100%;
max-width: 400px;
margin: 0 auto;
}
.search-input input {
padding-right: 40px;
width: 100%;
}
.search-input .fa-search {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
pointer-events: none;
color: #6c757d;
}
/* Dropdown */
.dropdown-toggle::after {
display: none;
}
/* Responsive Adjustments */
@media (max-width: 992px) {
.scrolling-text {
display: none; /* Hide scrolling text on small screens */
}
.navbar-line {
padding: 5px 0; /* Reduce padding on small screens */
}
.search-input {
max-width: 100%; /* Full width for search bar on small screens */
}
.navbar-toggler {
border: none;
padding: 0.5rem;
}
.navbar-toggler i {
font-size: 1.5rem;
}
.navbar-collapse {
background-color: #f8f9fa; /* Light background for collapsed menu */
padding: 10px;
border-radius: 5px;
margin-top: 10px;
}
.navbar-line .d-flex {
flex-direction: column; /* Stack items vertically */
align-items: flex-start;
}
.navbar-line .d-flex a {
margin-bottom: 10px; /* Add spacing between stacked items */
}
}
/* Footer */
footer {
background-color: black;
color: white;
padding: 20px 0;
text-align: center;
}
/* Rating Stars */
.raiting-star {
color: rgb(250, 203, 48);
}
/* Product Cards */
.product {
max-width: 300px;
margin: auto;
transition: transform 0.3s ease;
}
.product:hover {
transform: translateY(-5px);
}
/* Responsive Adjustments */
@media (max-width: 768px) {
.scrolling-text {
display: none;
}
.search-input {
max-width: 100%;
}
.navbar-line {
padding: 5px 0;
}
.product {
max-width: 100%;
}
}
@media (max-width: 576px) {
.line-3 .dropdown-toggle {
width: 100%;
text-align: left;
}
.line-3 .d-flex {
flex-direction: column;
align-items: flex-start;
}
.line-3 .d-flex a {
margin-bottom: 10px;
}
}