-> tailwind

This commit is contained in:
roryjshelton 2023-05-05 08:28:04 +02:00
parent 67d490c385
commit f422b72ffb
7 changed files with 27 additions and 48 deletions

View File

@ -2,11 +2,13 @@
import "./CtoStyles.css"; import "./CtoStyles.css";
--- ---
<div class="cto-container"> <div class="cto-container w-full transition-[0.5s];">
<div class="cto-geometric-bg"> <div class="cto-geometric-bg">
<div class="cto-shadow"> <div class="cto-shadow w-full transition-[0.5s] rounded-[72.5px];">
<span id="cto"></span> <span id="cto"></span>
<div class="shadowdrop"> <div
class="shadowdrop shadow-[0px_4px_4px_#00000040] w-full transition-[0.5s] rounded-[72.5px];"
>
<h2 <h2
class="text-[calc(15px_+_(25_-_10)_*_((100vw_-_300px)_/_(1600_-_300)))] text-[color:var(--aquamarine)] uppercase font-bold" class="text-[calc(15px_+_(25_-_10)_*_((100vw_-_300px)_/_(1600_-_300)))] text-[color:var(--aquamarine)] uppercase font-bold"
> >
@ -27,8 +29,8 @@ import "./CtoStyles.css";
</h4> </h4>
<div class="cto-mini-bio"> <div class="cto-mini-bio">
<div class="cto-info"> <div class="cto-info">
<h5 class="cto-name">Derrick Hammer</h5> <h5>Derrick Hammer</h5>
<h6 class="cto-title">CTO</h6> <h6>CTO</h6>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,15 +1,5 @@
.cto-container {
width: 100%;
transition: 0.5s;
}
.cto-bp {
padding-right: 0%;
transition: 0.5s;
}
.cto-geometric-bg { .cto-geometric-bg {
background-image: url(../../../assets/geometric-bg.webp); background-image: url('../../../assets/geometric-bg.webp');
background-position: 75vh -2vh; background-position: 75vh -2vh;
background-size: contain; background-size: contain;
background-repeat: no-repeat; background-repeat: no-repeat;
@ -19,19 +9,6 @@
transition: 0.5s; transition: 0.5s;
} }
.cto-shadow {
border-radius: 72.5px;
width: 100%;
transition: 0.5s;
}
.shadowdrop {
border-radius: 72.5px;
box-shadow: 0px 4px 4px #00000040;
width: 100%;
transition: 0.5s;
}
.cto-mini-bio { .cto-mini-bio {
height: 96px; height: 96px;
width: 100%; width: 100%;
@ -40,7 +17,7 @@
justify-content: center; justify-content: center;
flex-direction: column; flex-direction: column;
background-repeat: no-repeat; background-repeat: no-repeat;
background-image: url(../../../assets/cto-avatar.webp); background-image: url('../../../assets/cto-avatar.webp');
margin-top: 3vh; margin-top: 3vh;
z-index: 999 !important; z-index: 999 !important;
} }
@ -56,7 +33,7 @@
transition: 0.5s; transition: 0.5s;
} }
@media screen and (min-width: 0px) and (max-width: 600px) { @media screen and (width >0px) and (width <=600px) {
.cto-container { .cto-container {
margin-left: -3em; margin-left: -3em;
background-position: 100px 50px; background-position: 100px 50px;
@ -74,7 +51,7 @@
.shadowdrop { .shadowdrop {
border-radius: 72.5px; border-radius: 72.5px;
box-shadow: 0px 4px 4px #00000040; box-shadow: 4px 4px #00000040;
margin-left: 12%; margin-left: 12%;
transition: 0.5s; transition: 0.5s;
justify-content: center; justify-content: center;
@ -88,7 +65,7 @@
} }
} }
@media screen and (min-width: 601px) { @media screen and (width >=601px) {
.cto-container { .cto-container {
background-position: 100px 50px; background-position: 100px 50px;
background-size: cover; background-size: cover;

View File

@ -1,5 +1,5 @@
.footer-logo { .footer-logo {
background-image: url(../../../assets/lume-logo.webp); background-image: url('../../../assets/lume-logo.webp');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: contain; background-size: contain;
margin-left: 5px; margin-left: 5px;
@ -13,7 +13,7 @@
} }
.footer-email { .footer-email {
background-image: url(../../../assets/email-icon.webp); background-image: url('../../../assets/email-icon.webp');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: contain; background-size: contain;
background-position: center; background-position: center;

View File

@ -1,6 +1,4 @@
--- ---
import React from "react";
import Grid from "dynamic-react-grid";
import "./GridStyles.css"; import "./GridStyles.css";
--- ---

View File

@ -12,7 +12,7 @@
.message-header { .message-header {
color: var(--blue-charcoal-2); color: var(--blue-charcoal-2);
font-family: var(--font-family-jetbrains_mono); font-family: var(--font-family-jetbrains-mono);
font-size: calc(25px + (32 - 24) * ((100vw - 300px) / (1600 - 300))); font-size: calc(25px + (32 - 24) * ((100vw - 300px) / (1600 - 300)));
font-weight: 700; font-weight: 700;
line-height: 2em; line-height: 2em;

View File

@ -2,12 +2,14 @@
import "./SocialsStyles.css"; import "./SocialsStyles.css";
--- ---
<div class="centered"> <div class="grid place-items-center overflow-hidden h-auto mb-[1.5vh];">
<div> <div>
<h2 class="centered">get in touch</h2> <h2 class="grid place-items-center overflow-hidden h-auto mb-[1.5vh];">
<div class="centered"> get in touch
<div class="socials-wrapper"> </h2>
<div class="gitHub"></div> <div class="grid place-items-center overflow-hidden h-auto mb-[1.5vh];">
<div class="flex ml-[-5%] mb-[5vh] pb-[5vh]">
<div class="github"></div>
<div class="discord"></div> <div class="discord"></div>
<div class="twitter"></div> <div class="twitter"></div>
<div class="fb"></div> <div class="fb"></div>

View File

@ -5,8 +5,8 @@
margin-bottom: 5vh; margin-bottom: 5vh;
} }
.gitHub { .github {
background-image: url(../../../assets/github-logo.webp); background-image: url('../../../assets/github-logo.webp');
background-position: 50% 50%; background-position: 50% 50%;
background-size: contain; background-size: contain;
background-repeat: no-repeat; background-repeat: no-repeat;
@ -15,7 +15,7 @@
} }
.discord { .discord {
background-image: url(../../../assets/discord-logo.webp); background-image: url('../../../assets/discord-logo.webp');
background-position: 50% 50%; background-position: 50% 50%;
background-size: contain; background-size: contain;
background-repeat: no-repeat; background-repeat: no-repeat;
@ -26,7 +26,7 @@
} }
.twitter { .twitter {
background-image: url(../../../assets/twitter-logo.webp); background-image: url('../../../assets/twitter-logo.webp');
background-position: 50% 50%; background-position: 50% 50%;
background-size: contain; background-size: contain;
background-repeat: no-repeat; background-repeat: no-repeat;
@ -36,7 +36,7 @@
} }
.fb { .fb {
background-image: url(../../../assets/fb-logo.webp); background-image: url('../../../assets/fb-logo.webp');
background-position: 50% 50%; background-position: 50% 50%;
background-size: contain; background-size: contain;
background-repeat: no-repeat; background-repeat: no-repeat;