add 88x31 pride button
All checks were successful
/ weblog.lol (push) Successful in 30s

This commit is contained in:
zepp 2025-03-09 21:08:02 -04:00
parent 8123647831
commit 66cacfaf50
2 changed files with 292 additions and 264 deletions

View File

@ -1,216 +1,240 @@
<!DOCTYPE html>
<!-- proven.lol/f5bf3a -->
<html lang="en">
<head>
<title>{weblog-title}{separator}{post-title}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
{feeds}
<style>
@import url('https://static.omg.lol/type/font-honey.css');
@import url('https://static.omg.lol/type/font-lato-regular.css');
@import url('https://static.omg.lol/type/font-lato-bold.css');
@import url('https://static.omg.lol/type/font-lato-italic.css');
@import url('https://static.omg.lol/type/font-md-io.css');
@import url('https://static.omg.lol/type/fontawesome-free/css/all.css');
<head>
<title>{weblog-title}{separator}{post-title}</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
{feeds}
<style>
@import url("https://static.omg.lol/type/font-honey.css");
@import url("https://static.omg.lol/type/font-lato-regular.css");
@import url("https://static.omg.lol/type/font-lato-bold.css");
@import url("https://static.omg.lol/type/font-lato-italic.css");
@import url("https://static.omg.lol/type/font-md-io.css");
@import url("https://static.omg.lol/type/fontawesome-free/css/all.css");
:root {
--foreground: #212529;
--background: #ffcccc;
--article-background-color: #ffe9e3;
--link-color: #4B0082;
--link-hover: #FF1493;
--accent: #868e96;
--border-color: #DB7093;
--font-size: 1rem;
}
:root {
--foreground: #212529;
--background: #ffcccc;
--article-background-color: #ffe9e3;
--link-color: #4b0082;
--link-hover: #ff1493;
--accent: #868e96;
--border-color: #db7093;
--font-size: 1rem;
}
@media (prefers-color-scheme: dark) {
:root {
--foreground: #f1dac4;
--background: #011627;
--article-background-color: #2f184b;
--link-color: #4cc9f0;
--link-hover: #f72585;
--accent: #868e96;
--border-color: #003566;
}
}
@media (prefers-color-scheme: dark) {
:root {
--foreground: #f1dac4;
--background: #011627;
--article-background-color: #2f184b;
--link-color: #4cc9f0;
--link-hover: #f72585;
--accent: #868e96;
--border-color: #003566;
}
}
* {
box-sizing: border-box;
}
* {
box-sizing: border-box;
}
html {
font-size: 16px;
}
html {
font-size: 16px;
}
body {
font-family: 'Lato', sans-serif;
font-size: var(--font-size);
color: var(--foreground);
background: var(--background);
letter-spacing: 0.125rem;
}
body {
font-family: "Lato", sans-serif;
font-size: var(--font-size);
color: var(--foreground);
background: var(--background);
letter-spacing: 0.125rem;
}
header nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}
header nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}
header nav li {
display: inline-block;
}
header nav li {
display: inline-block;
}
header nav li a {
display: block;
text-decoration: none;
margin-right: 1em;
}
header nav li a {
display: block;
text-decoration: none;
margin-right: 1em;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'VC Honey Deck', serif;
margin: 1rem 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "VC Honey Deck", serif;
margin: 1rem 0;
}
p, li {
line-height: 1.25rem;
}
p,
li {
line-height: 1.25rem;
}
header, main, footer {
max-width: 60em;
margin: 2em auto;
padding: 0 1em;
}
header,
main,
footer {
max-width: 60em;
margin: 2em auto;
padding: 0 1em;
}
header {
margin-top: 4em;
}
header {
margin-top: 4em;
}
footer p {
margin-top: 5em;
font-size: var(--font-size);
text-align: center;
}
footer p {
margin-top: 5em;
font-size: var(--font-size);
text-align: center;
}
a:link { color: var(--link-color); }
a:visited { color: var(--link-color); }
a:hover { color: var(--link-hover); }
a:active { color: var(--link-color); }
a:link {
color: var(--link-color);
}
a:visited {
color: var(--link-color);
}
a:hover {
color: var(--link-hover);
}
a:active {
color: var(--link-color);
}
.post-info, .post-tags {
font-size: var(--font-size);
color: var(--accent);
text-align: right;
}
.post-info,
.post-tags {
font-size: var(--font-size);
color: var(--accent);
text-align: right;
}
.post-info i:nth-child(2) {
margin-left: .75em;
}
.post-info i:nth-child(2) {
margin-left: 0.75em;
}
.tag {
background: var(--accent);
color: var(--background) !important;
padding: .3em .4em;
margin: .8em 0 0 .4em;
border-radius: .5em;
text-decoration: none;
display: inline-block;
}
.tag {
background: var(--accent);
color: var(--background) !important;
padding: 0.3em 0.4em;
margin: 0.8em 0 0 0.4em;
border-radius: 0.5em;
text-decoration: none;
display: inline-block;
}
hr {
border: 0;
height: 1px;
background: #333;
margin: 2em 0;
}
hr {
border: 0;
height: 1px;
background: #333;
margin: 2em 0;
}
code {
padding: .2em .3em;
border: 1px solid var(--accent);
white-space: pre-wrap;
word-wrap: break-word;
}
code {
padding: 0.2em 0.3em;
border: 1px solid var(--accent);
white-space: pre-wrap;
word-wrap: break-word;
}
pre, code {
font-family: 'MD IO 0.4';
font-size: var(--font-size);
}
pre,
code {
font-family: "MD IO 0.4";
font-size: var(--font-size);
}
pre code {
background: #000;
color: #eee;
display: inline-block;
padding: 1em;
white-space: pre-wrap;
word-wrap: break-word;
}
pre code {
background: #000;
color: #eee;
display: inline-block;
padding: 1em;
white-space: pre-wrap;
word-wrap: break-word;
}
img {
max-width: 100%;
}
img {
max-width: 100%;
}
table {
border-collapse: collapse;
}
table {
border-collapse: collapse;
}
td, th {
padding: .75em;
text-align: left;
border: 1px solid var(--accent);
}
.weblog-title a {
text-decoration: none;
color: var(--foreground);
}
td,
th {
padding: 0.75em;
text-align: left;
border: 1px solid var(--accent);
}
article {
background-color: var(--article-background-color);
padding: 1em;
border-radius: 10px;
border: 2px solid var(--border-color);
}
.weblog-title a {
text-decoration: none;
color: var(--foreground);
}
.fa-solid.fa-heart {
color: #c81d25;
}
</style>
</head>
<body>
article {
background-color: var(--article-background-color);
padding: 1em;
border-radius: 10px;
border: 2px solid var(--border-color);
}
<header>
<h1 class="weblog-title"><a href="{base-path}">{weblog-title}</a></h1>
{navigation}
</header>
.fa-solid.fa-heart {
color: #c81d25;
}
<main>
.pride-img {
margin: 0 auto;
}
</style>
</head>
<body>
<header>
<h1 class="weblog-title"><a href="{base-path}">{weblog-title}</a></h1>
{navigation}
</header>
<article>
{body}
<aside class="post-info">
<i class="fa-solid fa-clock"></i> {date}
</aside>
<aside class="post-tags">
{tags}
</aside>
</article>
<main>
<article>
{body}
<aside class="post-info">
<i class="fa-solid fa-clock"></i> {date}
</aside>
<aside class="post-tags">{tags}</aside>
</article>
<hr>
<hr />
<img
class="pride-img"
src="https://cdn.some.pics/emma/67ce39c59db6f.svg"
alt="a mashup of the transgender and bisexual pride flags. the two flags are flipped in the middle to form a heart shape of both"
height="31px"
width="88px"
/>
<h2>Recent posts</h2>
<h2>Recent posts</h2>
{recent-posts}
{recent-posts}
</main>
</main>
<footer>
<p>
written with <i class="fa-solid fa-heart"></i> by
<a href="https://emma.omg.lol">emma</a>
</p>
</footer>
</body>
<footer>
<p>
written with <i class="fa-solid fa-heart"></i> by
<a href="https://emma.omg.lol">emma</a>
</p>
</footer>
</body>
</html>

View File

@ -17,83 +17,83 @@ Title: Page Template
@import url('https://static.omg.lol/type/fontawesome-free/css/all.css');
:root {
--foreground: #212529;
--background: #ffcccc;
--article-background-color: #ffe9e3;
--link-color: #4B0082;
--link-hover: #FF1493;
--accent: #868e96;
--border-color: #DB7093;
--font-size: 1rem;
--foreground: #212529;
--background: #ffcccc;
--article-background-color: #ffe9e3;
--link-color: #4B0082;
--link-hover: #FF1493;
--accent: #868e96;
--border-color: #DB7093;
--font-size: 1rem;
}
@media (prefers-color-scheme: dark) {
:root {
--foreground: #f1dac4;
--background: #011627;
--article-background-color: #2f184b;
--link-color: #4cc9f0;
--link-hover: #f72585;
--accent: #868e96;
--border-color: #003566;
}
@media (prefers-color-scheme: dark) {
:root {
--foreground: #f1dac4;
--background: #011627;
--article-background-color: #2f184b;
--link-color: #4cc9f0;
--link-hover: #f72585;
--accent: #868e96;
--border-color: #003566;
}
}
* {
box-sizing: border-box;
}
- {
box-sizing: border-box;
}
html {
font-size: 16px;
font-size: 16px;
}
body {
font-family: 'Lato', sans-serif;
font-size: var(--font-size);
color: var(--foreground);
background: var(--background);
letter-spacing: 0.125rem;
font-family: 'Lato', sans-serif;
font-size: var(--font-size);
color: var(--foreground);
background: var(--background);
letter-spacing: 0.125rem;
}
header nav ul {
list-style-type: none;
margin: 0;
padding: 0;
list-style-type: none;
margin: 0;
padding: 0;
}
header nav li {
display: inline-block;
display: inline-block;
}
header nav li a {
display: block;
text-decoration: none;
margin-right: 1em;
display: block;
text-decoration: none;
margin-right: 1em;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'VC Honey Deck', serif;
margin: 1rem 0;
font-family: 'VC Honey Deck', serif;
margin: 1rem 0;
}
p, li {
line-height: 1.25rem;
line-height: 1.25rem;
}
header, main, footer {
max-width: 60em;
margin: 2em auto;
padding: 0 1em;
max-width: 60em;
margin: 2em auto;
padding: 0 1em;
}
header {
margin-top: 4em;
margin-top: 4em;
}
footer p {
margin-top: 5em;
font-size: 90%;
text-align: center;
margin-top: 5em;
font-size: 90%;
text-align: center;
}
a:link { color: var(--link-color); }
@ -102,83 +102,87 @@ a:hover { color: var(--link-hover); }
a:active { color: var(--link-color); }
.post-info, .post-tags {
font-size: 85%;
color: var(--accent);
text-align: right;
font-size: 85%;
color: var(--accent);
text-align: right;
}
.post-info i:nth-child(2) {
margin-left: .75em;
margin-left: .75em;
}
.tag {
background: var(--accent);
color: var(--background) !important;
padding: .3em .4em;
margin: .8em 0 0 .4em;
border-radius: .5em;
text-decoration: none;
display: inline-block;
background: var(--accent);
color: var(--background) !important;
padding: .3em .4em;
margin: .8em 0 0 .4em;
border-radius: .5em;
text-decoration: none;
display: inline-block;
}
hr {
border: 0;
height: 1px;
background: #333;
margin: 2em 0;
border: 0;
height: 1px;
background: #333;
margin: 2em 0;
}
code {
padding: .2em .3em;
border: 1px solid var(--accent);
white-space: pre-wrap;
word-wrap: break-word;
padding: .2em .3em;
border: 1px solid var(--accent);
white-space: pre-wrap;
word-wrap: break-word;
}
pre, code {
font-family: 'MD IO 0.4';
font-size: var(--font-size);
font-family: 'MD IO 0.4';
font-size: var(--font-size);
}
pre code {
background: #000;
color: #eee;
display: inline-block;
padding: 1em;
white-space: pre-wrap;
word-wrap: break-word;
background: #000;
color: #eee;
display: inline-block;
padding: 1em;
white-space: pre-wrap;
word-wrap: break-word;
}
img {
max-width: 100%;
max-width: 100%;
}
table {
border-collapse: collapse;
border-collapse: collapse;
}
td, th {
padding: .75em;
text-align: left;
border: 1px solid var(--accent);
padding: .75em;
text-align: left;
border: 1px solid var(--accent);
}
.weblog-title a {
text-decoration: none;
color: var(--foreground);
text-decoration: none;
color: var(--foreground);
}
main {
padding: 1em;
background-color: var(--article-background-color);
border-radius: 10px;
border: 2px solid var(--border-color);
padding: 1em;
background-color: var(--article-background-color);
border-radius: 10px;
border: 2px solid var(--border-color);
}
.fa-solid.fa-heart {
color: #c81d25;
color: #c81d25;
}
.pride-img {
margin: 0 auto;
}
</style>
</head>
<body>
@ -192,7 +196,7 @@ main {
{body}
<hr>
<img class="pride-img" src="https://cdn.some.pics/emma/67ce39c59db6f.svg" alt="a mashup of the transgender and bisexual pride flags. the two flags are flipped in the middle to form a heart shape of both" height="31px" width="88px">
</main>
<footer>