Compare commits
No commits in common. "56de47415353407c25232ba18ed4fe7a812894c3" and "9e81c37bfd3e4ed698475e5ad6e211d9fdcfce4f" have entirely different histories.
56de474153
...
9e81c37bfd
17
about.html
17
about.html
|
@ -3,24 +3,23 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||||
<link rel="stylesheet" href="/styles/default.css" />
|
<link rel="stylesheet" href="styles.css" />
|
||||||
<link rel="stylesheet" href="/styles/about.css" />
|
<link rel="icon" href="favicon.ico" />
|
||||||
<link rel="icon" href="/images/favicon.ico" />
|
<script src="elements.js" type="text/javascript" defer></script>
|
||||||
<title>About</title>
|
<title>About</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<dd-header></dd-header>
|
||||||
<p><a id="homelink" href="/">dairydemon.net</a></p>
|
|
||||||
</header>
|
|
||||||
<main>
|
<main>
|
||||||
<article>
|
<article>
|
||||||
<h1>About.</h1>
|
<h1>About.</h1>
|
||||||
<img id="aboutimg" src="/images/loveland-frog.png" alt="an artist's
|
<img id="usbimg" src="usb.jpg" alt="an unsettling comic showing a man
|
||||||
rendering of the Loveland frog monster" width=944 height=850
|
putting a usb dongle into his mouth and moving his face with
|
||||||
/>
|
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>
|
||||||
|
<dd-footer></dd-footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -3,15 +3,14 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||||
<link rel="stylesheet" href="/styles/default.css" />
|
<link rel="stylesheet" href="styles.css" />
|
||||||
<link rel="icon" href="/images/favicon.ico" />
|
<link rel="icon" href="favicon.ico" />
|
||||||
|
<script src="elements.js" type="text/javascript" defer></script>
|
||||||
<title>Attributions</title>
|
<title>Attributions</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<dd-header></dd-header>
|
||||||
<p><a id="homelink" href="/">dairydemon.net</a></p>
|
|
||||||
</header>
|
|
||||||
<main>
|
<main>
|
||||||
<article>
|
<article>
|
||||||
<h1>Attributions.</h1>
|
<h1>Attributions.</h1>
|
||||||
|
@ -24,14 +23,13 @@
|
||||||
<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC BY-SA 2.0</a>
|
<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC BY-SA 2.0</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
"<a href="https://commons.wikimedia.org/wiki/File:Loveland_frog.png">Loveland frog</a>"
|
That weird usb mouse comic on the about page is
|
||||||
by
|
by
|
||||||
<a href="https://commons.wikimedia.org/wiki/User:Triangulum">Tim Bertelink</a>
|
<a href="https://www.instagram.com/hunter.slugdaddy/">Hunter Scheiderer</a>
|
||||||
is licensed under
|
|
||||||
<a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
<dd-footer></dd-footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -0,0 +1,42 @@
|
||||||
|
class DDHeader extends HTMLElement {
|
||||||
|
constructor() {
|
||||||
|
super();
|
||||||
|
}
|
||||||
|
|
||||||
|
connectedCallback() {
|
||||||
|
this.innerHTML = `
|
||||||
|
<header>
|
||||||
|
<div id="headerimg"></div>
|
||||||
|
<div id="headermain">
|
||||||
|
<p><a id="homelink" href="/">dairydemon.net</a></p>
|
||||||
|
<nav>
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://social.dairydemon.net">mastodon</a></li>
|
||||||
|
<li><a href="https://scm.dairydemon.net">git</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
`;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class DDFooter extends HTMLElement {
|
||||||
|
constructor() {
|
||||||
|
super();
|
||||||
|
}
|
||||||
|
|
||||||
|
connectedCallback() {
|
||||||
|
this.innerHTML = `
|
||||||
|
<footer>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/about.html">about</a></li>
|
||||||
|
<li><a href="/attributions.html">attributions</a></li>
|
||||||
|
</ul>
|
||||||
|
</footer>
|
||||||
|
`;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
customElements.define("dd-header", DDHeader);
|
||||||
|
customElements.define("dd-footer", DDFooter);
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1009 KiB |
26
index.html
26
index.html
|
@ -3,25 +3,14 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||||
<link rel="stylesheet" href="/styles/default.css" />
|
<link rel="stylesheet" href="styles.css" />
|
||||||
<link rel="stylesheet" href="/styles/index.css" />
|
<link rel="icon" href="favicon.ico" />
|
||||||
<link rel="icon" href="/images/favicon.ico" />
|
<script src="elements.js" type="text/javascript" defer></script>
|
||||||
<title>Dairy Demon</title>
|
<title>Dairy Demon</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<dd-header></dd-header>
|
||||||
<div id="headerimg"></div>
|
|
||||||
<div id="headermain">
|
|
||||||
<p><a id="homelink" href="/">dairydemon.net</a></p>
|
|
||||||
<nav>
|
|
||||||
<ul>
|
|
||||||
<li><a href="https://social.dairydemon.net">mastodon</a></li>
|
|
||||||
<li><a href="https://scm.dairydemon.net">git</a></li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
<main>
|
<main>
|
||||||
<article>
|
<article>
|
||||||
<h1>Hi.</h1>
|
<h1>Hi.</h1>
|
||||||
|
@ -32,11 +21,6 @@
|
||||||
</p>
|
</p>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
<footer>
|
<dd-footer></dd-footer>
|
||||||
<ul>
|
|
||||||
<li><a href="/about.html">about</a></li>
|
|
||||||
<li><a href="/attributions.html">attributions</a></li>
|
|
||||||
</ul>
|
|
||||||
</footer>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
10
mgs/mgs.html
10
mgs/mgs.html
|
@ -3,15 +3,14 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||||
<link rel="stylesheet" href="/styles/default.css" />
|
<link rel="stylesheet" href="/styles.css" />
|
||||||
<link rel="icon" href="/images/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
|
<script src="/elements.js" type="text/javascript" defer></script>
|
||||||
<title>Metal Gear Solid Trivia</title>
|
<title>Metal Gear Solid Trivia</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<dd-header></dd-header>
|
||||||
<p><a id="homelink" href="/">dairydemon.net</a></p>
|
|
||||||
</header>
|
|
||||||
<main>
|
<main>
|
||||||
<nav>
|
<nav>
|
||||||
<h2>Contents</h2>
|
<h2>Contents</h2>
|
||||||
|
@ -211,5 +210,6 @@
|
||||||
</ul>
|
</ul>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
<dd-footer></dd-footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -18,19 +18,60 @@ main nav {
|
||||||
|
|
||||||
/* header and footer */
|
/* header and footer */
|
||||||
header {
|
header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
min-width: min-content;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#homelink {
|
#headerimg {
|
||||||
|
border-right: 3px solid black;
|
||||||
|
width: 128px;
|
||||||
|
background-image: url("/watching.jpg");
|
||||||
|
flex: initial;
|
||||||
|
align-self: stretch;
|
||||||
|
}
|
||||||
|
|
||||||
|
#headermain {
|
||||||
|
text-align: center;
|
||||||
|
flex: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
#headermain a {
|
||||||
color: blue;
|
color: blue;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
#headermain a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
#homelink {
|
||||||
font-size: xx-large;
|
font-size: xx-large;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#homelink:hover {
|
#headermain nav {
|
||||||
text-decoration: underline;
|
font-size: x-large;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav ul,
|
||||||
|
footer ul {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav ul li,
|
||||||
|
footer ul li {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav ul li + li::before,
|
||||||
|
footer ul li + li::before {
|
||||||
|
content: " | ";
|
||||||
}
|
}
|
||||||
|
|
||||||
/* main content */
|
/* main content */
|
||||||
|
@ -67,6 +108,15 @@ ol ol ol {
|
||||||
list-style: lower-roman
|
list-style: lower-roman
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#usbimg {
|
||||||
|
width: 256px;
|
||||||
|
height: auto;
|
||||||
|
max-width: 100%;
|
||||||
|
margin-right: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 80ch) {
|
@media screen and (min-width: 80ch) {
|
||||||
/* to avoid zoom issues, grid layout is only used when mid-width is
|
/* to avoid zoom issues, grid layout is only used when mid-width is
|
||||||
* large enough */
|
* large enough */
|
|
@ -1,8 +0,0 @@
|
||||||
#aboutimg {
|
|
||||||
width: 256px;
|
|
||||||
height: auto;
|
|
||||||
max-width: 100%;
|
|
||||||
margin-right: 10px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
float: left;
|
|
||||||
}
|
|
|
@ -1,52 +0,0 @@
|
||||||
/* header and footer */
|
|
||||||
header {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
min-width: min-content;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
#headerimg {
|
|
||||||
border-right: 3px solid black;
|
|
||||||
width: 128px;
|
|
||||||
background-image: url("/images/watching.jpg");
|
|
||||||
flex: initial;
|
|
||||||
align-self: stretch;
|
|
||||||
}
|
|
||||||
|
|
||||||
#headermain {
|
|
||||||
text-align: center;
|
|
||||||
flex: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
#headermain a {
|
|
||||||
color: blue;
|
|
||||||
text-decoration: none;
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
#headermain a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
#headermain nav {
|
|
||||||
font-size: x-large;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav ul,
|
|
||||||
footer ul {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav ul li,
|
|
||||||
footer ul li {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav ul li + li::before,
|
|
||||||
footer ul li + li::before {
|
|
||||||
content: " | ";
|
|
||||||
}
|
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Loading…
Reference in New Issue