Match Nyaa design more closely
Cette révision appartient à :
Parent
ab9a57296f
révision
31d543e7ab
4 fichiers modifiés avec 34 ajouts et 20 suppressions
|
@ -1,47 +1,55 @@
|
|||
/* Torrent status colors */
|
||||
.remake {
|
||||
background-color: #f0b0b0;
|
||||
background-color: rgb(240, 176, 128);
|
||||
}
|
||||
.trusted {
|
||||
background-color: #98d9a8;
|
||||
background-color: #a3e9a4;
|
||||
}
|
||||
.aplus {
|
||||
background-color: #60b0f0;
|
||||
background-color: #81d3fa;
|
||||
}
|
||||
|
||||
|
||||
/* Copy of NyaaTorrent theme */
|
||||
/* modified copy of NyaaTorrent theme */
|
||||
nav#mainmenu {
|
||||
background: #1b1b1b;
|
||||
background: #263238;
|
||||
position: fixed;
|
||||
color: white;
|
||||
width: 100%;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
nav#mainmenu a {
|
||||
color: white;
|
||||
}
|
||||
|
||||
div#container {
|
||||
padding-top: 10rem;
|
||||
padding-top: 1.25em;
|
||||
background: white;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #FBFBFB;
|
||||
background-color: #ececec;
|
||||
color: #111111;
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.blockBody {
|
||||
border-radius: 5px;
|
||||
border: 1px solid black;
|
||||
/*.blockBody {
|
||||
padding: 1rem;
|
||||
}
|
||||
}*/
|
||||
|
||||
.torrentNav {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.pagination > .active > a {
|
||||
background: #ececec;
|
||||
border-color: #ececec;
|
||||
color: #337ab7; /* restore usual text color */
|
||||
}
|
||||
|
||||
/* Links, Text */
|
||||
a {
|
||||
color: #106655;
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<option value="1_2" {{if eq .Search.Category "1_2"}}selected{{end}}>Software - Games</option>
|
||||
</select>
|
||||
<select name="s" class="form-control input-sm">
|
||||
<option value="">Search all</option>
|
||||
<option value="">Show all</option>
|
||||
<option value="2" {{if eq .Search.Status "2"}}selected{{end}}>Remakes</option>
|
||||
<option value="3" {{if eq .Search.Status "3"}}selected{{end}}>Trusted</option>
|
||||
<option value="4" {{if eq .Search.Status "4"}}selected{{end}}>A+</option>
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
{{define "title"}}Home{{end}}
|
||||
{{define "content"}}
|
||||
<div class="blockBody">
|
||||
<nav class="torrentNav" aria-label="Page navigation">
|
||||
<ul class="pagination">
|
||||
{{ genNav .Navigation .URL 10 }}
|
||||
</ul>
|
||||
</nav>
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
|
@ -39,10 +44,5 @@
|
|||
</tr>
|
||||
{{end}}
|
||||
</table>
|
||||
<nav class="torrentNav" aria-label="Page navigation">
|
||||
<ul class="pagination">
|
||||
{{ genNav .Navigation .URL 10 }}
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
{{end}}
|
||||
|
|
|
@ -50,10 +50,13 @@
|
|||
</div>
|
||||
</nav>
|
||||
|
||||
<!-- top padding -->
|
||||
<div style="padding-top: 10rem"></div>
|
||||
|
||||
<div class="container" id="container">
|
||||
<div class="blockBody" style="display:flex">
|
||||
<h3>Advanced Search</h3>
|
||||
<form class="navbar-form navbar-right" role="search" action="/search" method="get">
|
||||
<div class="blockBody" style="text-align:center">
|
||||
<font size="4.5">Advanced Search</font><br />
|
||||
<form class="navbar-form" role="search" action="/search" method="get">
|
||||
<div class="form-group">
|
||||
{{block "search_common" .}}{{end}}
|
||||
{{block "search_advanced" .}}{{end}}
|
||||
|
@ -66,6 +69,9 @@
|
|||
{{block "content" .}}Nothing Here.{{end}}
|
||||
</div>
|
||||
|
||||
<!-- bottom padding -->
|
||||
<div style="padding-top: 5rem"></div>
|
||||
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
|
||||
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
||||
|
|
Référencer dans un nouveau ticket