first commit
This commit is contained in:
307
wp-content/themes/pkmp/css/custom.scss
Normal file
307
wp-content/themes/pkmp/css/custom.scss
Normal file
@@ -0,0 +1,307 @@
|
||||
@import '_mixins';
|
||||
|
||||
$fInter: 'Inter', sans-serif;
|
||||
$fCormorantGaramond: 'Cormorant Garamond', serif;
|
||||
|
||||
$cWhite: #fcf7f8;
|
||||
$cRed: #ee343b;
|
||||
$cDark: #10111a;
|
||||
$cViolet: #6b3078;
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
font-family: $fInter;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 100%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
|
||||
@each $breakpoint, $max in $container-max-widths {
|
||||
@if $breakpoint==sm {
|
||||
@media (min-width: 576px) {
|
||||
max-width: $max;
|
||||
}
|
||||
} @else if $breakpoint==md {
|
||||
@media (min-width: 768px) {
|
||||
max-width: $max;
|
||||
}
|
||||
} @else if $breakpoint==lg {
|
||||
@media (min-width: 992px) {
|
||||
max-width: $max;
|
||||
}
|
||||
} @else if $breakpoint==xl {
|
||||
@media (min-width: 1200px) {
|
||||
max-width: $max;
|
||||
}
|
||||
} @else if $breakpoint==xxl {
|
||||
@media (min-width: 1400px) {
|
||||
max-width: $max;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.btn {
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
column-gap: 12px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
color: $cWhite;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 2.8px;
|
||||
text-transform: uppercase;
|
||||
|
||||
padding-bottom: 8px;
|
||||
border-bottom: 2px solid $cRed;
|
||||
transition: all 700ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
|
||||
&:hover {
|
||||
color: $cWhite;
|
||||
}
|
||||
svg {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
h4.sub-title {
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
letter-spacing: 3px;
|
||||
line-height: 1.3;
|
||||
margin-bottom: 20px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
h2.title {
|
||||
font-size: 72px;
|
||||
font-weight: 500;
|
||||
font-family: $fCormorantGaramond;
|
||||
line-height: 1;
|
||||
margin-bottom: 24px;
|
||||
|
||||
span {
|
||||
font-family: $fCormorantGaramond;
|
||||
}
|
||||
|
||||
@include respond-below(xl) {
|
||||
font-size: 52px;
|
||||
}
|
||||
}
|
||||
|
||||
.text {
|
||||
margin-bottom: 40px;
|
||||
p {
|
||||
font-size: 18px;
|
||||
line-height: 1.5;
|
||||
font-weight: 400;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.box-1 {
|
||||
position: relative;
|
||||
height: 100svh;
|
||||
|
||||
.circle {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
border-radius: 100%;
|
||||
z-index: 2;
|
||||
background: #fff;
|
||||
|
||||
background: linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0%, #fff 100%);
|
||||
backdrop-filter: blur(12px);
|
||||
|
||||
span {
|
||||
color: $cDark;
|
||||
font-size: 24px;
|
||||
font-weight: 300;
|
||||
letter-spacing: 1.2px;
|
||||
line-height: 1.3;
|
||||
font-family: $fCormorantGaramond;
|
||||
}
|
||||
|
||||
@include respond-below(md) {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
._row {
|
||||
display: grid;
|
||||
grid-template-columns: 50% 50%;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
|
||||
@include respond-below(md) {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
._col {
|
||||
position: relative;
|
||||
padding: 80px;
|
||||
height: 100%;
|
||||
align-content: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
|
||||
&:hover {
|
||||
.bg-img {
|
||||
img {
|
||||
transform: scale(1.06);
|
||||
}
|
||||
&::before {
|
||||
opacity: 0.8;
|
||||
}
|
||||
}
|
||||
.btn {
|
||||
margin-left: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.logo {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
max-width: 181px;
|
||||
}
|
||||
}
|
||||
|
||||
.bg-img {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
overflow: hidden;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
transition: all 700ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-position: center;
|
||||
object-fit: cover;
|
||||
transition: all 700ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
}
|
||||
._col-content {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
@include respond-below(md) {
|
||||
padding: 32px;
|
||||
}
|
||||
|
||||
&-1 {
|
||||
.bg-img {
|
||||
&::before {
|
||||
background: linear-gradient(
|
||||
to top,
|
||||
oklch(0.16 0.03 255) 0%,
|
||||
oklab(0.16 -0.00776457 -0.0289778 / 0.5) 50%,
|
||||
oklab(0.161422 -0.00823083 -0.0285079 / 0.1) 100%
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
h4.sub-title {
|
||||
color: $cRed;
|
||||
}
|
||||
h2.title {
|
||||
color: $cWhite;
|
||||
|
||||
span {
|
||||
color: $cRed;
|
||||
}
|
||||
}
|
||||
.text {
|
||||
p {
|
||||
color: #969fab;
|
||||
}
|
||||
}
|
||||
.btn {
|
||||
color: $cRed;
|
||||
border-bottom-color: $cRed;
|
||||
}
|
||||
}
|
||||
&-2 {
|
||||
.bg-img {
|
||||
&::before {
|
||||
background: linear-gradient(
|
||||
to top,
|
||||
oklab(0.99 -0.00102606 -0.00281908 / 0.95) 0%,
|
||||
oklab(0.99 -0.00102606 -0.00281908 / 0.6) 50%,
|
||||
oklab(0.99 -0.00102606 -0.00281908 / 0.2) 100%
|
||||
);
|
||||
}
|
||||
}
|
||||
h4.sub-title {
|
||||
color: $cViolet;
|
||||
}
|
||||
h2.title {
|
||||
color: $cDark;
|
||||
span {
|
||||
color: $cViolet;
|
||||
}
|
||||
}
|
||||
.text {
|
||||
p {
|
||||
color: #5f636f;
|
||||
}
|
||||
}
|
||||
.btn {
|
||||
color: $cDark;
|
||||
border-bottom-color: $cViolet;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user