Initial commit

This commit is contained in:
2026-06-14 19:56:38 -04:00
commit f985fb6168
43 changed files with 2144 additions and 0 deletions

166
css/components/_nav.scss Normal file
View File

@@ -0,0 +1,166 @@
nav.main-nav {
background: $white;
border-bottom-left-radius: 100% 64px;
border-bottom-right-radius: 100% 64px;
box-shadow: 0 4px 5px 0px rgba(0,0,0,.16);
display: flex;
padding: 16px 0 32px;
position: fixed;
width: 100%;
z-index: 1;
.mobile-nav {
align-items: center;
display: flex;
flex-direction: row;
.mobile-nav--logo {
display: none;
max-width: 100px;
img {
width: 100%;
}
@media (max-width: $m-break) {
display: block;
}
}
.hamburger {
cursor: pointer;
display: none;
margin-left: auto;
position: relative;
width: 30px;
z-index: 1;
&> div {
background-color: $black;
border-radius: 2px;
height: 5px;
margin-bottom: 5px;
transition: .25s;
width: 30px;
&:last-child {
margin-bottom: 0;
}
}
&:hover {
&> div {
background-color: $gray;
}
}
@media (max-width: $m-break) {
display: block;
}
&.in {
& div:first-child {
position: relative;
top: 1px;
transform: rotate(45deg);
}
& div:nth-child(2) {
transform: translate(-17px);
width: 40px;
}
& div:last-child {
bottom: 1px;
position: relative;
transform: rotate(-45deg);
}
}
}
}
ul {
align-items: center;
display: flex;
flex-direction: row;
margin: 0;
padding: 0;
@media (max-width: $m-break) {
background-color: $white;
flex-direction: column;
height: 100%;
left: 100%;
padding: 24px;
position: fixed;
top: 0;
transition: .25s;
width: 100%;
&.in {
left: 0;
}
}
li {
@include Libre;
list-style: none;
width: 100%;
a {
@include Libre;
color: $black;
display: inline-block;
font-size: 11px;
letter-spacing: 1px;
text-align: center;
text-decoration: none;
text-transform: uppercase;
width: 100%;
@media (max-width: $m-break) {
font-size: 14px;
padding-bottom: 16px;
width: 50%;
}
}
&:nth-child(-n+3) {
a {
text-align: left;
@media (max-width: $m-break) {
text-align: left;
}
}
}
&:nth-last-child(-n+3) {
a {
text-align: right;
@media (max-width: $m-break) {
text-align: left;
}
}
}
&.main-nav--logo {
a {
img {
margin: 0 8px;
}
}
@media (max-width: $m-break) {
display: none;
}
}
}
}
@media (max-width: $m-break) {
border-radius: 0;
padding: 24px 0;
}
}

View File

@@ -0,0 +1,89 @@
.slides {
position: relative;
&.vineyard {
min-height: 300px;
img {
height: 300px;
}
}
&.house {
min-height: 400px;
img {
height: 400px;
}
}
img {
border-radius: 5px;
object-fit: cover;
opacity: 1;
transition: .15s;
width: 100%;
&::selection {
background: rgba(255,255,255,0);
}
&.out {
opacity: 0;
}
}
.slides-arrow {
align-items: center;
background: $white;
border-radius: 5px;
cursor: pointer;
display: flex;
height: 50px;
justify-content: center;
left: -25px;
opacity: 1;
position: absolute;
right: auto;
top: 50%;
transform: translateY(-50%);
transition: .15s;
width: 50px;
&.out {
opacity: 0;
pointer-events: none;
}
svg {
background-color: $light-gray;
border-radius: 3px;
color: $white;
height: 32px;
padding: 4px;
pointer-events: none;
transition: .1s;
width: 32px;
}
&:last-child {
left: auto;
right: -25px;
}
&:hover {
svg {
background-color: darken($light-gray, 5%);
border-radius: 4px;
transform: scale(1.15);
}
}
&:active {
svg {
background-color: darken($light-gray, 10%);
transform: scale(1.1);
}
}
}
}