aboutsummaryrefslogtreecommitdiff
path: root/dst/main.css
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.xyz>2023-03-04 19:16:42 +0100
committerAdam Stück <adam@adast.xyz>2023-03-04 19:16:42 +0100
commitab41be00ede879e57608d05044d268098fb820a3 (patch)
tree54705b0065c11b8d95b4d9ceb80f5a29bbd48710 /dst/main.css
parent80f69003909e1f4362cd1bd4289668fd60d65820 (diff)
Website redesign
Diffstat (limited to 'dst/main.css')
-rw-r--r--dst/main.css90
1 files changed, 90 insertions, 0 deletions
diff --git a/dst/main.css b/dst/main.css
new file mode 100644
index 0000000..4d89bb6
--- /dev/null
+++ b/dst/main.css
@@ -0,0 +1,90 @@
+* {
+ box-sizing: border-box;
+}
+body {
+ font-family: sans-serif;
+ line-height: 1.45;
+ margin: 0 auto;
+ max-width: 45rem;
+ padding: 0 15px;
+}
+hr {
+ background-color: grey;
+ border: 0;
+ height: 1px;
+ margin: 2rem 0;
+}
+nav {
+ margin: 2rem 0 0;
+}
+main p {
+ margin: 1rem;
+}
+h1,h2,h3,h4 {
+ margin: 2rem 0 0;
+}
+h1 {
+ margin-bottom: 0.5rem;
+}
+h1 + p {
+ margin: 0 0 1rem;
+}
+span.created {
+ display: block;
+ margin: 4px 15px;
+}
+img {
+ border: 1px solid lightgrey;
+ height: auto;
+ max-width: 100%;
+ width: auto;
+}
+blockquote {
+ background-color: linen;
+ border-left: 4px solid lightcoral;
+ margin: 2rem 0;
+ padding: 10px;
+}
+blockquote p {
+ margin: 0;
+}
+figure {
+ margin: 2rem 0;
+}
+figcaption {
+ color: slategrey;
+}
+code {
+ background: #eee;
+ padding: 0.3rem;
+ tab-size: 4;
+}
+pre {
+ background: #eee;
+}
+pre code {
+ background: none;
+ display: block;
+ overflow-x: auto;
+ padding: 0.3rem 0.6rem;
+}
+table {
+ border-collapse: collapse;
+ margin: 2rem 0;
+ text-align: left;
+ width: 100%;
+}
+tr {
+ border-bottom: 1px solid lightgrey;
+}
+tr:nth-of-type(odd) td {
+ background-color: #f8f8f8;
+}
+th,td {
+ padding: 6px;
+}
+footer {
+ border-top: 1px dashed grey;
+ margin: 2rem 0;
+ padding: 1rem 15px;
+}