Skip to content

Commit 947b10d

Browse files
Added warning
1 parent 255a9ec commit 947b10d

File tree

5 files changed

+76
-0
lines changed

5 files changed

+76
-0
lines changed

content/flags/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ date: 2026-02-08
88

99
Unlisted Thoughts has a particular interest in flags.
1010

11+
<div class="warning">
12+
BEWARE! Not all flags are safe for children. If you are the child of somewhere, consider if it is wise to look at flags that may depict violence, nudity, and profanity.
13+
</div>
14+
1115
<div class="pill-web-links">
1216
<a href="/flags/unlisted_flags/" class="pill-2">
1317
<img src="/images/flags/unlisted_flags/Flag_Grape.svg" alt="">

content/posts/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "Posts"
3+
featured_image: "images/posts_banner.jpg"
34
draft: false
45
date: 2026-02-08
56

i18n/en.toml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
[more]
2+
other = "More"
3+
4+
[allTitle]
5+
other = "All {{.Title }}"
6+
7+
[recentTitle]
8+
other = "Recent {{.Title }}"
9+
10+
[readMore]
11+
other = "read more"
12+
13+
[by]
14+
other = "By"
15+
16+
[whatsInThis]
17+
other = "What's in this {{ .Type }}"
18+
19+
[related]
20+
other = "Related"
21+
22+
[yourName]
23+
other = "Your Name"
24+
25+
[emailAddress]
26+
other = "Email Address"
27+
28+
[message]
29+
other = "Message"
30+
31+
[emailRequiredNote]
32+
other = "An email address is required."
33+
34+
[send]
35+
other = "Send"
36+
37+
[taxonomyPageList]
38+
other = "Below you will find pages that use the taxonomy term “{{ .Title }}”"
39+
40+
[readingTime]
41+
one = "One minute read"
42+
other = "{{ .Count }} minutes read"
43+
44+
[wordCount]
45+
one = "One word"
46+
other = "{{ .Count }} words"
47+
48+
[pageTitle]
49+
other = "{{ .Name }} page"

static/css/custom.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,28 @@ body.page-not-found .mw7 {
3434
max-width: 1000px !important;
3535
}
3636

37+
.warning {
38+
background: #FF3600; /* deep red */
39+
color: #000000; /* always white text */
40+
border-left: 6px solid #993300; /* accent stripe */
41+
padding: 1rem 1.2rem;
42+
margin: 1.2rem 0;
43+
border-radius: 8px;
44+
font-weight: 600;
45+
line-height: 1.4;
46+
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
47+
}
48+
49+
.warning::before {
50+
content: "⚠️";
51+
margin-right: 0.6rem;
52+
}
53+
54+
/* optional hover polish */
55+
.warning:hover {
56+
box-shadow: 0 6px 16px rgba(0,0,0,0.22);
57+
transition: 0.2s ease;
58+
}
3759

3860
/* ----------------------------- */
3961
/* ------------HOME------------- */

static/images/posts_banner.jpg

571 KB
Loading

0 commit comments

Comments
 (0)