Basic redesign

This commit is contained in:
~erin 2022-06-19 19:34:24 -04:00
parent 64c9f498e3
commit 6daf5f434c
No known key found for this signature in database
GPG Key ID: DA70E064A8C70F44
9 changed files with 85 additions and 160 deletions

View File

@ -1,50 +1,44 @@
<footer class="section">
<div class="inner-section">
<ul>
<li><h3>Copyright:</h3></li>
<li><a class="license" href="/cnpl.html">© CNPLv7+</a></li>
<li>
<div class="footer">
<footer>
<ul class="container">
<li class="item-left">
<h3>Copyright:</h3>
<p>Code licensed under the <span><a class="license" href="/cnpl.html">© CNPLv7+</a></span></p>
<!--<p>Pride badges by <span><a href="https://matthil.de/">matthilde</a></span> under public domain</p>-->
<p>Fira Code Font <span><a href="https://github.com/tonsky/FiraCode/blob/master/LICENSE">SIL Open Font License</a></span></p>
<p>Fira Code Font <span><a href="https://github.com/tonsky/FiraCode/blob/master/LICENSE">SIL Open Font License</a></span></p>
<p>Generated using <span><a href="https://cobalt-org.github.io/">cobalt</a></span></p>
</li>
</li>
<li><h3>Mirrors:</h3></li>
<li class="item-middle">
<h3>Mirrors:</h3>
<li>
<a href="http://pqr366modvw3zz3io4s3azvketwmubcnviw4tt7okyzrmoleh5gjbqyd.onion">Onion</a>
<a href="gemini://the-system.eu.org">Gemini</a>
</li>
<b><a href="http://pqr366modvw3zz3io4s3azvketwmubcnviw4tt7okyzrmoleh5gjbqyd.onion">Onion</a></b>
<br>
<b><a href="gemini://the-system.eu.org">Gemini</a></b>
</li>
<li><h3>
<span><a href="https://emreed.net/LowTech_Directory.html">🔗</a>
</span> Low-Tech Webring:
</h3></li>
<li class="item-right">
<h3>Webrings</h3>
<h4>
<span><a href="https://emreed.net/LowTech_Directory.html">🔗</a>
</span> Low-Tech Webring:
</h4>
<li>
<a href="https://sadgrl.online">Sadness</a>
<span><--></span>
<a href="https://mrshll.com">mrshll</a>
</li>
<a href="https://sadgrl.online">Sadness</a>
<span><--></span>
<a href="https://mrshll.com">mrshll</a>
<li><h3>
<span><a href="https://ring.bicompact.space">🔗</a>
</span> Armisael Webring:
</h3></li>
<li>
<a href="https://5snb.club">5225225</a>
<span><--></span>
<a href="https://unix.lgbt/~kakuko/sanctuary">syntropy</a>
</li>
<h4>
<span><a href="https://ring.bicompact.space">🔗</a>
</span> Armisael Webring:
</h4>
<li class="badges">
<img src="/assets/badges/queer.png" alt="Maintained by a queer folk" width="64" height="32">
<img src="/assets/badges/socks.png" alt="Always wear your programming socks" width="129" heigh="38">
<img src="/assets/badges/estrogen.webp" alt="powered by estrogen" width="179" height="62">
</li>
</ul>
</div>
<a href="https://5snb.club">5225225</a>
<span><--></span>
<a href="https://unix.lgbt/~kakuko/sanctuary">syntropy</a>
</li>
</ul>
<a rel="me" href="https://transmom.love/@erin" style="display:none"></a>
</footer>
</div>

View File

@ -1,3 +1,4 @@
<div class="menu">
<nav>
<ul>
<li class="one"><a class="button" href="/">Home</a></li>
@ -8,3 +9,4 @@
<li class="six"><a class="button" href="/rss.xml">RSS</a></li>
</ul>
</nav>
</div>

View File

@ -5,14 +5,14 @@
</head>
<body>
{% include "navigation.liquid" %}
<div class="center">
<div class="content">
{% include "navigation.liquid" %}
<div class="main">
<main>
{{ page.content }}
</main>
</div>
</div>
</div>
{% include "footer.liquid" %}
</div>
</body>
</html>

View File

@ -3,33 +3,28 @@ html {
font-size: 1.1em;
font-family: 'Atkinson Hyperlegible', sans-serif;
color: $foreground-color;
background: $background-color;
line-height: 1.50;
background-image: url("assets/stars4.gif");
background-repeat: repeat;
background-image: url('/assets/mushrooms.jpg');
}
@media only screen and (min-width: 600px) {
.center {
background-color: $background-color;
width: 50%;
text-align: center;
margin: auto;
border: 5px solid #96CDFB;
}
}
@media only screen and (max-width: 600px) {
.center {
background-color: $background-color;
text-align: center;
.header { grid-area: header; }
.menu { grid-area: menu; }
.main {
grid-area: main;
background: $background-color;
margin: 10px;
border: 5px solid #96CDFB;
}
margin-left: 0px;
padding: 20px;
border-radius: 2px;
}
.footer { grid-area: footer; }
.content {
margin: 5%;
display: grid;
grid-template-areas:
'header header header header header header'
'menu main main main main main'
'menu footer footer footer footer footer';
gap: 10px;
padding: 10px;
text-align: left;
}

View File

@ -1,52 +1,27 @@
@media only screen and (min-width: 600px) {
footer {
margin: auto;
margin-top: 5%;
margin-bottom: 5%;
width: 20%;
border: 5px solid #ABE9B3;
ul {
list-style: none;
margin: auto;
padding: 10px;
display: grid;
li {
h3 {
padding-top: 15px;
margin-top: auto;
}
text-align: center;
}
}
}
}
@media only screen and (max-width: 600px) {
footer {
background: $background-color;
h1, h2, h3 { margin-left: 0px; margin-top: 0px;}
h4 { margin-left: 0px; }
padding: 20px;
margin: 10px;
margin-top: 5%;
margin-bottom: 5%;
border: 5px solid #ABE9B3;
margin-left: auto;
border-radius: 2px;
ul {
list-style: none;
margin: auto;
padding: 10px;
display: grid;
list-style: none;
color: $foreground-color;
}
li {
h3 {
margin-top: auto;
}
text-align: center;
}
.item-left { grid-area: item-left; };
.item-middle { grid-area: item-middle; };
.item-right { grid-area: item-right; };
.container {
margin: 0px;
padding-left: 0px;
display: grid;
grid-template-columns: 500px 250px 250px;
grid-template-rows: auto;
grid-template-areas: "item-left item-middle item-right";
}
}
}
.badges {
padding-top: 15px;
}

View File

@ -1,16 +1,13 @@
h1 {
border-bottom: 5px solid #F28FAD;
}
h2 {
margin-top: 1cm;
margin-bottom: 0;
border-bottom: 3px solid #F8BD96;
margin-left: 5px;
}
h3 {
margin-top: 1cm;
margin-bottom: 0;
margin-left: 10px;
}
a {

View File

@ -1,11 +1,8 @@
@media only screen and (min-width: 600px) {
nav {
max-width: 50%;
margin: auto;
margin-top: 25px;
margin-bottom: 5%;
font-size: 1.3em;
border: 5px solid #DDB6F2;
margin: 10px;
border-radius: 2px;
padding: 20px;
background: $background-color;
ul {
list-style: none;
@ -24,38 +21,3 @@ nav {
}
}
}
}
@media only screen and (max-width: 600px) {
nav {
margin: 10px;
list-style: none;
font-size: 1.3em;
border: 5px solid #DDB6F2;
ul {
list-style: none;
padding: 0px;
margin: auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
grid-auto-rows: minmax(50px, auto);
align-content: center;
li {
padding: 0px;
margin: auto;
font-weight: bold;
text-align: center;
a {
text-decoration: none;
}
}
}
}
}

BIN
assets/mushrooms.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 KiB

View File

@ -1,5 +1,5 @@
$background-color: #161320;
$foreground-color: #D9E0EE;
$accent-color: #F2CDCD;
$background-color: #F9F6F0;
$foreground-color: #241A11;
$accent-color: #cd2b29;
@import '_scss/base', '_scss/formatting', '_scss/footer', '_scss/navigation';