1

Added my face

This commit is contained in:
Evan Pratten 2020-01-22 11:35:33 -05:00
parent bcbfc8c058
commit 5b70857bda
No known key found for this signature in database
GPG Key ID: 93AC7B3D071356D3
3 changed files with 172 additions and 4 deletions

View File

@ -6,8 +6,24 @@
<!-- Navbar --> <!-- Navbar -->
{% include nav.html %} {% include nav.html %}
<div class="landing container">
<div style="height:15vh;"></div>
<img id="face-backdrop" src="/assets/images/face-backdrop.png">
<div style="height:20vh;"></div>
<div class="nudge-right">
<h1 id="name-landing">Evan Pratten</h1>
<h3 id="me-landing">Programmer</h3>
</div>
</div>
<div class="landing-more container">
<h5><a href="/blog">Blog</a> <a href="/projects">Projects</a> <a href="#main-start">More</a></h5>
</div>
<!-- Header --> <!-- Header -->
<div class="header container" style="height:30vh"> <div class="header container" style="height:30vh" id="main-start">
<div class="home-header"> <div class="home-header">
</div> </div>
</div> </div>
@ -48,7 +64,7 @@
Since then, I have picked up many other languages, and am currently mainly using Python, Since then, I have picked up many other languages, and am currently mainly using Python,
Java, and C.<br> Java, and C.<br>
I am working on learning a few new languages, including Ruby at the moment.</p> I am working on learning a few new languages, including Ruby at the moment.</p>
<br><br> <br><br>
<h2>Projects</h2> <h2>Projects</h2>

View File

@ -6,7 +6,107 @@ body {
background-color: #343a40; background-color: #343a40;
} }
html {
scroll-behavior: smooth;
}
.landing.container {
display: block;
height: 80vh;
-webkit-animation: fadein 1s;
/* Safari, Chrome and Opera > 12.1 */
-moz-animation: fadein 1s;
/* Firefox < 16 */
-ms-animation: fadein 1s;
/* Internet Explorer */
-o-animation: fadein 1s;
/* Opera < 12.1 */
animation: fadein 1s;
}
#name-landing {
background-color: #fff;
color: #343a40;
font-weight: bolder;
padding-left: 5;
padding-right: 5;
width: max-content;
font-family: 'IBM Plex Sans', sans-serif;
font-size: xxx-large;
-webkit-animation: fadein 2s;
/* Safari, Chrome and Opera > 12.1 */
-moz-animation: fadein 2s;
/* Firefox < 16 */
-ms-animation: fadein 2s;
/* Internet Explorer */
-o-animation: fadein 2s;
/* Opera < 12.1 */
animation: fadein 2s;
}
#me-landing {
color: #fff;
font-family: 'IBM Plex Sans', sans-serif;
font-weight: bold;
font-size: xx-large;
-webkit-animation: fadein 2s;
/* Safari, Chrome and Opera > 12.1 */
-moz-animation: fadein 2s;
/* Firefox < 16 */
-ms-animation: fadein 2s;
/* Internet Explorer */
-o-animation: fadein 2s;
/* Opera < 12.1 */
animation: fadein 2s;
}
.landing-more {
height: 20vh;
text-align: center;
width: max-content;
font-family: 'IBM Plex Sans', sans-serif;
-webkit-animation: fadein 4s;
/* Safari, Chrome and Opera > 12.1 */
-moz-animation: fadein 4s;
/* Firefox < 16 */
-ms-animation: fadein 4s;
/* Internet Explorer */
-o-animation: fadein 4s;
/* Opera < 12.1 */
animation: fadein 4s;
}
.landing-more a {
height: max-content;
background-color: #fff;
padding-left: 5;
padding-right: 5;
font-weight: normal;
color: #343a40;
}
.landing-more a:hover {
text-decoration: none;
}
.nudge-right {
padding-left: 10vw;
}
#face-backdrop {
height: 50vh;
float: right;
padding-right: 10vw;
}
@media only screen and (max-width: 993px) {
.landing.container {
display: none;
}
.landing-more {
display: none;
}
}
.site-info { .site-info {
color: rgb(199, 195, 195); color: rgb(199, 195, 195);
@ -18,14 +118,13 @@ body {
background-color: #ebeef1; */ background-color: #ebeef1; */
} }
.invert{ .invert {
background-color: #343a40; background-color: #343a40;
color: #fff; color: #fff;
font-weight: bolder; font-weight: bolder;
width: max-content; width: max-content;
padding-left: 5; padding-left: 5;
padding-right: 5; padding-right: 5;
} }
.header { .header {
@ -277,4 +376,57 @@ pre {
padding: 3px; padding: 3px;
} }
}
@keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Firefox < 16 */
@-moz-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Internet Explorer */
@-ms-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Opera < 12.1 */
@-o-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB