You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
1.5 KiB

<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8" />
#error {
display: none;
color: red;
font-weight: bold;
#error::before {
content: '>> ';
#error::after {
content: ' <<';
#inputs {
display: flex;
flex-flow: column wrap;
max-height: 400px;
#inputs p {
max-width: 30%;
margin: 0.5em;
#inputs p label {
display: inline-block;
width: 10em;
#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;
<h1>WAKI-LIBS: Wikipedia Ad-Libbed</h1>
<div id="error"></div>
<div id="inputs"></div>
<p><button id="show-article">WAKI-LIB!</button>
<div id="article">
<div id="header">
<span id="title"></span>
<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>
<div id="summary"></div>
<script src="article.js"></script>
<script src="script.js"></script>