-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eb6effd
commit 05e0b92
Showing
1 changed file
with
147 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
<!doctype html> | ||
<html lang="en-AU"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<style> | ||
/* timeline blocks */ | ||
.timeline { | ||
display: grid; | ||
grid-template-columns: 1fr; | ||
} | ||
.year { | ||
border: 1px solid #888; | ||
display: grid; | ||
grid-template-columns: 1fr 3fr; | ||
} | ||
.year-label { | ||
align-items: center; | ||
background-color: #DDD; | ||
color: #446; | ||
display: flex; | ||
justify-content: center; | ||
padding-left; 1.5rem; | ||
} | ||
.year-months { | ||
background-color: #CCC; | ||
color: #335; | ||
display: grid; | ||
grid-template-rows: repeat(12, 1.25rem); | ||
} | ||
.month { | ||
display: grid; | ||
grid-template-columns: repeat(3, 1fr); | ||
} | ||
.jan { grid-row: 1; } .feb { grid-row: 2; } .mar { grid-row: 3; } | ||
.apr { grid-row: 4; } .may { grid-row: 5; } .jun { grid-row: 6; } | ||
.jul { grid-row: 7; } .aug { grid-row: 8; } .sep { grid-row: 9; } | ||
.oct { grid-row: 10; } .nov { grid-row: 11; } .dec { grid-row: 12; } | ||
/* release card headers */ | ||
.game { | ||
background-color: #BBB; | ||
color: #EEE; | ||
display: grid; | ||
grid-row-end: 1; | ||
grid-template-columns: 1.25rem 10rem 5rem 4rem; | ||
padding-left: 1.5rem; | ||
padding-right: 1.5rem; | ||
} | ||
.icon { grid-column: 1; background-color: yellow; } /* square image */ | ||
.name { grid-column: 2; background-color: blue; } | ||
.platform { grid-column: 3; background-color: green; } | ||
.region { grid-column: 4; background-color: red; } | ||
/* debug */ | ||
* { border: 1px solid #F0F; } | ||
</style> | ||
<title>Timeline</title> | ||
</head> | ||
<body> | ||
<h1>Timeline</h1> | ||
<div class="timeline" id="timeline"> | ||
<div class="year" id="1996"> | ||
<div class="year-label">1996</div> | ||
<div class="year-months"> | ||
<div class="month jun"> | ||
<div class="game"> | ||
<div class="icon"></div> | ||
<div class="name">Quake</div> | ||
<div class="platform">PC</div> | ||
<div class="region">NA</div> | ||
</div> | ||
</div> | ||
<div class="month jul"> | ||
<div class="game"> | ||
<div class="icon"></div> | ||
<div class="name">Quake</div> | ||
<div class="platform">Linux</div> | ||
<div class="region">WW</div> | ||
</div> | ||
</div> | ||
<div class="month aug"> | ||
<div class="game"> | ||
<div class="icon"></div> | ||
<div class="name">Quake</div> | ||
<div class="platform">PC</div> | ||
<div class="region">EU</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="year" id="1997"> | ||
<div class="year-label">1997</div> | ||
<div class="year-months"> | ||
<div class="month aug"> | ||
<div class="game"> | ||
<div class="icon"></div> | ||
<div class="name">Quake</div> | ||
<div class="platform">MacOS</div> | ||
<div class="region">NA</div> | ||
</div> | ||
</div> | ||
<div class="month oct"> | ||
<div class="game"> | ||
<div class="icon"></div> | ||
<div class="name">Quake</div> | ||
<div class="platform">Saturn</div> | ||
<div class="region">EU</div> | ||
</div> | ||
</div> | ||
<div class="month dec"> | ||
<div class="game"> | ||
<div class="icon"></div> | ||
<div class="name">Quake</div> | ||
<div class="platform">Saturn</div> | ||
<div class="region">NA</div> | ||
</div> | ||
<div class="game"> | ||
<div class="icon"></div> | ||
<div class="name">Quake II</div> | ||
<div class="platform">PC</div> | ||
<div class="region">NA</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="year" id="1998"> | ||
<div class="year-label">1998</div> | ||
<div class="year-months"> | ||
<div class="month mar"> | ||
<div class="game"> | ||
<div class="icon"></div> | ||
<div class="name">Quake</div> | ||
<div class="platform">N64</div> | ||
<div class="region">NA</div> | ||
</div> | ||
</div> | ||
<div class="month may"> | ||
<div class="game"> | ||
<div class="icon"></div> | ||
<div class="name">Quake</div> | ||
<div class="platform">N64</div> | ||
<div class="region">EU</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |