use root relative paths

This commit is contained in:
2024-12-09 01:11:06 +00:00
parent e8c3a40444
commit bbc2aed795
10 changed files with 125 additions and 94 deletions

View File

@@ -5,9 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Photography - Arthur Lu</title>
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="css/style.css" type="text/css">
<link rel="stylesheet" href="css/overlay.css" type="text/css">
<link rel="icon" type="image/x-icon" href="resources/icon/favicon.svg">
<link rel="stylesheet" href="/css/style.css" type="text/css">
<link rel="stylesheet" href="/css/overlay.css" type="text/css">
<link rel="icon" type="image/x-icon" href="/resources/icon/favicon.svg">
<style>
#galleries-container {
display: grid;
@@ -30,27 +30,27 @@
<header>
<h1><b><a aria-label="Arthur Lu" href="https://root.tronnet.net" class="site-header">ARTHUR LU</a></b></h1>
<nav>
<a aria-label="Projects" href="index.html">PROJECTS</a>
<a aria-current="page" aria-label="Photography" href="photography.html">PHOTOGRAPHY</a>
<a aria-label="About Me" href="about.html">ABOUT ME</a>
<a aria-label="Notes" href="notes.html">CLASS NOTES</a>
<a aria-label="Projects" href="/index.html">PROJECTS</a>
<a aria-current="page" aria-label="Photography" href="/photography.html">PHOTOGRAPHY</a>
<a aria-label="About Me" href="/about.html">ABOUT ME</a>
<a aria-label="Notes" href="/notes.html">CLASS NOTES</a>
</nav>
</header>
<main>
<div id="galleries-container">
<figure class="overlay-container gallery">
<img src="resources/photography/nature/1.jpg" alt="" class="image">
<img src="/resources/photography/nature/1.jpg" alt="" class="image">
<figcaption class="overlay-mask">
<a href="photography/nature.html" class="overlay-content">
<a href="/photography/nature.html" class="overlay-content">
<h2>Nature</h2>
<p>Classical nature photography.</p>
</a>
</figcaption>
</figure>
<figure class="overlay-container gallery">
<img src="resources/photography/nature2/1.jpg" alt="" class="image">
<img src="/resources/photography/nature2/1.jpg" alt="" class="image">
<figcaption class="overlay-mask">
<a href="photography/nature2.html" class="overlay-content">
<a href="/photography/nature2.html" class="overlay-content">
<h2>Nature 2</h2>
<p>If nature is so good, why isn't there nature 2?</p>
</a>