-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
192 lines (182 loc) · 3.75 KB
/
style.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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
:root {
--bg-color: #F3EEEA;
--hd-ft-color: #776B5D;
--p-color: antiquewhite;
}
* {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 0.9 rem; /* Fixed font-size */
}
/* Start Body Styling */
body {
background-color: var(--bg-color) ;
margin: 0px;
box-sizing: border-box;
display: grid;
grid-template-columns: repeat(8, 1fr);
grid-template-rows: 50px 50px auto auto auto auto 50px;
grid-template-areas:
"header header header header header header header header"
"logo logo navbar navbar navbar navbar navbar navbar"
"section1 section1 section1 section1 section1 section1 section1 section1"
"section2 section2 section2 section2 section2 section2 section2 section2"
"section3 section3 section3 section3 section3 section3 section3 section3"
"section4 section4 section4 section4 section4 section4 section4 section4"
"footer footer footer footer footer footer footer footer";
}
/* End Body Styling */
.header, .logo, nav, main, footer
{
display: flex;
align-items: center;
justify-content: center;
}
/* Start Header Style */
.header {
grid-area: header;
background-color: var(--hd-ft-color);
grid-column: span 8;
padding: 10px;
color: var(--p-color);
}
.adv
{
width: 70%;
color: var(--p-color);
font-weight: bold;
font-style: italic;
text-align: center;
}
.dropdown
{
background-color: var(--hd-ft-color);
border: none;
border-radius: 10px;
}
.dropdown .toggler
{
color: var(--p-color);
font-size: 12px;
}
.dropdown-menu .dropdown-item
{
font-size: 12px;
color: var(--hd-ft-color);
}
/* End Header Style */
/* Additional styles for other grid areas */
.logo {
grid-area: logo;
grid-column: span 2;
background-color: var(--bg-color);
/* border-right: 0.5px solid #ccc8c4; */
color: #776B5D;
font-weight: bold;
font-style: italic;
}
nav {
grid-area: navbar;
grid-column: span 6;
background-color: var(--bg-color);
}
.search #search{
background-color: transparent;
border: 0.5px solid #ccc8c4;
}
.search #search::placeholder{
padding: 2px;
font-style: italic;
}
.nav-underline
{
margin: 0;
padding: 10px;
display: flex;
justify-content: space-evenly;
list-style: none;
}
.nav-underline li
{
margin-right: 20px;
}
.nav-underline li a
{
text-decoration: none;
color: var(--hd-ft-color);
}
.nav-underline li a:hover {
color: #B0A695;
}
.nav-underline li .act {
color: var(--hd-ft-color);
font-weight: bolder;
}
.nav-underline li .act:hover {
color: #B0A695;
}
#search
{
margin: 0 30px 0 100px;
border-radius: 10px;
border: none;
padding: 5px 10px;
}
nav .btn-light
{
margin-right: 10px;
color: var(--hd-ft-color);
background-color: #EBE3D5;
}
.bi-cart3, .bi-person-circle
{
margin-left: 30px;
}
.bi-cart3
{
color: var(--hd-ft-color);
}
nav .btn-link
{
text-decoration: none;
color: var(--hd-ft-color);
}
.dropdown-menu .profile
{
display: inline;
font-size: 12px;
}
.first-section {
grid-area: section1;
display: grid;
grid-template-columns: 1.5fr 6.5fr; /* Adjust as needed */
grid-template-areas: "aside article";
background-color: var(--bg-color);
border-top: 0.5px solid #ccc8c4;
height: auto; /* Adjust as needed */
}
.first-section aside {
grid-area: aside;
border-right: 0.5px solid #ccc8c4;
}
.first-section article {
grid-area: article;
}
.categories
{
margin: 15px 10px;
}
.categories .category
{
list-style: none;
margin-top: 10px;
}
.categories .category a
{
text-decoration: none;
color: var(--hd-ft-color);
}
footer {
grid-area: footer;
background-color: var(--hd-ft-color);
grid-column: span 8;
}