Finished the redesign, split styles.css into multiple files and added support for importing page-specific styles, added new logo, added "updates" box to index.njk.
This commit is contained in:
parent
25ea17f0f8
commit
ebc904d60d
16 changed files with 456 additions and 384 deletions
27
search.html
27
search.html
|
|
@ -1,27 +0,0 @@
|
|||
---
|
||||
layout: "base.njk"
|
||||
---
|
||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/elasticlunr/0.9.6/elasticlunr.min.js"></script>
|
||||
<script src="/assets/search.js" defer></script>
|
||||
|
||||
<style>
|
||||
main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1em;
|
||||
justify-content: center;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Welcome to neoBeta's search, here you can search through our whole database of plugins, mods and authors. You may want to filter out the results using the dropdown menu below. The search is done on your device using <a href="https://github.com/weixsong/elasticlunr.js">elasticlunr</a>.</p>
|
||||
|
||||
<div style="display: flex; gap: .5em;">
|
||||
<input type="text" id="search" placeholder="Search..." style="flex-grow: 1;"/>
|
||||
<select name="Search mode" id="searchMode">
|
||||
<option value="all" selected>All</option>
|
||||
<option value="plugin">Plugins</option>
|
||||
<option value="mod">Mods</option>
|
||||
<option value="author">Authors</option>
|
||||
</select>
|
||||
</div>
|
||||
<div id="searchResults" style="display: flex; gap: 1em; flex-direction: column;"></div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue