peripheral heros; jobs page; product section tweaks

This commit is contained in:
Spencer Flagg
2022-09-19 23:19:06 +02:00
parent 906d4a7041
commit 1152f2dfea
24 changed files with 269 additions and 47 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

View File

@@ -208,7 +208,7 @@ const buyAnchor = document.querySelector('.product--buy')
const buyTL = gsap
.timeline({paused:true})
.from('#buy-lines path:first-child', {drawSVG:0, ease:'none', duration: 0.75}, 0)
.to('.product--buy img:first-child', {opacity:0, ease:'none', duration: 0.25}, 0);
.to('.product--buy img:first-child', {opacity:.4, ease:'none', duration: 0.25}, 0);
buyAnchor.onmouseenter = () => buyTL.play()
buyAnchor.onmouseleave = () => buyTL.reverse()
@@ -218,7 +218,7 @@ const diyAnchor = document.querySelector('.product--diy')
const diyTL = gsap
.timeline({paused:true})
.from('#diy-lines path:first-child', {drawSVG:0, ease:'none', duration: 0.75}, 0)
.to('.product--diy img:first-child', {opacity:0, ease:'none', duration: 0.25}, 0);
.to('.product--diy img:first-child', {opacity:.4, ease:'none', duration: 0.25}, 0);
diyAnchor.onmouseenter = () => diyTL.play()
diyAnchor.onmouseleave = () => diyTL.reverse()

View File

@@ -6,7 +6,7 @@ main {
overflow-x: clip;
}
.header__logo{
.header__logo {
opacity: 1 !important;
filter: blur(0px) !important;
}
@@ -37,7 +37,7 @@ section {
display: flex;
flex-direction: column;
align-items: center;
margin: 2rem 0;
margin: 2rem 0 4rem 0;
position: relative;
img {
width: 50%;
@@ -74,10 +74,10 @@ section#hero {
}
@media only screen and (max-width: 1245px) {
section#hero {
flex-direction: column;
}
section#hero {
flex-direction: column;
}
}
section#virtues {
.section__image img {
@@ -87,17 +87,17 @@ section#virtues {
.section__double-image {
position: relative;
.section__image{
.section__image {
position: absolute;
top:-140%;
width:100%;
top: -140%;
width: 100%;
}
.section__image--left{
left:-105%;
.section__image--left {
left: -105%;
align-items: flex-end;
}
.section__image--right{
right:-105%;
.section__image--right {
right: -105%;
align-items: flex-start;
}
@@ -175,3 +175,60 @@ p {
font-weight: 700;
}
}
/* about */
.members {
display: flex;
flex-wrap: wrap;
gap: 2rem;
.member {
display: flex;
gap: 1rem;
.member__avatar {
border-radius: 100%;
width: 10rem;
height: 10rem;
border: 1px solid var(--c-text-primary);
}
p {
font-size: .8rem;
line-height: 1.4;
}
}
}
section#jobs {
p{
line-height: 1.4;
}
.job {
list-style: none;
}
ul, ol {
display: block;
list-style: disc outside none;
margin: 1em 0;
padding: 0 0 0 2rem;
}
ol {
list-style-type: decimal;
}
li {
display: list-item;
list-style: disc;
margin-bottom: .5rem;
&:last-child{
margin-bottom: 2rem;
}
}
ul ul, ol ul {
list-style-type: circle;
margin-left: 15px;
}
ol ol, ul ol {
list-style-type: lower-latin;
margin-left: 15px;
}
}

View File

@@ -11,6 +11,7 @@ section#products {
.heading{
transition: var(--t-simple);
z-index: 1;
}
.product__header {
@@ -65,7 +66,7 @@ section#products {
}
background: linear-gradient(45deg, rgba(255, 255, 255, 0.0), rgba(255, 255, 255, 0.05));
svg{
width: 27rem;
width: 27.5vw;
position: absolute;
}
}
@@ -88,7 +89,7 @@ section#products {
}
background: linear-gradient(45deg, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.25));
svg{
width: 27rem;
width: 27.5vw;
position: absolute;
}
}