Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h6 class="navbar-brand vertical-center" href="#">Adrian Jules Sales</h6>
<div class="container">
<div class="bg"></div>
<h1 class="display-4 text-center">Adrian Jules Sales</h1>
<p class="text-center">Aspiring Software Developer</p>
<p id="main" class="text-center">Aspiring Software Developer</p>
</div>
</div>

Expand Down Expand Up @@ -216,4 +216,4 @@ <h4>Connect with me!</h4>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script src="main.js"></script>
</body>
</html>
</html>
40 changes: 39 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
html {
scroll-behavior: smooth;
scroll-padding-top: 64px;
Expand All @@ -8,7 +10,8 @@ body {
}

h1, h2, h3, h4, h5, h6, p.title, .company {
font-family: 'Alegreya Sans SC', sans-serif;
font-family: 'Bebas Neue', sans-serif;
letter-spacing: 4px;
}

p, a {
Expand Down Expand Up @@ -200,3 +203,38 @@ h4 {
margin: auto;
width: 25%;
}



#main {
border-right: solid 3px rgba(0,255,0,.75);
white-space: nowrap;
overflow: hidden;
font-family: 'Source Code Pro', monospace;
font-size: 28px;
color: rgba(255,255,255,.70);
text-align: center;
margin: auto;
}

/* Animation */
#main {
animation: animated-text 4s steps(29,end) 1s 1 normal both,
animated-cursor 600ms steps(29,end) infinite;
}

/* text animation */

@keyframes animated-text{
from{width: 0;}
to{width: 472px;}
}

/* cursor animations */

@keyframes animated-cursor{
from{border-right-color: rgba(0,255,0,.75);}
to{border-right-color: transparent;}
}