Compare commits

...

6 Commits

Author SHA1 Message Date
filifa 4ca952604c make header image the height of the header 2024-08-15 21:39:11 -05:00
filifa 032906cf7b set height and width for usb image 2024-08-15 21:16:44 -05:00
filifa c784eb3d02 use css for header img 2024-08-15 20:16:46 -05:00
filifa c6edb71ae2 adjust sizes 2024-08-15 20:00:43 -05:00
filifa 2fe5c02028 change header image 2024-08-15 19:54:04 -05:00
filifa b9971c9ed0 add contents heading 2024-08-15 19:09:20 -05:00
6 changed files with 7 additions and 3 deletions

View File

@ -16,7 +16,7 @@
<h1>About.</h1> <h1>About.</h1>
<img id="usbimg" src="usb.jpg" alt="an unsettling comic showing a man <img id="usbimg" src="usb.jpg" alt="an unsettling comic showing a man
putting a usb dongle into his mouth and moving his face with putting a usb dongle into his mouth and moving his face with
the connected mouse" /> the connected mouse" width=320 height=393 />
<p>I'm in your walls.</p> <p>I'm in your walls.</p>
</article> </article>
</main> </main>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 KiB

View File

@ -6,7 +6,7 @@ class DDHeader extends HTMLElement {
connectedCallback() { connectedCallback() {
this.innerHTML = ` this.innerHTML = `
<header> <header>
<img id="headerimg" src="/dairydemon.jpg" alt="cow with glowing eyes" /> <div id="headerimg"></div>
<div id="headermain"> <div id="headermain">
<p><a id="homelink" href="/">dairydemon.net</a></p> <p><a id="homelink" href="/">dairydemon.net</a></p>
<nav> <nav>

View File

@ -13,6 +13,7 @@
<dd-header></dd-header> <dd-header></dd-header>
<main> <main>
<aside> <aside>
<h2>Contents</h2>
<ol> <ol>
<li><a href="#metal-gear-solid-trivia">Top</a></li> <li><a href="#metal-gear-solid-trivia">Top</a></li>
<li><a href="#structure">Structure</a></li> <li><a href="#structure">Structure</a></li>

View File

@ -29,8 +29,10 @@ footer {
#headerimg { #headerimg {
border-right: 3px solid black; border-right: 3px solid black;
max-height: 128px; width: 128px;
background-image: url("/watching.jpg");
flex: initial; flex: initial;
align-self: stretch;
} }
#headermain { #headermain {
@ -108,6 +110,7 @@ ol ol ol {
#usbimg { #usbimg {
width: 256px; width: 256px;
height: auto;
max-width: 100%; max-width: 100%;
margin-right: 10px; margin-right: 10px;
margin-bottom: 10px; margin-bottom: 10px;

BIN
watching.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB