summaryrefslogtreecommitdiff
path: root/content/assets
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-06-21 01:02:36 -0400
committerbd <bdunahu@operationnull.com>2025-06-21 01:02:36 -0400
commit2dc334e3cb8932be07c9c7a03d10c93d0a5d9a6c (patch)
treec6b388a145da1bf93656f1cac125cf93af79309a /content/assets
parent8a9b2586b29da0c8e6944f6813c5834d65645f7d (diff)
Partial rework of theme+css
Diffstat (limited to 'content/assets')
-rw-r--r--content/assets/raven.pngbin41709 -> 5178 bytes
-rw-r--r--content/assets/site.css77
2 files changed, 51 insertions, 26 deletions
diff --git a/content/assets/raven.png b/content/assets/raven.png
index f103375..6366d8a 100644
--- a/content/assets/raven.png
+++ b/content/assets/raven.png
Binary files differ
diff --git a/content/assets/site.css b/content/assets/site.css
index accc03f..b5632ed 100644
--- a/content/assets/site.css
+++ b/content/assets/site.css
@@ -1,17 +1,42 @@
+html {
+ background: url(background.jpg) no-repeat center center fixed;
+ -webkit-background-size: cover;
+ -moz-background-size: cover;
+ -o-background-size: cover;
+ background-size: cover;
+}
+
+.container {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ height: 100%;
+ width: 100%;
+ margin: 40px auto;
+}
+
body {
+ margin: 0;
font-family: 'Open Sans', Helvetica, sans-serif;
line-height: 1.5;
font-size: 18px;
- background: #000;
color: #aaaabb;
- margin: 0;
- border-top: 3px solid #4101dc;
}
-@media (max-width: 799px) {
- body {
- padding: 15px;
- font-size: .95em;
+body intro,
+body article,
+body footer {
+ background: rgba(0, 0, 0, 0.6);
+ margin: 2px 0;
+ width: 100%;
+ padding: 20px;
+ border-radius: 8px;
+ box-sizing: border-box;
+}
+
+@media (min-width: 800px) {
+ .container {
+ width: calc(100% - 480px); /* 240px each side */
}
}
@@ -108,6 +133,8 @@ body li {
body img {
border: 1px solid #ccc;
height: auto;
+ width: auto;
+ flex: 0 0 auto;
}
@media (max-width: 800px) {
@@ -133,33 +160,40 @@ blockquote {
/* Header */
intro {
+ display: grid;
+ grid-template-columns: 1fr 2fr;
color: #BBB;
- text-align: center;
+ gap: 10px;
}
intro h1 {
- font-size: 42px;
+ font-size: 32px;
font-weight: bold;
line-height: 1em;
- margin: .3em;
- padding: 0;
+ margin: 0;
}
intro p {
color: #aaa;
font-size: 14px !important;
- text-align: center;
+ margin: 0;
}
intro img {
+ max-height: 100%;
+ width: auto;
border-radius: 100%;
- width: 100px;
}
+/* text is like this: */
+/* display: flex; flex-direction: column; margin-left: 10px; text-align: left; */
+
+/* img wrapper like this: */
+/* contain: size; justify-self: end; */
+
nav {
- text-align: center;
- margin-top: 30px;
- border-bottom: 1px solid #e2e2e2;
+ flex: 0 0 auto;
+ text-align: left;
font-size: 12px;
}
@@ -196,23 +230,14 @@ nav a:visited {
/* Footer */
-@media (min-width: 800px) {
- body article,
- body footer {
- margin: 0 auto;
- max-width: 700px !important;
- width: 700px !important;
- }
-}
-
footer {
+ flex: 0 0 auto;
font-size: 0.8em;
line-height: 1.8em;
margin-top: 50px;
text-align: center;
color: #aaa;
padding: 15px 0;
- border-top: 1px solid #e2e2e2;
}
.fade-text {