2023-12-15 20:25:23 +00:00
|
|
|
:root {
|
|
|
|
--bg: #282c34;
|
|
|
|
--bg-secondary: #474d57;
|
|
|
|
--bg-grad-1: #484e58;
|
|
|
|
--bg-grad-2: #4e5560;
|
|
|
|
--bg-grad-3: #59616d;
|
|
|
|
--bg-grad-4: #606a7b;
|
|
|
|
--bg-grad-5: #606978;
|
|
|
|
--input: #4e5560;
|
|
|
|
--fg: #ABB2BF;
|
|
|
|
--header: #E06C75;
|
2023-12-15 21:23:28 +00:00
|
|
|
--link: #FFF;
|
|
|
|
--hover: #888;
|
2023-12-15 20:25:23 +00:00
|
|
|
|
|
|
|
--green: #98C379;
|
|
|
|
--red: #E06C75;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
background-color: var(--bg);
|
|
|
|
color: var(--fg);
|
2023-12-15 21:23:28 +00:00
|
|
|
padding: 2%;
|
2023-12-15 20:25:23 +00:00
|
|
|
font-size: 160%;
|
|
|
|
font-family: 'Courier New', Courier, monospace;
|
2023-12-15 22:53:41 +00:00
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
display: flex;
|
2023-12-15 23:54:45 +00:00
|
|
|
height: 100vh;
|
2023-12-15 22:53:41 +00:00
|
|
|
flex-direction: column;
|
|
|
|
gap: 1rem;
|
2023-12-15 20:25:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
font-size: 120%;
|
|
|
|
}
|
|
|
|
|
2023-12-31 19:03:29 +00:00
|
|
|
nav form {
|
2023-12-15 20:25:23 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2023-12-31 19:03:29 +00:00
|
|
|
.search-bar {
|
|
|
|
padding: .25rem;
|
|
|
|
margin-top: .25rem;
|
|
|
|
font-size: 1rem;
|
|
|
|
width: 15rem;
|
|
|
|
border: none;
|
|
|
|
transition: width 0.4s ease-in-out;
|
|
|
|
background-color: var(--fg);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width:1500px) {
|
|
|
|
.search-bar:focus {
|
|
|
|
width: 30rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-button {
|
|
|
|
padding: .25rem .5rem;
|
|
|
|
margin-top: .25rem;
|
|
|
|
margin-right: .5rem;
|
|
|
|
background: #ddd;
|
|
|
|
font-size: 1rem;
|
|
|
|
border: none;
|
|
|
|
background-color: orange;
|
|
|
|
}
|
|
|
|
|
2023-12-15 20:25:23 +00:00
|
|
|
.sticky {
|
|
|
|
position: -webkit-sticky;
|
|
|
|
position: sticky;
|
|
|
|
top: -2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#logo {
|
2023-12-15 22:53:41 +00:00
|
|
|
width: 8rem;
|
2023-12-15 20:25:23 +00:00
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
*::-webkit-scrollbar,
|
|
|
|
*::-webkit-scrollbar-thumb {
|
|
|
|
width: 26px;
|
|
|
|
border-radius: 13px;
|
|
|
|
background-clip: padding-box;
|
|
|
|
border: 10px solid transparent;
|
|
|
|
color: var(--fg);
|
|
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb:hover{
|
|
|
|
color: var(--link);
|
|
|
|
}
|
|
|
|
|
|
|
|
*::-webkit-scrollbar-thumb {
|
2023-12-15 21:23:28 +00:00
|
|
|
box-shadow: inset 0 0 0 10px;
|
2023-12-15 20:25:23 +00:00
|
|
|
}
|
|
|
|
|
2023-12-15 23:54:45 +00:00
|
|
|
@media (max-width:1000px) {
|
2023-12-15 20:25:23 +00:00
|
|
|
.not-required {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
position: relative;
|
|
|
|
color: var(--link);
|
|
|
|
white-space: nowrap;
|
2023-12-15 21:23:28 +00:00
|
|
|
transition: 0.4s;
|
|
|
|
align-content: center;
|
2023-12-15 20:25:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
2023-12-15 21:23:28 +00:00
|
|
|
left: 15%;
|
2023-12-15 20:25:23 +00:00
|
|
|
width: 0%;
|
|
|
|
border-bottom: 2px solid var(--fg);
|
|
|
|
transition: 0.4s;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover:after {
|
2023-12-15 21:23:28 +00:00
|
|
|
width: 70%;
|
|
|
|
color: var(--hover);
|
2023-12-15 20:25:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
2023-12-15 21:23:28 +00:00
|
|
|
color: var(--hover);
|
2023-12-15 20:25:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a:active {
|
|
|
|
color: var(--header);
|
|
|
|
}
|
|
|
|
|
|
|
|
.categories {
|
|
|
|
background-color: var(--bg);
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.category {
|
|
|
|
margin: .5rem 0rem;
|
2023-12-15 22:53:41 +00:00
|
|
|
padding: 0rem 1rem;
|
2023-12-15 20:25:23 +00:00
|
|
|
border-left: .125rem solid var(--fg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.category:first-child {
|
|
|
|
border-left: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
display: flex;
|
2023-12-15 22:53:41 +00:00
|
|
|
justify-content: flex-start;
|
2023-12-15 20:25:23 +00:00
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
2023-12-15 23:54:45 +00:00
|
|
|
gap: 1rem;
|
2023-12-15 20:25:23 +00:00
|
|
|
flex-direction: column;
|
2023-12-15 22:53:41 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
height: 90%;
|
2023-12-15 20:25:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.filter-pane {
|
2023-12-15 23:54:45 +00:00
|
|
|
padding: .5rem 2rem;
|
2023-12-15 20:25:23 +00:00
|
|
|
background-color: var(--bg-grad-3);
|
|
|
|
border-radius: 1rem;
|
|
|
|
}
|
|
|
|
|
2023-12-15 23:54:45 +00:00
|
|
|
.filter-items {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
gap: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.product-filter {
|
|
|
|
width: 100%;
|
|
|
|
padding: 16px 20px;
|
|
|
|
border: none;
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: var(--bg-grad-2);
|
|
|
|
color: var(--fg);
|
|
|
|
font-size: .75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Number Plate*/
|
|
|
|
.number-plate {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.country-identifier {
|
|
|
|
width: auto;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
color: #ffffff;
|
|
|
|
font-weight: bold;
|
|
|
|
height: 60px;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
.country-identifier img {
|
|
|
|
border-radius: 8px 0 0 8px;
|
|
|
|
}
|
|
|
|
.vrn {
|
|
|
|
width: 10rem;
|
|
|
|
height: 63px;
|
|
|
|
border: 1px solid #ead809;
|
|
|
|
background-color: #ead809;
|
|
|
|
border-radius: 0 8px 8px 0;
|
|
|
|
}
|
|
|
|
.vrn .vrn-text {
|
|
|
|
width: -webkit-fill-available;
|
|
|
|
height: -webkit-fill-available;
|
|
|
|
border-radius: 0;
|
|
|
|
border: 0;
|
|
|
|
font-family: "UKNumberPlate", sans-serif;
|
|
|
|
font-size: 180%;
|
|
|
|
text-transform: uppercase;
|
|
|
|
text-align: center;
|
|
|
|
outline: 0;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
.vrn .vrn-text:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Product Information*/
|
|
|
|
|
2023-12-15 20:25:23 +00:00
|
|
|
.product-container {
|
2023-12-15 22:53:41 +00:00
|
|
|
width: 95%;
|
2023-12-15 20:25:23 +00:00
|
|
|
margin: .5rem 0rem;
|
|
|
|
background-color: var(--bg-grad-3);
|
|
|
|
border-radius: 1rem;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex-direction: row;
|
2023-12-15 22:53:41 +00:00
|
|
|
gap: 2rem 1.5rem;
|
2023-12-15 23:54:45 +00:00
|
|
|
padding: 2rem 1rem 3rem;
|
2023-12-15 20:25:23 +00:00
|
|
|
transition: all 0.2s;
|
2023-12-15 22:53:41 +00:00
|
|
|
overflow-y: scroll;
|
2023-12-15 20:25:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.product {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex: 4 0 1rem;
|
2023-12-15 21:23:28 +00:00
|
|
|
padding: .5rem 1rem 2rem 2rem;
|
2023-12-15 20:25:23 +00:00
|
|
|
background: var(--bg-secondary);
|
|
|
|
border-radius: .5rem;
|
|
|
|
transition: all 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.product-information {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 1rem 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.product-details {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
gap: 1rem 1rem;
|
2023-12-15 21:23:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.product-description {
|
|
|
|
font-size: 70%;
|
2023-12-15 20:25:23 +00:00
|
|
|
}
|