Basic start
This commit is contained in:
parent
8dbe3d74a3
commit
c8aa011227
4 changed files with 194 additions and 1 deletions
147
css/styles.css
Normal file
147
css/styles.css
Normal file
|
@ -0,0 +1,147 @@
|
||||||
|
.body-class {
|
||||||
|
background-color: black;
|
||||||
|
color: whitesmoke;
|
||||||
|
width: 95dvw;
|
||||||
|
}
|
||||||
|
|
||||||
|
#hero {
|
||||||
|
font-size: 7em;
|
||||||
|
line-height: 0.85;
|
||||||
|
text-align: center;
|
||||||
|
font-variant-caps: petite-caps;
|
||||||
|
top: 50dvh;
|
||||||
|
width: 98dvw;
|
||||||
|
}
|
||||||
|
|
||||||
|
#hero-titles {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 2em;
|
||||||
|
font-variant-caps: all-petite-caps;
|
||||||
|
transition: 0.2s ease-in-out;
|
||||||
|
position: absolute;
|
||||||
|
top: 55dvh;
|
||||||
|
/*left: 50vh; */
|
||||||
|
width: 98dvw;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#viewport-portal {
|
||||||
|
width: 95dvw;
|
||||||
|
height: 101dvh;
|
||||||
|
vertical-align: middle;
|
||||||
|
align-content: center;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#certifications-page {
|
||||||
|
width: 98dvw;
|
||||||
|
height: 100dvh;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
|
||||||
|
#certifications-title {
|
||||||
|
font-size: 4em;
|
||||||
|
line-height: 0.85;
|
||||||
|
text-align: center;
|
||||||
|
font-variant-caps: petite-caps;
|
||||||
|
}
|
||||||
|
|
||||||
|
.certification {
|
||||||
|
font-size: 1em;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#arrow-hint {
|
||||||
|
position: absolute;
|
||||||
|
top: 94dvh;
|
||||||
|
/*left: 50vh; */
|
||||||
|
width: 98dvw;
|
||||||
|
text-align: center;
|
||||||
|
color: rgb(255, 255, 255);
|
||||||
|
opacity: 0%;
|
||||||
|
transition: 4s ease-in-out 13s;
|
||||||
|
transition-property: opacity, visibility;
|
||||||
|
}
|
||||||
|
|
||||||
|
#page-content {
|
||||||
|
opacity: 0%;
|
||||||
|
visibility: hidden;
|
||||||
|
transition: 3s ease-in 500ms;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 10px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.material-symbols-outlined {
|
||||||
|
font-family: 'Material Symbols Outlined';
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
font-size: 24px;
|
||||||
|
line-height: 1;
|
||||||
|
letter-spacing: normal;
|
||||||
|
text-transform: none;
|
||||||
|
display: inline-block;
|
||||||
|
white-space: nowrap;
|
||||||
|
word-wrap: normal;
|
||||||
|
direction: ltr;
|
||||||
|
-webkit-font-feature-settings: 'liga';
|
||||||
|
font-feature-settings: 'liga';
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sedan-sc-regular {
|
||||||
|
font-family: "Sedan SC", serif;
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* <uniquifier>: Use a unique and descriptive class name */
|
||||||
|
/* <weight>: Use a value from 100 to 700 */
|
||||||
|
/* .josefin-slab-<uniquifier> {
|
||||||
|
font-family: "Josefin Slab", serif;
|
||||||
|
font-optical-sizing: auto;
|
||||||
|
font-weight: <weight>;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
.josefin-slab-500 {
|
||||||
|
font-family: "Josefin Slab", serif;
|
||||||
|
font-optical-sizing: auto;
|
||||||
|
font-weight: 500;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* <uniquifier>: Use a unique and descriptive class name */
|
||||||
|
/* <weight>: Use a value from 400 to 900 */
|
||||||
|
.playfair-display-700 {
|
||||||
|
font-family: "Playfair Display", serif;
|
||||||
|
font-optical-sizing: auto;
|
||||||
|
font-weight: 700;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.playfair-display-400 {
|
||||||
|
font-family: "Playfair Display", serif;
|
||||||
|
font-optical-sizing: auto;
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.oswald-display-700 {
|
||||||
|
font-family: "Oswald", serif;
|
||||||
|
font-optical-sizing: auto;
|
||||||
|
font-weight: 700;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.oswald-display-400 {
|
||||||
|
font-family: "Oswald", serif;
|
||||||
|
font-optical-sizing: auto;
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
41
index.html
Normal file
41
index.html
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en-US">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1">
|
||||||
|
|
||||||
|
<title>Nathan Peckham</title>
|
||||||
|
|
||||||
|
<meta property="og:locale" content="en_US">
|
||||||
|
<meta property="og:type" content="profile">
|
||||||
|
<meta property="og:title" content="Nathan Peckham">
|
||||||
|
<meta property="og:description" content="Profile page of Nathan Peckham">
|
||||||
|
<meta property="og:url" content="https://profile.kn8design.com">
|
||||||
|
<meta property="og:site_name" content="Nathan Peckham">
|
||||||
|
|
||||||
|
<!-- Google WebFont library for loading custom fonts. Helps to avoid FOUT. -->
|
||||||
|
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js"></script>
|
||||||
|
|
||||||
|
<script src="scripts/scripts.js"></script>
|
||||||
|
<link rel="stylesheet" href="css/styles.css">
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="body-class">
|
||||||
|
<div id="page-content">
|
||||||
|
<div id="viewport-portal" data-hover-only="true" data-relative-input="true" pointer-events="true">
|
||||||
|
<div id="hero" class="oswald-display-700">Nathan Peckham</div>
|
||||||
|
<div id="hero-titles" class="oswald-display-400"> </div>
|
||||||
|
<div id="arrow-hint" class="material-symbols-outlined">arrow_downward</div>
|
||||||
|
</div>
|
||||||
|
<div id="certifications-page">
|
||||||
|
<div id="certifications-title" class="josefin-slab-500">Certifications</div>
|
||||||
|
<div class="certification playfair-display-400">Google Professional Certificate</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
5
scripts/scripts.js
Normal file
5
scripts/scripts.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
WebFont.load({
|
||||||
|
google: {
|
||||||
|
families: ['Oswald', 'Josefin Slab', 'Playfair Display', 'Sedan SC', 'Material Symbols Outlined']
|
||||||
|
}
|
||||||
|
});
|
Loading…
Reference in a new issue