Fancify the links a bit

This commit is contained in:
Bill Niblock 2020-07-04 20:58:17 -04:00
parent 27d985e82a
commit e42ce19616
4 changed files with 25 additions and 6 deletions

View file

@ -22,7 +22,11 @@
<header> <header>
<a href="/"> <a href="/">
<div>The</div><div>Internet</div><div>Vagabond</div> <div>
<span class="first">T</span>he
<span class="first">I</span>nternet
<span class="first">V</span>agabond
</div>
</a> </a>
</header> </header>

View file

@ -21,7 +21,11 @@
<div class="cor_page"> <div class="cor_page">
<header> <header>
<a href="/"> <a href="/">
<div>The</div><div>Internet</div><div>Vagabond</div> <div>
<span class="first">T</span>he
<span class="first">I</span>nternet
<span class="first">V</span>agabond
</div>
</a> </a>
</header> </header>
<main> <main>

View file

@ -23,6 +23,11 @@ header a {
height: 100%; height: 100%;
} }
header .wrapper {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
}
footer { footer {
background-color: #202020; background-color: #202020;
border-top: 1px solid var(--hilite); border-top: 1px solid var(--hilite);

View file

@ -11,26 +11,32 @@ ul,ol,p {
a,a:visited,a:link,a:focus { a,a:visited,a:link,a:focus {
text-decoration: none; text-decoration: none;
color: darkgrey; color: darkgrey;
transition: color 0.5s;
} }
a:hover { a:hover {
color: white; color: white;
transition: color 0.5s;
} }
nav a:hover { nav a:hover {
color: var(--hilite); color: var(--hilite);
transition: color 0.5s;
} }
header div { header div {
color: darkgrey; letter-spacing: 0.8em; color: darkgrey; letter-spacing: 0.8em;
} }
header a:hover > div { header span {
color: white; color: white;
letter-spacing: 0.9em;
transition: color 2s;
} }
header div::first-letter { header a:hover > div > span {
color: white; color: var(--hilite);
transition: color 1s;
} }
footer #email { footer #email {