Margins bad
This commit is contained in:
parent
815be44bdf
commit
9ccb9e8c99
@ -7,4 +7,3 @@ draft: false
|
||||
**Wiki Cafe** is a [**co-op**](pages/co-op) \
|
||||
that provides [**fedwiki hosting**](pages/fedwiki_service) \
|
||||
and [**wiki education**](pages/wiki_education) services.
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
title: 'Federated_wiki'
|
||||
title: 'Federated Wiki'
|
||||
date: '2025-03-20T05:19:15Z'
|
||||
draft: true
|
||||
---
|
||||
|
||||
Federated Wiki, or Fedwiki, is a tool for managing knowledge in a collaborative but decentralized way.
|
||||
Federated Wiki, or Fedwiki, is a tool for managing knowledge in a collaborative but decentralized way.
|
||||
|
@ -1,60 +1,64 @@
|
||||
/* TODO: Implement a dark mode */
|
||||
/* :root {
|
||||
color-scheme: light dark;
|
||||
|
||||
} */
|
||||
:root {
|
||||
/* Consider dark mode implementation later */
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
body {
|
||||
color: oklch(0.145 0 0);
|
||||
line-height: 1.5;
|
||||
font-family: "RecVar", Helvetica, Arial, sans-serif;
|
||||
max-width: 64rem;
|
||||
margin: 0 auto;
|
||||
padding: 2rem;
|
||||
background-color: oklch(0.97 0 0);
|
||||
transition: background-color 0.2s ease;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem; /* gap replaces margin between sections */
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
padding-bottom: 0.5rem; /* padding replaces margin-bottom */
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 3rem;
|
||||
line-height: 1.2rem;
|
||||
margin-bottom: 0.5rem;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 2.5rem;
|
||||
line-height: 1.3rem;
|
||||
margin-bottom: 0.5rem;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 2rem;
|
||||
line-height: 1.4rem;
|
||||
margin-bottom: 0.5rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.5rem;
|
||||
line-height: 1.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1.25rem;
|
||||
line-height: 1.6rem;
|
||||
margin-bottom: 0.5rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1rem;
|
||||
line-height: 1.7rem;
|
||||
margin-bottom: 0.5rem;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1rem;
|
||||
line-height: 2;
|
||||
padding-block: 0.5rem;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #00e;
|
||||
text-decoration: underline transparent;
|
||||
/* transition: text-decoration-color 0.2s ease; */
|
||||
}
|
||||
a:hover {
|
||||
text-decoration-color: #00e;
|
||||
@ -80,19 +84,17 @@ a:visited:focus-visible {
|
||||
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 oklch(0.145 0 0) solid;
|
||||
margin: 0;
|
||||
padding: 0.5rem 0 0.5rem 1rem;
|
||||
background-color: oklch(0.145 0 0);
|
||||
border-left: 2px solid oklch(0.145 0 0);
|
||||
padding: 0.5rem 1rem;
|
||||
background-color: oklch(0.9 0 0);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
code {
|
||||
font-variation-settings: "MONO" 1;
|
||||
background-color: #f3f3f3;
|
||||
background-color: oklch(0.922 0 0);
|
||||
padding: 0.1em 0.3em;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 1px 2px oklch(0.145 0 0);
|
||||
@ -100,30 +102,29 @@ code {
|
||||
|
||||
header {
|
||||
border-bottom: 1px solid oklch(0.145 0 0);
|
||||
margin-bottom: 2rem;
|
||||
padding-bottom: 0.5rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: end;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.header-left {
|
||||
justify-content: start;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.header-right {
|
||||
justify-content: end;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
footer {
|
||||
border-top: 1px solid oklch(0.145 0 0);
|
||||
margin-top: 2rem;
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
/* Media queries for responsiveness */
|
||||
/* Responsive adjustments using padding */
|
||||
@media (max-width: 768px) {
|
||||
body {
|
||||
padding: 1rem;
|
||||
gap: 1rem; /* Adjust gap accordingly */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
{{ range site.RegularPages }}
|
||||
<!-- {{ range site.RegularPages }}
|
||||
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
|
||||
{{ .Summary }}
|
||||
{{ end }}
|
||||
{{ end }} -->
|
||||
{{ end }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user