Skip to content

Commit

Permalink
Add node-sass, update brand styles, play with styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivallogenes committed May 3, 2024
1 parent 2d2ef8b commit 84b2970
Show file tree
Hide file tree
Showing 11 changed files with 1,887 additions and 200 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<svg viewBox="1 0 38 18" class="error-number">
<text x="0" y="17">404</text>
</svg>
<h2 class="error-message">Page Not Found</h2>
<h2 class="error-message">Page Not Found. Oh my!</h2>
<p class="button-container">
<a href="/" class="button secondary error-button-home">Go home</a>
</p>
Expand Down
14 changes: 14 additions & 0 deletions blocks/cards/cards.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
background-color: var(--background-color)
}

.cards.block li {
transition: all 250ms cubic-bezier(.25,.8,.25,1);
}

.cards .cards-card-body {
margin: 16px;
}
Expand All @@ -29,3 +33,13 @@
aspect-ratio: 4 / 3;
object-fit: cover;
}

@media (width >= 1024px) {
.cards.block li:hover {
transform: scale(1.1);
box-shadow: 0 3px 7px rgba(0,0,0,0.12), 0 3px 7px rgba(0,0,0,0.24);
}
}

/* .cards-card-image:hover {
} */
1 change: 1 addition & 0 deletions blocks/columns/columns.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

.columns > div > .columns-img-col img {
display: block;
box-shadow: 0 3px 7px rgba(0,0,0,0.12), 0 3px 7px rgba(0,0,0,0.24);
}

@media (width >= 900px) {
Expand Down
6 changes: 5 additions & 1 deletion blocks/footer/footer.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
footer {
padding: 2rem;
background-color: var(--color-neutral-100);
background-color: #f6f6f6;
font: var(--type-body-2-default-font);
letter-spacing: var(--type-body-2-default-letter-spacing);
}
Expand All @@ -13,3 +13,7 @@ footer .footer {
footer .footer p {
margin: 0;
}

footer .default-content-wrapper p:first-child {
margin-bottom: 16px;
}
12 changes: 9 additions & 3 deletions blocks/header/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/* header and nav layout */
header .nav-wrapper {
background-color: var(--background-color);
background-color: #f6f6f6;
width: 100%;
z-index: 2;
position: fixed;
Expand All @@ -21,6 +21,7 @@ header nav {
height: var(--nav-height);
padding: 0 16px;
font-family: var(--type-base-font-family);
border-bottom: 1px solid var(--color-neutral-600);
}

header nav[aria-expanded='true'] {
Expand Down Expand Up @@ -250,6 +251,7 @@ header nav .nav-sections ul > li > ul > li {
margin-top: 12px;
padding: 1em;
background-color: var(--color-neutral-500);
border: 1px solid var(--color-neutral-600);
white-space: initial;
}

Expand All @@ -262,7 +264,7 @@ header nav .nav-sections ul > li > ul > li {
height: 0;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-bottom: 8px solid var(--color-neutral-500);
border-bottom: 8px solid var(--color-neutral-600);
}

header nav .nav-sections .default-content-wrapper > ul > li > ul > li {
Expand Down Expand Up @@ -353,6 +355,10 @@ header .nav-search-panel input {

/* Mini Cart */

.cart-mini-cart {
border: 1px solid var(--color-neutral-600);
}

.cart-mini-cart:not(:has(.cart-empty-cart)) {
max-height: 760px;
min-height: 360px;
Expand All @@ -375,7 +381,7 @@ header .nav-search-input .search_autocomplete .popover-container {
}

header nav .nav-tools-panel {
top: calc(-12px + var(--nav-height));
top: calc(-24px + var(--nav-height));
}

header nav .minicart-panel {
Expand Down
1 change: 1 addition & 0 deletions head.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@
<script src="/scripts/configs.js" type="module"></script>
<script src="/scripts/commerce.js" type="module"></script>
<link rel="stylesheet" href="/styles/styles.css" />
<link rel="stylesheet" href="/styles/styles-custom.css" />
Loading

0 comments on commit 84b2970

Please sign in to comment.