Skip to content

Instantly share code, notes, and snippets.

@RickCogley
Last active January 4, 2025 01:36
Show Gist options
  • Save RickCogley/3a0b4b0a02e0e26d24e042ae7bb8e43f to your computer and use it in GitHub Desktop.
Save RickCogley/3a0b4b0a02e0e26d24e042ae7bb8e43f to your computer and use it in GitHub Desktop.
Micro.blog design backup 202501
body {
font-family: var(--font_rounded_sans);
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--font_geometric_humanist);
}
h2 { color: #9f00ff;}
h3 { color: #6f00ff;}
h4 { color: #014421;}
p.description {
color: #a9a9a9;
}
article img, .e-content img, .p-summary img, .microblog_text img {
width: 100%;
height: auto;
border-radius: 5px;
}
.adaptive_photo_layout ul {
display: flex;
flex-wrap: wrap;
padding: 0;
list-style: none;
}
.adaptive_photo_layout li {
height: 40vh;
flex-grow: 1;
padding: 12px;
}
.adaptive_photo_layout span {
font-size: .7rem;
color: magenta;
}
table { border-collapse: collapse; }
td, th { border: 1px solid #333; padding: 0.2em; }
thead {
background-color: #333;
color: white;
font-size: 0.875rem;
text-transform: uppercase;
letter-spacing: 2%;
}
tbody tr:nth-child(odd) {
background-color: #fff;
}
tbody tr:nth-child(even) {
background-color: #eee;
}
/* Light Mode */
:root {
--text: #000000;
--link: #862e9c;
--link_visited: #ae3ec9;
--accent1: #0b7285;
--accent2: #1098ad;
--background: #ffffff;
--code: #e3e3e3;
--button-text: #ffffff;
--blockquote: #fffee0;
--note: #FFFF00;
}
/* Dark mode */
@media (prefers-color-scheme: dark) {
:root {
--text: #f8f8f2;
--link: #c5f6fa;
--link_visited: #c5f6fa;
--accent1: #f3d9fa;
--accent2: #f3d9fa;
--background: #282a36;
--code: #44475a;
--button-text: #282a36;
--blockquote: #44475a;
--note: #44475a;
}
td, th { border: 1px solid #f1f2f5; padding: 0.2em; }
tbody tr:nth-child(odd) {
background-color: #303341;
}
tbody tr:nth-child(even) {
background-color: #414458;
}
thead {
background-color: #f1f2f5;
color: #20212b;
font-size: 0.875rem;
text-transform: uppercase;
letter-spacing: 2%;
}
}
#omg_statuslog {
display: flex;
flex-direction: column;
gap: 20px;
font-size: 80%;
}
#omg_statuslog > div:nth-child(1) {
background: #862E9C;
border-radius: 11px;
color: white;
}
#omg_statuslog > div {
display: flex;
justify-content: space-between;
padding: 10px;
flex-direction: row;
flex-wrap: nowrap;
gap: 20px
}
#omg_statuslog .status_emoji {
font-size: 50px;
}
#omg_statuslog .status_content {
flex: 80%;
}
<header class="site-header">
<a href="/"><img src="{{ .Site.Author.avatar }}" alt="{{ .Site.Title }} Profile Photo" class="profile_photo u-photo" width="80" height="80"></a>
<h1><a class="site-title p-name u-url" href="/">{{ .Site.Title }}</a></h1>
<nav class="site-nav">
<ul>
{{ range .Site.Menus.main }}
{{ if .Page.Params.redirect_url }}
<li><a class="page-link {{ .Name }}" href="{{ .Page.Params.redirect_url }}">{{ .Name }}</a></li>
{{ else }}
<li><a class="page-link {{ .Name }}" href="{{ .URL | relLangURL | safeURL }}">{{ .Name }}</a></li>
{{ end }}
{{ end }}
</ul>
</nav>
<details>
<summary>
Subscribe...
</summary>
<p class="description"><small><em>{{ .Site.Params.itunes_description }}</em></small></p>
<div class="subscribe-form" style="border: 1px solid var(--link); padding: 20px 20px 20px 20px; border-radius: 5px; margin-bottom: 20px;">
<small>Subscribe via <a href="https://cogley.jp/feed.xml">RSS</a>, or get digest emails on Tuesdays (see <a href="https://cogley.jp/newsletters">past editions</a>):</small>
<form method="POST" action="https://micro.blog/users/subscribe/8053">
<fieldset><input type="text" name="email"placeholder="Your email address" /><input type="submit" value="Subscribe" /></fieldset>
</form>
</div>
</details>
</header>
# humanstxt.org/
# The humans responsible & technology colophon
/* TEAM */
Owner & Jack-of-all-trades: Rick Cogley
Contact: https://cogley.jp/about
Mastodon: @[email protected]
/* TECHNOLOGY */
Hosting and automation by: https://micro.blog
Static Site Generator: Hugo, https://gohugo.io/
Standards: HTML5, CSS3
Theme Design Repo: https://github.com/MattSLangford/Tiny-Theme-for-Micro.blog
Type faces: Geometric Humanist and Rounded Sans from Modern Font Stacks https://modernfontstacks.com/
DNS Hosting: Amazon AWS Route53, https://aws.amazon.com/route53/
Podcast Processing: Auphonic
/* SITE */
Updates: Frequent
Language: English (and a little Japanese)
Editing: Ulysses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment