about summary refs log tree commit diff stats
path: root/themes/bear/templates/style.html
diff options
context:
space:
mode:
authorAlan Pearce2023-05-18 20:57:35 +0200
committerAlan Pearce2023-05-18 20:57:35 +0200
commitc8ec9d9ca2557a00559b4823d9b5bfd2faeb5775 (patch)
treef46299e4eb99f097caa6a93a9c904778cfae51a7 /themes/bear/templates/style.html
parentb0511b71c29c88acb99df245547a52bcce6b10bd (diff)
parentfe37fcf3daa0eaafc1236050ac95b5d4ba21bcd2 (diff)
downloadwebsite-c8ec9d9ca2557a00559b4823d9b5bfd2faeb5775.tar.lz
website-c8ec9d9ca2557a00559b4823d9b5bfd2faeb5775.tar.zst
website-c8ec9d9ca2557a00559b4823d9b5bfd2faeb5775.zip
Add 'themes/bear/' from commit 'fe37fcf3daa0eaafc1236050ac95b5d4ba21bcd2'
git-subtree-dir: themes/bear
git-subtree-mainline: b0511b71c29c88acb99df245547a52bcce6b10bd
git-subtree-split: fe37fcf3daa0eaafc1236050ac95b5d4ba21bcd2
Diffstat (limited to 'themes/bear/templates/style.html')
-rw-r--r--themes/bear/templates/style.html172
1 files changed, 172 insertions, 0 deletions
diff --git a/themes/bear/templates/style.html b/themes/bear/templates/style.html
new file mode 100644
index 0000000..4744695
--- /dev/null
+++ b/themes/bear/templates/style.html
@@ -0,0 +1,172 @@
+<style>
+  body {
+    font-family: Verdana, sans-serif;
+    margin: auto;
+    padding: 20px;
+    max-width: 720px;
+    text-align: left;
+    background-color: #fff;
+    word-wrap: break-word;
+    overflow-wrap: break-word;
+    line-height: 1.5;
+    color: #444;
+  }
+
+  h1,
+  h2,
+  h3,
+  h4,
+  h5,
+  h6,
+  strong,
+  b {
+    color: #222;
+  }
+
+  a {
+    color: #3273dc;
+  }
+
+  .title {
+    text-decoration: none;
+    border: 0;
+  }
+
+  .title span {
+    font-weight: 400;
+  }
+
+  nav a {
+    margin-right: 10px;
+  }
+
+  textarea {
+    width: 100%;
+    font-size: 1rem;
+  }
+
+  input {
+    font-size: 1rem;
+  }
+
+  main,article {
+    line-height: 1.6;
+  }
+
+  table {
+    width: 100%;
+  }
+
+  img {
+    max-width: 100%;
+  }
+
+  code {
+    padding: 2px 5px;
+    background-color: #f2f2f2;
+  }
+
+  pre code {
+    color: #222;
+    display: block;
+    padding: 20px;
+    white-space: pre-wrap;
+    font-size: 0.875rem;
+    overflow-x: auto;
+  }
+
+  div.highlight pre {
+    background-color: initial;
+    color: initial;
+  }
+
+  div.highlight code {
+    background-color: unset;
+    color: unset;
+  }
+
+  blockquote {
+    border-left: 1px solid #999;
+    color: #222;
+    padding-left: 20px;
+    font-style: italic;
+  }
+
+  footer {
+    padding: 25px;
+    text-align: center;
+  }
+
+  .helptext {
+    color: #777;
+    font-size: small;
+  }
+
+  .errorlist {
+    color: #eba613;
+    font-size: small;
+  }
+
+  /* blog posts */
+  ul.blog-posts {
+    list-style-type: none;
+    padding: unset;
+  }
+
+  ul.blog-posts li {
+    display: flex;
+  }
+
+  ul.blog-posts li span {
+    flex: 0 0 130px;
+  }
+
+  ul.blog-posts li a:visited {
+    color: #8b6fcb;
+  }
+
+  @media (prefers-color-scheme: dark) {
+    body {
+      background-color: #333;
+      color: #ddd;
+    }
+
+    h1,
+    h2,
+    h3,
+    h4,
+    h5,
+    h6,
+    strong,
+    b {
+      color: #eee;
+    }
+
+    a {
+      color: #8cc2dd;
+    }
+
+    code {
+      background-color: #777;
+    }
+
+    pre code {
+      color: #ddd;
+    }
+
+    blockquote {
+      color: #ccc;
+    }
+
+    textarea,
+    input {
+      background-color: #252525;
+      color: #ddd;
+    }
+
+    .helptext {
+      color: #aaa;
+    }
+  }
+
+</style>