Add Wiki Cafe title and update styles in README, CSS, and configuration files

This commit is contained in:
Christian Galo 2025-03-17 02:58:55 -05:00
parent 1fe8461a09
commit 1a03c47021
5 changed files with 122 additions and 40 deletions

11
README Normal file
View File

@ -0,0 +1,11 @@
# Wiki Cafe Site
This is the source code for https://wiki.cafe.
## Reference
Serve Hugo site with Docker
```
docker run --rm -v $(pwd):/src -p 1313:1313 hugomods/hugo:base-non-root-0.145.0 server -D
```

View File

@ -1,9 +1,10 @@
---
title: ""
title: "Wiki Cafe"
date: 2025-03-14T04:59:59Z
draft: true
---
**Wiki Cafe** is a [**co-op**](pages/co-op) \
that provides [**fedwiki hosting**](pages/fedwiki_service) \
and [**wiki education**](pages/wiki_education) services.
and [**wiki education**](pages/wiki_education) services.

View File

@ -1,4 +1,4 @@
baseURL: https://wiki.cafe
languageCode: en-us
title: Wiki cafe
title: Wiki Cafe
theme: wikidarity

View File

@ -1,48 +1,118 @@
body {
color: #222;
line-height: 1.5;
font-family: "RecVar";
font-family: "RecVar", Helvetica, Arial, sans-serif;
max-width: 64rem;
margin: 2rem;
margin: 0 auto;
padding: 2rem;
background-color: hsl(0, 0%, 90%);
transition: background-color 0.2s ease;
}
h1 {
font-size: 3rem;
line-height: 1.2rem;
margin-bottom: 0.5rem;
}
h2 {
font-size: 2.5rem;
line-height: 1.3rem;
margin-bottom: 0.5rem;
}
h3 {
font-size: 2rem;
line-height: 1.4rem;
margin-bottom: 0.5rem;
}
h4 {
font-size: 1.5rem;
line-height: 1.5rem;
margin-bottom: 0.5rem;
}
h5 {
font-size: 1.25rem;
line-height: 1.6rem;
margin-bottom: 0.5rem;
}
h6 {
font-size: 1rem;
line-height: 1.7rem;
margin-bottom: 0.5rem;
}
p {
font-size: 32px;
font-size: 1rem;
line-height: 2;
}
.intro {
margin: 2rem 0 4rem 0;
}
.intro p, .intro blockquote, .intro li {
font-size: 16px;
line-height: 1.5;
max-width: 80ch;
font-variation-settings:"MONO" 0;
margin-bottom: 1rem;
}
blockquote{
border-left: 1px black solid;
margin: 0;
padding-left: 1rem;
}
code {
font-family: "RecVar";
font-variation-settings:"MONO" 1;
background-color: #eee;
padding: 0 0.05em;
}
header {
border-bottom: 1px solid #222;
margin-bottom: 1rem;
}
footer {
border-top: 1px solid #222;
margin-top: 1rem;
}
a {
color: #00e;
text-decoration: none;
text-decoration: underline transparent;
/* transition: text-decoration-color 0.2s ease; */
}
a:hover {
text-decoration-color: #00e;
}
a:focus {
text-decoration-color: #00e;
outline: 2px solid #00e;
outline-offset: 2px;
}
a:focus-visible {
text-decoration-color: #00e;
outline: 2px solid #00e;
outline-offset: 2px;
}
a:visited {
color: #551a8b;
}
a:visited:hover {
text-decoration-color: #551a8b;
}
a:visited:focus {
text-decoration-color: #551a8b;
outline: 2px solid #551a8b;
outline-offset: 2px;
}
a:visited:focus-visible {
text-decoration-color: #551a8b;
outline: 2px solid #551a8b;
outline-offset: 2px;
}
/* TODO: Read this: https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible*/
blockquote {
border-left: 2px #222 solid;
margin: 0;
padding: 0.5rem 0 0.5rem 1rem;
background-color: rgba(0, 0, 0, 0.02);
border-radius: 3px;
}
code {
font-variation-settings: "MONO" 1;
background-color: #f3f3f3;
padding: 0.1em 0.3em;
border-radius: 3px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
header {
border-bottom: 1px solid #222;
margin-bottom: 2rem;
padding-bottom: 0.5rem;
}
footer {
border-top: 1px solid #222;
margin-top: 2rem;
padding-top: 0.5rem;
}
/* Media queries for responsiveness */
@media (max-width: 768px) {
body {
padding: 1rem;
}
}

View File

@ -2,4 +2,4 @@
<meta name="viewport" content="width=device-width">
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
{{ partialCached "head/css.html" . }}
{{ partialCached "head/js.html" . }}
{{ partialCached "head/js.html" . }}