Added Animations to all Headers

This commit is contained in:
Bryan 2022-08-08 11:15:16 -04:00
parent cdd05b8e85
commit bc109d7da7
3 changed files with 84 additions and 27 deletions

View file

@ -21,7 +21,7 @@
<a href="https://twitter.com/Codecologist"><i class="fa-brands fa-square-twitter"></i></a> <a href="https://twitter.com/Codecologist"><i class="fa-brands fa-square-twitter"></i></a>
<a href="https://www.youtube.com/channel/UCqr3HoBvla1s9hK5CCKI_Kg"><i class="fa-brands fa-youtube"></i></a> <a href="https://www.youtube.com/channel/UCqr3HoBvla1s9hK5CCKI_Kg"><i class="fa-brands fa-youtube"></i></a>
<a href="Resume.txt" download="Resume.txt"> <a href="Resume.pdf">
<button class="resumeDownload"> <button class="resumeDownload">
<i class="fa-solid fa-file-arrow-down"></i> <i class="fa-solid fa-file-arrow-down"></i>
Resume</button></a> Resume</button></a>
@ -32,19 +32,23 @@
<h1>Bryan Ramos</h1> <h1>Bryan Ramos</h1>
<div class="typewriterArea"> <div class="typewriterArea">
<h2 class="code">&lt;</h2> <h2 class="code">&lt;</h2>
<h2 class="element">h2</h2> <!-- <h2 class="element">h2</h2>
<h2 class="class">class=</h2> <h2 class="class">class=</h2>
<h2 class="className">"title"</h2> <h2 class="className">"title"</h2>
<h2 class="code">&gt;</h2> <h2 class="code">&gt;</h2> -->
<h2 class="plaintext">Fullstack Developer</h2> <h2 class="class">Fullstack Developer</h2>
<h2 class="code">&lt;/</h2> <!-- <h2 class="code">&lt;</h2>
<h2 class="element">h2</h2> <h2 class="element">h2</h2> -->
<h2 class="code">&gt;</h2> <h2 class="code">/&gt;</h2>
</div> </div>
</section> </section>
<section class="portfolio"> <section class="portfolio">
<h3>Portfolio</h3> <div class="typewriterArea2">
<h3 class="code">{:</h3>
<h3 class="className">Portfolio</h3>
<h3 class="code">};</h3>
</div>
<div class="projectsGalleryGrid"> <div class="projectsGalleryGrid">
<a><img class="project project1" src="https://media.istockphoto.com/vectors/thumbnail-image-vector-graphic-vector-id1147544807?k=20&m=1147544807&s=612x612&w=0&h=pBhz1dkwsCMq37Udtp9sfxbjaMl27JUapoyYpQm0anc="></a> <a><img class="project project1" src="https://media.istockphoto.com/vectors/thumbnail-image-vector-graphic-vector-id1147544807?k=20&m=1147544807&s=612x612&w=0&h=pBhz1dkwsCMq37Udtp9sfxbjaMl27JUapoyYpQm0anc="></a>
<a><img class="project project2" src="https://media.istockphoto.com/vectors/thumbnail-image-vector-graphic-vector-id1147544807?k=20&m=1147544807&s=612x612&w=0&h=pBhz1dkwsCMq37Udtp9sfxbjaMl27JUapoyYpQm0anc="></a> <a><img class="project project2" src="https://media.istockphoto.com/vectors/thumbnail-image-vector-graphic-vector-id1147544807?k=20&m=1147544807&s=612x612&w=0&h=pBhz1dkwsCMq37Udtp9sfxbjaMl27JUapoyYpQm0anc="></a>
@ -56,7 +60,11 @@
</section> </section>
<section class="technologies"> <section class="technologies">
<h3>Technologies</h3> <div class="typewriterArea3">
<h3 class="code">(--</h3>
<h3 class="variableName">Technologies</h3>
<h3 class="code">);</h3>
</div>
<div class="technologiesIconsGrid"> <div class="technologiesIconsGrid">
<i class="fa-brands fa-html5 fa-3x"></i> <i class="fa-brands fa-html5 fa-3x"></i>
<i class="fa-brands fa-css3 fa-3x"></i> <i class="fa-brands fa-css3 fa-3x"></i>
@ -81,14 +89,14 @@
<section class="contact"> <section class="contact">
<h3 class="contactMe">[contactme@ContactForm]$</h3> <h3 class="contactMe">[contactme@ContactForm]$</h3>
<div class="contactForm"> <!--<div class="contactForm">
<form id="contact" method="post" action=""> <form id="contact" method="post" action="">
<input class="formField" name="name" type="text" placeholder="Your Name" required> <input class="formField" name="name" type="text" placeholder="Your Name" required>
<input class="formField" name="email" type="email" placeholder="Your Email" required> <input class="formField" name="email" type="email" placeholder="Your Email" required>
<textarea class="formField" name="message" style="resize:none" placeholder="Your Message..." rows="4" required></textarea> <textarea class="formField" name="message" style="resize:none" placeholder="Your Message..." rows="4" required></textarea>
<input class="formField" type="submit" value="Send Message!"> <input class="formField" type="submit" value="Send Message!">
</form> </form>
</div> </div>-->
</section> </section>
</body> </body>

View file

@ -9,6 +9,7 @@
--tertiaryTextColor: #A9DC76; --tertiaryTextColor: #A9DC76;
--codeColor: #d3d3d3; --codeColor: #d3d3d3;
--elementColor: #bc0457; --elementColor: #bc0457;
--variableColor: #d152f7;
} }
/* Document Styling */ /* Document Styling */
@ -47,6 +48,7 @@ h3 {
color: var(--primaryTextColor); color: var(--primaryTextColor);
margin-bottom: 10px; margin-bottom: 10px;
text-align: center; text-align: center;
display: inline-block;
} }
/* Animation Source */ /* Animation Source */
@ -54,7 +56,17 @@ h3 {
/* Typewriter Animation */ /* Typewriter Animation */
@keyframes typing { @keyframes typing {
from { width:0 } from { width:0 }
to { width: 60% } to { width: 35% }
}
@keyframes typing2 {
from { width: 0 }
to { width: 30% }
}
@keyframes typing3 {
from { width: 0 }
to { width: 40% }
} }
@keyframes blink { @keyframes blink {
@ -62,6 +74,11 @@ h3 {
50% { border-color: var(--elementColor);} 50% { border-color: var(--elementColor);}
} }
@keyframes appear {
from { opacity: 0 }
to { opacity: 1 }
}
/* Fade-In Animation */ /* Fade-In Animation */
@keyframes fadeIn { @keyframes fadeIn {
from { opacity: 0 } from { opacity: 0 }
@ -71,22 +88,34 @@ h3 {
/* Code-Like Syntax Highlighting Styling */ /* Code-Like Syntax Highlighting Styling */
.code { .code {
color: var(--codeColor); color: var(--codeColor);
white-space: nowrap;
} }
.element { .element {
color: var(--elementColor); color: var(--elementColor);
white-space: nowrap;
} }
.class { .class {
color: var(--secondaryTextColor); color: var(--secondaryTextColor);
font-style: italic; font-style: italic;
white-space: nowrap;
} }
.className { .className {
color: var(--tertiaryTextColor) color: var(--tertiaryTextColor);
white-space: nowrap;
} }
.plaintext { .plaintext {
color: var(--primaryTextColor); color: var(--primaryTextColor);
white-space: nowrap;
}
.variableName {
color: var(--variableColor);
} }
@ -212,13 +241,13 @@ h3 {
.typewriterArea { .typewriterArea {
display: inline-block; display: inline-block;
text-align: center; text-align: center;
border-right: .15em solid var(--elementColor); border-right: .10em solid var(--elementColor);
border-color: var(--elementColor); border-color: var(--elementColor);
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
letter-spacing: 3px; letter-spacing: 3px;
animation: animation:
typing 2s steps(40, end), typing 2s steps(30, end),
blink 0.9s step-end infinite; blink 0.9s step-end infinite;
} }
@ -231,20 +260,29 @@ h3 {
margin: 0; margin: 0;
} }
.typewriterArea2 {
display: inline-block;
text-align: center;
border-right: .10em solid var(--elementColor);
border-color: var(--elementColor);
overflow: hidden;
white-space: nowrap;
letter-spacing: 3px;
animation:
typing2 2s steps(30, end),
blink 0.9s step-end infinite;
}
.projectsGalleryGrid { .projectsGalleryGrid {
display: flex;
justify-content: center; justify-content: center;
align-items: center;
color: var(--primaryTextColor); color: var(--primaryTextColor);
font-family: 'Ubuntu', sans-serif; font-family: 'Ubuntu', sans-serif;
display: grid; display: grid;
gap: 10px; gap: 10px;
grid-template-columns: repeat(3, 33.3vw); grid-template-columns: repeat(2, 40vw);
opacity: 0; opacity: 0;
animation-name: fadeIn; animation:
animation-duration: 5s; fadeIn 5s 3s forwards;
animation-delay: 3s;
animation-fill-mode: forwards;
} }
.project { .project {
@ -260,6 +298,19 @@ h3 {
padding-bottom: 10px; padding-bottom: 10px;
} }
.typewriterArea3 {
display: inline-block;
text-align: center;
border-right: .10em solid var(--elementColor);
border-color: var(--elementColor);
overflow: hidden;
white-space: nowrap;
letter-spacing: 3px;
animation:
typing3 2s steps(30, end),
blink 0.9s step-end infinite;
}
.technologiesIconsGrid { .technologiesIconsGrid {
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -268,15 +319,13 @@ h3 {
font-family: 'Ubuntu', sans-serif; font-family: 'Ubuntu', sans-serif;
display: grid; display: grid;
gap: 20px; gap: 20px;
opacity: 0;
grid-template-columns: repeat(3, 20vw); grid-template-columns: repeat(3, 20vw);
animation:
fadeIn 3s 5s forwards;
} }
.fa-brands {
font-family: 'Righteous', cursive;
}
/* Brand Colors */ /* Brand Colors */
.fa-html5 { .fa-html5 {
color: #f06529; color: #f06529;