Skip to content

Commit

Permalink
Make homepage A E S T H E T I C
Browse files Browse the repository at this point in the history
type: documentation
  • Loading branch information
casey committed Apr 8, 2020
1 parent 460cf9e commit 9ff627c
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 1 deletion.
64 changes: 64 additions & 0 deletions docs/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
:root {
--width-target: calc(100vw / 6);
--height-target: calc(100vh / 3);
--size: min(var(--width-target), var(--height-target));
--margin-vertical: calc((100vh - var(--size) * 2) / 2);
--margin-horizontal: calc((100vw - var(--size) * 5) / 2);
}

* {
margin: 0;
padding: 0;
}

html {
background-color: black;
color: white;
font-family: sans-serif;
font-size: var(--size);
line-height: var(--size);
overflow: hidden;
text-align: center;
}

a {
color: white;
text-decoration: none;
}

table {
border-collapse: collapse;
margin-bottom: var(--margin-vertical);
margin-left: var(--margin-horizontal);
margin-right: var(--margin-horizontal);
margin-top: var(--margin-vertical);
}

td {
border-style: dashed;
border-width: 1px;
height: var(--size);
width: var(--size);
}

/* intermodal is an isogram */
#i:after { content:'I'; }
#i:hover:after { content:'私'; }
#n:after { content:'N'; }
#n:hover:after { content:'∅'; }
#t:after { content:'T'; }
#t:hover:after { content:'࿈'; }
#e:after { content:'E'; }
#e:hover:after { content:'Ə'; }
#r:after { content:'R'; }
#r:hover:after { content:'ℜ'; }
#m:after { content:'M'; }
#m:hover:after { content:'☾'; }
#o:after { content:'O'; }
#o:hover:after { content:'ꙮ'; }
#d:after { content:'D'; }
#d:hover:after { content:'↓'; }
#a:after { content:'A'; }
#a:hover:after { content:'א'; }
#l:after { content:'L'; }
#l:hover:after { content:'し'; }
20 changes: 19 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,27 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>I N T E R M O D A L</title>
<link href="index.css" rel="stylesheet" type="text/css">
</head>
<body>
<a href="https://github.com/casey/intermodal">github</a>
<a href="https://github.com/casey/intermodal">
<table>
<tr>
<td id="i"></td>
<td id="n"></td>
<td id="t"></td>
<td id="e"></td>
<td id="r"></td>
</tr>
<tr>
<td id="m"></td>
<td id="o"></td>
<td id="d"></td>
<td id="a"></td>
<td id="l"></td>
</tr>
</table>
</a>
</body>
</html>
<!-- Love, Casey -->
4 changes: 4 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ publish: publish-check
git tag -a {{version}} -m 'Release {{version}}'
git push github {{version}}

# open github pages index
open-pages:
open docs/index.html

# retrieve large collection of torrents from the Internet Archive
get-torrents:
aria2c \
Expand Down

0 comments on commit 9ff627c

Please sign in to comment.