Refresh website design
- adaptive 4-wide grid for stream, - bootstrap elements - better wording
This commit is contained in:
parent
538f50847e
commit
8d8226a5fa
5 changed files with 186 additions and 218 deletions
140
web/fl.html
140
web/fl.html
|
@ -3,64 +3,100 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>FLeast</title>
|
||||
<link rel="stylesheet" href="./style.css">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="shortcut icon" href="./favicon.ico" type="image/png">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<section id="header">
|
||||
<strong>
|
||||
<h1>FLeast - your least favourite streamers here</h1>
|
||||
</strong>
|
||||
</section>
|
||||
<section id="pageContent">
|
||||
<article>
|
||||
<h2>Usage:</h2>
|
||||
<p>
|
||||
Write the name of the game and select the language.<br>
|
||||
The name must _exactly_ match the name of the game on twitch.tv
|
||||
i.e. csgo must be "Counter-Strike: Global Offensive".<br><br>
|
||||
<b>IRL is back!</b> Sort of.<br>
|
||||
You can type <b>IRL</b> in game field and it will output streams from
|
||||
<i>Just Chatting</i>, <i>Travel & Outdoors</i>, etc...
|
||||
</p>
|
||||
<form method="get" action="./">
|
||||
<table class="Input">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<label>Game </label>
|
||||
</td>
|
||||
<td>
|
||||
<label>Language </label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input name="game" type="text" maxlength="255" value=""/>
|
||||
</td>
|
||||
<td>
|
||||
<select class="element select medium" name="lang">
|
||||
{_opt_langs_}
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<input type="submit" value="Search" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
</article>
|
||||
<style>
|
||||
.container-sm {{
|
||||
max-width: 1450px;
|
||||
}}
|
||||
|
||||
</section>
|
||||
<footer>
|
||||
body {{
|
||||
background-color: #333333;
|
||||
}}
|
||||
|
||||
footer {{
|
||||
background-color: #AEC6CF;
|
||||
}}
|
||||
|
||||
.strname {{
|
||||
font-weight: bold;
|
||||
}}
|
||||
|
||||
.struser {{
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
color: #0f0
|
||||
}}
|
||||
|
||||
.strviews {{
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
color: #f00
|
||||
}}
|
||||
|
||||
.grid {{
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(320px, 340px));
|
||||
justify-content: space-around;
|
||||
row-gap: 30px;
|
||||
}}
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<div class="container-sm text-white">
|
||||
<br>
|
||||
<h1>Fleast — find new favourite small streamer</h1>
|
||||
<hr>
|
||||
<p>
|
||||
Developed by Alex Vanin | <a href="https://twitter.com/AlexVanin" target="_blank">twitter</a> |
|
||||
<a href="https://github.com/AlexVanin/fleast" target="_blank">github</a><br>
|
||||
Version: {_version_}
|
||||
Search streams by specifying category from twitch.tv and the
|
||||
language of the stream.<br>Streams will be sorted by <b>ascending</b> order.
|
||||
</p>
|
||||
</footer>
|
||||
<p>
|
||||
The category must be specified by <b>exact name</b>.<br>For example,
|
||||
if you are looking for <i>Counter-Strike</i>, then you should write
|
||||
<i>Counter-Strike: Global Offensive</i>.
|
||||
</p>
|
||||
<p>
|
||||
You can use <b>IRL</b> like in good old days.<br>The output will
|
||||
combine <i>Just Chatting</i>, <i>Travel & Outdoors</i>, and other categories.
|
||||
</p>
|
||||
<form method="get" action="./">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
Category
|
||||
</td>
|
||||
<td>
|
||||
Language
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input name="game" type="text" class="form-control-sm" maxlength="255" value="" placeholder="Specify category"/>
|
||||
</td>
|
||||
<td>
|
||||
<select name="lang" class="form-control-sm">
|
||||
{_opt_langs_}
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<input type="submit" value="Search" class="btn btn-primary btn-sm"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<hr>
|
||||
<footer>
|
||||
<div class="text-end text-black p-2">
|
||||
Developed by Alexey Vanin | <a href="https://twitter.com/AlexVanin" target="_blank">twitter</a> |
|
||||
<a href="https://github.com/AlexVanin/fleast" target="_blank">github</a><br>
|
||||
Version: {_version_}
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue