Rewrite Startpage

This commit is contained in:
Salt 2020-08-18 07:03:04 -05:00
parent e95274dc31
commit de7f73f076
2 changed files with 95 additions and 171 deletions

View File

@ -11,148 +11,79 @@
</form>
</div>
<div class="content">
<div class="section-wrapper-header">labbity</div>
<div class="section-wrapper homelab">
<div class="section">
<h4 class="section-header">Quicklinks</h4>
<ul class="section-links">
<li><a href="https://nc.9iron.club/index.php/apps/files">files</a></li>
<li><a href="https://nc.9iron.club/index.php/apps/calendar">calendar</a></li>
<li><a href="https://nc.9iron.club/index.php/apps/deck">deck</a></li>
<li><a href="https://nc.9iron.club/index.php/apps/news">feed</a></li>
<li><a href="https://monitor.9iron.club/">grafana</a></li>
</ul>
<!-- LABBITY -->
<div class="spsection">
<div class="spsubsection">
<h4>Quicklinks</h4>
<a href="https://nc.9iron.club/index.php/apps/files">Files</a>
<a href="https://nc.9iron.club/index.php/apps/calendar">Calendar</a>
<a href="https://nc.9iron.club/index.php/apps/news">Feed</a>
</div>
<div class="section">
<h4 class="section-header">9iron</h4>
<ul class="section-links">
<li><a href="https://9iron.club">index</a></li>
<li><a href="https://git.9iron.club">gitea</a></li>
<li><a href="https://nc.9iron.club">nextcloud</a></li>
<li><a href="https://monitor.9iron.club">grafana</a></li>
</ul>
<div class="spsubsection">
<h4>9iron</h4>
<a href="https://9iron.club">Index</a>
<a href="https://git.9iron.club">Gitea</a>
<a href="https://monitor.9iron.club">Grafana</a>
</div>
<div class="section">
<h4 class="section-header">AWS</h4>
<ul class="section-links">
<li><a href="https://console.aws.amazon.com">console</a></li>
<li><a href="https://console.aws.amazon.com/ec2/v2/home">ec2</a></li>
<li><a href="https://console.aws.amazon.com/s3/home">s3</a></li>
<li><a href="https://console.aws.amazon.com/iam/home">iam</a></li>
<li><a href="https://console.aws.amazon.com/billing/home">billing</a></li>
</ul>
<div class="spsubsection">
<h4>AWS</h4>
<a href="https://console.aws.amazon.com">Console</a>
<a href="https://console.aws.amazon.com/billing/home">Billing</a>
</div>
<div class="section">
<h4 class="section-header">Resources</h4>
<ul class="section-links">
<li><a href="https://domains.google.com/">google domains</a></li>
<li><a href="https://docs.ansible.com/ansible/latest/index.html">ansible docs</a></li>
<li><a href="https://www.terraform.io/docs/index.html">terraform docs</a></li>
</ul>
<div class="spsubsection">
<h4>Resources</h4>
<a href="https://domains.google.com/">Google Domains</a>
<a href="https://docs.ansible.com/ansible/latest/index.html">Ansible Docs</a>
</div>
</div>
<div class="section-wrapper-header">fun</div>
<div class="section-wrapper fun">
<div class="section">
<h4 class="section-header">Fedi</h4>
<ul class="section-links">
<li><a href="https://cowfee.moe">cowfee</a></li>
<li><a href="https://weeaboo.space">quad</a></li>
<li><a href="https://pl.smuglo.li">smugloli</a></li>
<li><a href="https://tube.seriousposter.club/r/seriousposters#">spctube</a></li>
</ul>
<!-- FUN -->
<div class="spsection">
<div class="spsubsection">
<h4>Fedi</h4>
<a href="https://cowfee.moe">Cowfee</a>
<a href="https://pl.smuglo.li">Smug</a>
<a href="https://tube.seriousposter.club/r/seriousposters#">SPCTube</a>
</div>
<div class="section">
<h4 class="section-header">Chans</h4>
<ul class="section-links">
<li><a href="https://smuglo.li">smugloli</a> (<a href="https://notso.smuglo.li/a/">a</a>, <a href="https://smugloli.net/a/">b</a>, <a href="http://bhm5koavobq353j54qichcvzr6uhtri6x4bjjy4xkybgvxkzuslzcqid.onion/a/">t</a>)</li>
<li><a href="https://arisuchan.jp">arisuchan</a></li>
<li><a href="https://8kun.top">8kun</a></li>
</ul>
<div class="spsubsection">
<h4>Imageboards</h4>
<a href="https://smuglo.li">Smuglo</a>
<a href="https://8kun.top">8kun</a>
</div>
<div class="section">
<h4 class="section-header">Comms</h4>
<ul class="section-links">
<li><a href="https://riot.im/app">riot</a></li>
<li><a href="https://discordapp.com/app">discord</a></li>
<li><a href="https://web.telegram.org">telegram</a></li>
</ul>
<div class="spsubsection">
<h4>Comms</h4>
<a href="https://app.element.io">Element</a>
<a href="https://discordapp.com/app">Discord</a>
<a href="https://web.telegram.org">Telegram</a>
</div>
<div class="section">
<h4 class="section-header">Galleries</h4>
<ul class="section-links">
<li><a href="https://derpibooru.org">derpibooru</a></li>
<li><a href="https://gelbooru.com">gelbooru</a></li>
</ul>
<div class="spsubsection">
<h4>Galleries</h4>
<a href="https://derpibooru.org">Derpibooru</a>
<a href="https://gelbooru.com">Gelbooru</a>
</div>
</div>
<div class="section-wrapper-header">nerd</div>
<div class="section-wrapper work">
<div class="section">
<h4 class="section-header">Git</h4>
<ul class="section-links">
<li><a href="https://git.9iron.club">9iron</a></li>
<li><a href="https://gitlab.com">gitlab</a></li>
<li><a href="https://github.com">github</a></li>
<li><a href="https://git.quad.moe">quad</a></li>
</ul>
<!-- NERD -->
<div class="spsection">
<div class="spsubsection">
<h4>Git</h4>
<a href="https://git.9iron.club">9iron</a>
<a href="https://gitlab.com">GitLab</a>
<a href="https://github.com">GitHub</a>
</div>
<div class="section">
<h4 class="section-header">Core</h4>
<ul class="section-links">
<li><a href="https://git.9iron.club/salt/home">home</a></li>
<li><a href="https://git.9iron.club/salt/bin">bin</a></li>
<li><a href="https://git.9iron.club/salt/firestarter">firestarter</a></li>
<li><a href="https://git.9iron.club/salt/ansible">ansible</a></li>
</ul>
<div class="spsubsection">
<h4>Core</h4>
<a href="https://git.9iron.club/salt/ansible">Ansible</a>
<a href="https://git.9iron.club/salt/home">Home</a>
<a href="https://git.9iron.club/salt/www2">www2</a>
</div>
<div class="section">
<h4 class="section-header">Auxiliary</h4>
<ul class="section-links">
<li><a href="https://git.9iron.club/salt/www">www</a></li>
<li><a href="https://git.9iron.club/salt/ptgdp">ptgdp</a></li>
<li><a href="https://git.9iron.club/salt/adam">adam</a></li>
</ul>
<div class="spsubsection">
<h4>Projects</h4>
<a href="https://itazuraneko.neocities.org/learn/guide.html">LEARN JAP</a>
</div>
<div class="section">
<h4 class="section-header">Other</h4>
<ul class="section-links">
<li><a href="https://tcrf.net">tcrf</a></li>
<li><a href="https://itazuraneko.neocities.org/learn/guide.html">nihongo</a></li>
<li><a href="http://www.vgmpf.com">vgmpf</a></li>
<li><a href="https://git.axiodl.com/AxioDL/urde">urde</a></li>
</ul>
</div>
</div>
<div class="section-wrapper-header">util</div>
<div class="section-wrapper util">
<div class="section">
<h4 class="section-header">Search</h4>
<ul class="section-links">
<li><a href="https://sci-hub.tw">sci-hub</a></li>
<li><a href="https://nyaa.pantsu.cat">nyaa</a></li>
</ul>
</div>
<div class="section">
<h4 class="section-header">Filehosts</h4>
<ul class="section-links">
<li><a href="https://www.archiveteam.org/index.php/Pomf.se/Clones">pomf clones</a></li>
<li><a href="https://dropbox.com">dropbox</a></li>
</ul>
</div>
<div class="section">
<h4 class="section-header">Mail</h4>
<ul class="section-links">
<li><a href="https://mail.cock.li">cockmail</a></li>
<li><a href="https://mail.google.com">goog</a></li>
</ul>
</div>
<div class="section">
<h4 class="section-header">Misc</h4>
<ul class="section-links">
<li><a href="https://repology.org">repology</a></li>
<li><a href="https://dicecloud.com">dicecloud</a></li>
</ul>
<div class="spsubsection">
<h4>Other</h4>
<a href="https://tcrf.net">TCRF</a>
<a href="http://www.vgmpf.com">VGMPF</a>
<a href="https://git.axiodl.com/AxioDL/urde">URDE</a>
</div>
</div>
</div>

View File

@ -5,15 +5,30 @@
* Distributed under terms of the MIT license.
*/
/* GLOBALS */
h3 {
font-size: 70%;
letter-spacing: 1em;
margin: auto;
padding-top: 2em 0 1em 0;
text-align: center;
text-transform: uppercase;
}
h4 {
margin: auto;
text-align: center;
}
/* SEARCH BAR */
.search-form {
margin: auto;
max-width: 32em;
padding: 2em;
text-align: center;
}
.search-input {
background: var(--background-dark);
border: none;
border-bottom: 1px solid var(--link);
color: var(--text-color);
@ -28,46 +43,24 @@
border-bottom: 1px solid var(--link-hover);
}
.section-wrapper-header {
font-size: 70%;
letter-spacing: 1em;
margin: auto;
padding-top: 2em 0 1em 0;
/* SECTIONS */
div.spsection{
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-template-rows: auto auto auto auto auto;
margin: 1em;
}
div.spsubsection a {
background: var(--background-bright);
border-radius: 8px;
box-shadow: 5px 5px var(--shadow);
display: block;
margin: 0.25em;
padding: 0.5em;
text-align: center;
text-transform: uppercase;
}
.section-wrapper {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: auto;
}
.section {
break-inside: avoid;
min-width: 10em;
max-width: 20em;
padding: 1em 0 1em 0;
}
.section-header {
column-span: all;
margin: 0 0 0.25em 0;
text-transform: uppercase;
}
.section-links {
list-style-type: none;
margin: 0;
padding: 0;
line-height: 1.3;
}
.section-links a {
color: var(--link);
text-decoration: none;
transition: .08s ease-in;
}
.section-links a:hover {
color: var(--link-hover);
div.spsubsection a:hover {
background: var(--link-hover);
color: var(--background);
}