Changes in formatting for html,css

This commit is contained in:
2018-03-05 17:01:57 +03:00
parent 473e487e64
commit 946cb10b3f
5 changed files with 119 additions and 119 deletions

View file

@ -1,47 +1,47 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FLeast</title>
<link rel="stylesheet" href="/fleast/style.css">
<link rel="shortcut icon" href="/flaest/favicon.ico" type="image/png">
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FLeast</title>
<link rel="stylesheet" href="/fleast/style.css">
<link rel="shortcut icon" href="/flaest/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".</p>
<form method="get" action="/fleast">
<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">
<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".</p>
<form method="get" action="/fleast">
<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>
</select>
</td>
<td><input type="submit" value="Search" /></td>
</tr>
</tbody>
</table>
</form>
</article>
</section>
<footer>
<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_} </p>
</footer>
</section>
<footer>
<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_} </p>
</footer>
</body>
</html>

View file

@ -1,13 +1,13 @@
<option value="ru" {}>russian</option>
<option value="en" {}>english</option>
<option value="de" {}>german</option>
<option value="zh-tw" {}>chinese (TW)</option>
<option value="fi" {}>finnish</option>
<option value="fr" {}>french</option>
<option value="it" {}>italian</option>
<option value="ja" {}>japanese</option>
<option value="ko" {}>korean</option>
<option value="no" {}>norwegian</option>
<option value="pl" {}>polish</option>
<option value="es" {}>spanish</option>
<option value="sv" {}>swedish</option>
<option value="ru" {}>russian</option>
<option value="en" {}>english</option>
<option value="de" {}>german</option>
<option value="zh-tw" {}>chinese (TW)</option>
<option value="fi" {}>finnish</option>
<option value="fr" {}>french</option>
<option value="it" {}>italian</option>
<option value="ja" {}>japanese</option>
<option value="ko" {}>korean</option>
<option value="no" {}>norwegian</option>
<option value="pl" {}>polish</option>
<option value="es" {}>spanish</option>
<option value="sv" {}>swedish</option>

View file

@ -1,54 +1,54 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FLeast</title>
<link rel="stylesheet" href="/fleast/style.css">
<link rel="shortcut icon" href="/fleast/favicon.ico" type="image/png">
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FLeast</title>
<link rel="stylesheet" href="/fleast/style.css">
<link rel="shortcut icon" href="/fleast/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".</p>
<form method="get" action="/fleast">
<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="{_game_name_}"/> </td>
<td><select class="element select medium" name="lang">
<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".</p>
<form method="get" action="/fleast">
<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="{_game_name_}"/> </td>
<td><select class="element select medium" name="lang">
{_opt_langs_}
</select>
</td>
<td><input type="submit" value="Search" /></td>
</tr>
</tbody>
</table>
</form>
</p>
</article>
<artivle>
<h2>Found {_stream_num_} streams: </h2><br>
</select>
</td>
<td><input type="submit" value="Search" /></td>
</tr>
</tbody>
</table>
</form>
</p>
</article>
<artivle>
<h2>Found {_stream_num_} streams: </h2><br>
<div class="container">
<div class="container">
{_stream_list_}
</div>
</article>
</section>
<footer>
<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_} </p>
</footer>
</div>
</article>
</section>
<footer>
<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_} </p>
</footer>
</body>
</html>

View file

@ -1,6 +1,6 @@
<div class="inner">
<a href="{0}" target="_blank"><img src={1}></a><br>
<div class="strname">{2}</div>
<span class="struser">{3}</span>
<span class="strviews"> :{4}</span>
</div>
<div class="inner">
<a href="{0}" target="_blank"><img src={1}></a><br>
<div class="strname">{2}</div>
<span class="struser">{3}</span>
<span class="strviews"> :{4}</span>
</div>

View file

@ -16,12 +16,12 @@ hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padd
}
main {
float: left;
width: 60%;
float: left;
width: 60%;
}
aside {
float: right;
width: 30%;
float: right;
width: 30%;
}
article {
border-bottom: 2px dotted #999;
@ -39,20 +39,20 @@ main section {
}
footer {
background: #AEC6CF;
max-width: 1000px;
margin: auto;
clear: both;
text-align: right;
background: #AEC6CF;
max-width: 1000px;
margin: auto;
clear: both;
text-align: right;
}
footer p {
padding: 20px;
padding: 20px;
}
aside > div {
margin: 10px auto;
background: #AEC6CF;
min-height: 100px;
margin: 10px auto;
background: #AEC6CF;
min-height: 100px;
}
body > section {
@ -83,17 +83,17 @@ table.Input td, table.Input th {
}
.strname {
font-weight: bold;
font-weight: bold;
}
.struser {
font-size: 15px;
font-weight: bold;
color: #0f0
font-size: 15px;
font-weight: bold;
color: #0f0
}
.strviews{
font-size: 15px;
font-weight: bold;
color: #f00
font-size: 15px;
font-weight: bold;
color: #f00
}