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>
<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
the connected mouse" />
the connected mouse" width=320 height=393 />
<p>I'm in your walls.</p>
</article>
</main>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 KiB

View File

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

View File

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

View File

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

BIN
watching.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB