2022-06-26 18:40:12 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
2022-08-19 05:28:26 +00:00
|
|
|
<title>WAKI-LIBS</title>
|
2022-08-17 05:01:43 +00:00
|
|
|
<style>
|
|
|
|
|
2023-01-09 05:28:35 +00:00
|
|
|
#error {
|
|
|
|
display: none;
|
|
|
|
color: red;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
#error::before {
|
|
|
|
content: '>> ';
|
|
|
|
}
|
|
|
|
|
|
|
|
#error::after {
|
|
|
|
content: ' <<';
|
|
|
|
}
|
|
|
|
|
2022-08-17 05:01:43 +00:00
|
|
|
#inputs {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column wrap;
|
|
|
|
max-height: 400px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#inputs p {
|
|
|
|
max-width: 30%;
|
|
|
|
margin: 0.5em;
|
|
|
|
}
|
|
|
|
|
2023-01-09 05:28:35 +00:00
|
|
|
#inputs p label {
|
|
|
|
display: inline-block;
|
|
|
|
width: 10em;
|
|
|
|
}
|
|
|
|
|
2022-08-17 05:01:43 +00:00
|
|
|
#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;
|
|
|
|
}
|
|
|
|
|
2023-01-09 05:28:35 +00:00
|
|
|
#article .link {
|
2022-08-17 05:01:43 +00:00
|
|
|
font-size: 10pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
#article hr {
|
|
|
|
border: none;
|
|
|
|
border-top: 1px solid;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
2022-06-26 18:40:12 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2023-01-09 05:28:35 +00:00
|
|
|
<h1>WAKI-LIBS: Wikipedia Ad-Libbed</h1>
|
|
|
|
<div id="error"></div>
|
|
|
|
<div id="inputs"></div>
|
2022-08-19 05:28:26 +00:00
|
|
|
<p><button id="show-article">WAKI-LIB!</button>
|
2022-08-17 05:01:43 +00:00
|
|
|
<div id="article">
|
|
|
|
<div id="header">
|
|
|
|
<span id="title"></span>
|
2023-01-09 05:28:35 +00:00
|
|
|
<span class="link">[ <a id="original-article-link" href="#">Original Article</a> ]</span>
|
|
|
|
<span class="link">[ <a id="sharable-link" href="#">Share your WAKI-LIBS!</a> ]</span>
|
2022-08-17 05:01:43 +00:00
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<div id="summary"></div>
|
|
|
|
</div>
|
2022-06-26 18:40:12 +00:00
|
|
|
<script src="article.js"></script>
|
|
|
|
<script src="script.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|