wiki-mad-libs/web/index.html

79 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>WAKI-LIBS</title>
<style>
#inputs {
display: flex;
flex-flow: column wrap;
max-height: 400px;
}
#inputs p {
max-width: 30%;
margin: 0.5em;
}
#inputs p input {
float: right;
}
button {
font-weight: bold;
padding: 0.5em 1em;
margin: 0.5em 1em;
}
#article {
font-family: sans-serif;
font-size: 11pt;
margin: 2em 0 2em 2em;
max-width: 1000px;
transition: opacity 1s ease-in;
/*display: none;*/
opacity: 0;
}
#article.visible {
display: block;
opacity: 1;
}
#article #title {
font-family: 'Georgia', 'Times', serif;
font-size: 24pt;
margin-right: 0.3em;
}
#article #link {
font-size: 10pt;
}
#article hr {
border: none;
border-top: 1px solid;
margin-bottom: 1em;
}
</style>
</head>
<body>
<h1>WAKI-LIBS: Wikipedia Ad-Libbed</h1>
<div id="inputs"></div>
<p><button id="show-article">WAKI-LIB!</button>
<div id="article">
<div id="header">
<span id="title"></span>
<span id="link"></span>
</div>
<hr>
<div id="summary"></div>
</div>
<script src="article.js"></script>
<script src="script.js"></script>
</body>
</html>