aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/style.css
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2025-09-11 13:39:00 -0400
committerBradley Taunt <bt@btxx.org>2025-09-11 13:39:00 -0400
commit8ae182a4c287b45138836370b258cfcba19c0810 (patch)
tree011efe97b5ce3a7ef120c92d2595783416b13174 /public/style.css
parentc749e3270a2f899dbc0a4f4b00881f8b55725ae5 (diff)
Ongoing changes, style updates, draft, rework some pages
Diffstat (limited to 'public/style.css')
-rw-r--r--public/style.css275
1 files changed, 113 insertions, 162 deletions
diff --git a/public/style.css b/public/style.css
index fc34ff1..2030bee 100644
--- a/public/style.css
+++ b/public/style.css
@@ -1,218 +1,169 @@
-* {
- box-sizing: border-box;
-}
+*{box-sizing:border-box;}
body {
- font-family: Arial, Verdana, sans-serif;
- line-height: 1.4;
+ background: #f2f2f2;
+ font-family: serif;
margin: 0 auto;
- max-width: 780px;
- padding: 0 1em;
-}
-
-h1 {
- line-height: 1.2;
- margin-bottom: 10px !important;
- margin-top: 0 !important;
-}
-h1 + p {
- margin-top: 0;
-}
-
-h2 {
- border-bottom: 1px solid #ddd;
- font-weight: normal;
-}
-h3 {
- border-bottom: 1px solid #ddd;
-}
-h1,h2,h3,h4,h5,h6 {
- font-family: Trebuchet MS, Verdana, sans-serif;
- margin: 2.5rem 0 0;
-}
-
-a {
- color:#00e;
-}
-a:visited {
- color: #518;
-}
-a:hover, a:focus {
- color: #03f;
+ max-width: 680px;
+ padding: 0 10px;
+ width: 100%;
}
-.flr {
- float: right;
- padding: 0 0 8px 8px;
-}
-
-.w-100 {
- max-width: 100px;
-}
-
-header {
- border-bottom: 1px solid;
- font-size: 95%;
- margin: 1rem 0;
-}
-nav ul {
+header nav ul {
list-style: none;
+ font-family: sans-serif;
+ margin: 10px 0 0 0;
padding: 0;
}
-nav ul li {
+header nav ul li {
display: inline-block;
- margin: 0 15px 0 0;
+ margin: 0 10px 10px 0;
}
-
-.posts {
- padding: 0 0 0 18px;
-}
-.posts li {
- margin: 0 0 10px;
-}
-.posts li span {
+header nav a {
+ background: white;
+ border: 1px solid;
+ color: black;
+ cursor: pointer;
display: block;
- font-size: 85%;
+ padding: 6px;
+}
+li.more {
+ display: none;
}
-.alert {
+main {
+ background: white;
border: 1px solid;
+ margin: 0;
+ padding: 0 15px;
+}
+main p {
+ text-align: justify;
+}
+
+h1,h2,h3,h4,h5,h6 {
font-family: sans-serif;
- margin: 10px 0;
- padding: 8px;
}
-.alert span > b {
- display: block;
+h1 {
border-bottom: 1px solid;
- margin-bottom: 10px;
+ line-height: 1.25;
+ margin: 15px 0 0 0;
}
-.alert.note {
- background: aliceblue;
- border-color: darkslateblue;
- color: darkslateblue;
+
+h1#posts ~ ul {
+ list-style: none;
+ padding-left: 0;
}
-.alert.warning {
- background: lightgoldenrodyellow;
- border-color: darkgoldenrod;
- color: darkgoldenrod;
+h1#posts ~ ul li a {
+ display: block;
+ margin-bottom: 15px;
}
-p code, ul code, ol code, blockquote code {
- background: #f1f1f1;
- padding: 2px;
+h2{
+ border-bottom: 1px solid lightgrey;
+ font-size: 18px;
+ margin: 2rem 0 0;
}
-#markdown-toc {
- background: #f8f9fa;
- padding: 10px 10px 10px 40px;
- position: relative;
-}
-#markdown-toc::before {
- border-bottom: 1px solid #ddd;
- content: "Table of Contents";
- display: block;
- font-size: 24px;
- margin: 0 0 10px -30px;
+h3 {
+ font-size: 16px;
}
-pre {
- background: #f1f1f1;
- overflow: auto;
- padding: 8px;
-}
-pre:has(code.language-diagram) {
- background: none;
+dd {
+ margin-bottom: 10px;
}
+img{height:auto;max-width:100%;}
+
blockquote {
- border-left: 4px solid;
color: brown;
font-style: italic;
- margin: 1rem 0;
- padding: 0 0 0 8px;
}
-img {
- height: auto;
- max-width: 100%;
+figure { margin: 2.5rem auto; }
+figure img { display: block; margin: 0 auto 10px; }
+figcaption { text-align: center; }
+
+pre, p code, li code { font-size: 14px; }
+
+pre {
+ background: #f2f2f2;
+ padding: 6px;
+ overflow: auto;
}
table {
- border-collapse: collapse;
- margin: 2em 0;
- text-align: left;
- width: 100%;
+ border-collapse: collapse;
+ margin: 2rem 0;
+ text-align: left;
+ width: 100%;
}
table caption {
- border-bottom: 1px solid;
- font-size: 120%;
- text-align: left;
+ background: #f2f2f2;
+ padding: 4px;
}
-table th, table td {
- padding: 4px;
+table tr {
+ border-bottom: 1px solid;
}
-table tr:nth-of-type(even) {
- background: #f1f1f1;
+table td, table th {
+ padding: 4px;
}
-figure {
- margin: 3rem 0;
-}
-figure img {
- display: block;
- margin: 0 auto;
- padding: 4px;
-}
-figure figcaption {
- font-size: 90%;
- font-style: italic;
- padding: 8px;
- text-align: center;
+footer {
+ padding: 0 10px;
+ margin: 1rem 0 2rem;
}
.footnotes {
- border-top: 1px solid;
font-size: 90%;
- margin: 20px 0 10px;
- padding: 10px 0;
+ margin-top: 2rem;
}
-footer {
- border-top: 1px dotted;
- margin: 4rem 0 2rem;
- padding: 2rem 0;
- position: relative;
+.footer-nav {
+ display: none;
}
-footer > p {
- margin-top: 0;
+
+.w-100 {
+ max-width: 100px;
}
-@media (prefers-color-scheme: dark) {
- a {
- color: #9bf;
- }
- a:visited {
- color: #a9f;
- }
- a:hover, a:focus {
- color: #9cf;
- }
- pre {
- background: black;
+@media(max-width: 600px) {
+ body {
+ padding: 10px;
}
- p code, ul code, ol code, blockquote code {
- background: black;
+ header nav ul {
+ margin: 0;
}
- table tr:nth-of-type(even) {
- background: black;
+ header nav ul li:nth-of-type(4),
+ header nav ul li:nth-of-type(5),
+ header nav ul li:nth-of-type(6),
+ header nav ul li:nth-of-type(7),
+ header nav ul li:nth-of-type(8) {
+ display: none;
}
- #markdown-toc {
- background: black;
+ li.more {
+ display: inline-block;
}
- #markdown-toc::before {
- border-bottom: 1px solid #ddd;
- }
- blockquote {
- color: lightgoldenrodyellow;
+ .footer-nav {
+ display: block;
}
}
+
+@media(prefers-color-scheme: dark) {
+ body {
+ background-color: black;
+ }
+ header nav a {
+ background: black;
+ color: white;
+ }
+ main {
+ background: #1d1d1d;
+ }
+ pre {
+ background: black;
+ }
+ blockquote {
+ color: lightgoldenrodyellow;
+ }
+}