Fixed error with page load; sneaky \

Completed navbar, with fixed hyperlink colors, on-hover anim, and custom font
This commit is contained in:
Kira 2023-02-16 11:30:43 -08:00
parent a62d63e317
commit cc6b6ec9af
6 changed files with 59 additions and 68 deletions

View File

@ -5,9 +5,9 @@
<div class="page-layout"> <div class="page-layout">
<div class="blurb"> <div class="blurb">
<h1 style="color: #3d8361;">Hello, World!</h1> <h1 class="title">Hello, World!</h1>
<h5>Welcome to my corner of the Internet! </h5> <h5 class="subtitle">Welcome to my corner of the Internet! </h5>
<h5>My name is Kira Jiroux. I am a graduate of OSU - Oregon State University - with a Bachelor of Science in Computer Science, with an emphasis on VR/AR and Computer Graphics.</h5> <h5 class="text">My name is Kira Jiroux. I am a graduate of OSU - Oregon State University - with a Bachelor of Science in Computer Science, with an emphasis on VR/AR and Computer Graphics.</h5>
</div> </div>
</div> </div>

View File

@ -1,4 +1,12 @@
body { /*
New Pallete
#ffd4d4 - pinkish
#ffffe8 - pale yellow
#cde990 - light green
#aacb73 - green
*/
body {
} }
.page-layout { .page-layout {
@ -12,8 +20,20 @@
.blurb { .blurb {
width: 60%; width: 60%;
background-color: #eef2e6; background-color: #cde990;
padding: 15px; padding: 15px;
border-radius: 25px; border-radius: 25px;
border: 2px solid #3b5249; border: 2px solid #3b5249;
} }
.title {
color: #aacb73;
}
.subtitle {
font-weight: 100;
}
.text {
color: white;
}

View File

@ -1,19 +1,3 @@
.page {
position: relative;
display: flex;
flex-direction: column;
}
/*
#eef2e6 --- Lightest
#d6cd14
#a4b494
#519872
#3d8361
#1c6758
#3b5249
#382933 --- Darkest
*/
/* /*
New Pallete New Pallete
#ffd4d4 - pinkish #ffd4d4 - pinkish
@ -21,9 +5,15 @@
#cde990 - light green #cde990 - light green
#aacb73 - green #aacb73 - green
*/ */
.page {
position: relative;
display: flex;
flex-direction: column;
}
main { main {
flex: 1; flex: 1;
/*background-image: linear-gradient(#382933, #3b5249, #1c6758, #3d8361, #519872, #a4b494,#eef2e6);*/
background-color: #ffffe8; background-color: #ffffe8;
} }

View File

@ -1,14 +1,14 @@
 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Megrim">
<nav class="navbar"> <nav class="navbar">
<div class="navbar-header"> <div class="navbar-header">
<a class="navbar-brand m-3 override-brand" href="\">Kira Jiroux</a> <a class="navbar-brand m-3 override-brand" href="">Kira Jiroux</a>
</div> </div>
<div class="" id="navbarSupportedContent"> <div class="" id="navbarSupportedContent">
<ul class="navbar-nav navbar-right inline"> <ul class="navbar-nav navbar-right inline">
<li class="nav-item px-4 inline"> <li class="nav-item px-4 inline">
<NavLink class="nav-item nav-link override-nav-link" href="" Match="NavLinkMatch.All"\> <NavLink class="nav-link override-nav-link" href="" Match="NavLinkMatch.All">
<span aria-hidden="true"></span> Home <span aria-hidden="true"></span> Home
</NavLink> </NavLink>
</li> </li>
@ -24,12 +24,12 @@
</div> </div>
</li> </li>
<li class="nav-item px-4 inline"> <li class="nav-item px-4 inline">
<NavLink class="nav-link override-nav-link" href="\resume" Match="NavLinkMatch.All"> <NavLink class="nav-link override-nav-link" href="resume" Match="NavLinkMatch.All">
<span aria-hidden="true"></span> Resume <span aria-hidden="true"></span> Resume
</NavLink> </NavLink>
</li> </li>
<li class="nav-item px-4 inline"> <li class="nav-item px-4 inline">
<NavLink class="nav-link override-nav-link" href="\contact" Match="NavLinkMatch.All"> <NavLink class="nav-link override-nav-link" href="contact" Match="NavLinkMatch.All">
<span aria-hidden="true"></span> Contact Me <span aria-hidden="true"></span> Contact Me
</NavLink> </NavLink>
</li> </li>
@ -38,7 +38,3 @@
</div> </div>
</nav> </nav>

View File

@ -4,46 +4,34 @@
} }
.brand-name {
color: red;
padding: 0;
margin: 0;
}
.inline { .inline {
display: inline-block; display: inline-block;
} padding-right: 0px;
a.nav-link:link {
color: white;
text-decoration: none;
}
a.nav-link:visited {
color: white;
text-decoration: none;
}
NavLink.nav-link:hover {
color: #fb3f00;
text-decoration: none;
font-size: 18px;
}
a.nav-link:active {
color: #fb3f00;
text-decoration: none;
} }
a.override-brand { a.override-brand {
color: white; color: white;
font-size: 36px; font-size: 3em;
font-family: "Megrim", sans-serif;
} }
.nav-items {
.nav-item ::deep a {
color: white; color: white;
font-size: 1em;
text-decoration: none; text-decoration: none;
background-color: white; margin-left: 10px;
margin-bottom: 10px;
width: 110px;
text-align: center;
border-radius: 30px;
} }
.nav-item ::deep a:hover {
background-color: #aacb73;
color: #ffd4d4;
font-size: 1.2em;
border-radius: 30px;
}

View File

@ -21,6 +21,3 @@
font-size: 100px; font-size: 100px;
color: white; color: white;
} }