summaryrefslogtreecommitdiff
path: root/styles.css
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-01-01 19:10:44 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-01-01 19:10:44 +0530
commitb096d8002b2fd8b3bcfd7a51022f8991bedd6a02 (patch)
treef0d2ea82537eab67ce90c64a5d7bb3c6114284fb /styles.css
Publish deploy 2020-01-01 19:10
Diffstat (limited to 'styles.css')
-rw-r--r--styles.css152
1 files changed, 152 insertions, 0 deletions
diff --git a/styles.css b/styles.css
new file mode 100644
index 0000000..0422af4
--- /dev/null
+++ b/styles.css
@@ -0,0 +1,152 @@
+/**
+* Publish Foundation theme
+* Copyright (c) John Sundell 2019
+* MIT license, see LICENSE file for details
+*/
+
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+
+body {
+ background: #fff;
+ color: #000;
+ font-family: Helvetica, Arial;
+ text-align: center;
+}
+
+.wrapper {
+ max-width: 900px;
+ margin-left: auto;
+ margin-right: auto;
+ padding: 40px;
+ text-align: left;
+}
+
+header {
+ background-color: #eee;
+}
+
+header .wrapper {
+ padding-top: 30px;
+ padding-bottom: 30px;
+ text-align: center;
+}
+
+header a {
+ text-decoration: none;
+}
+
+header .site-name {
+ font-size: 1.5em;
+ color: #000;
+ font-weight: bold;
+}
+
+nav {
+ margin-top: 20px;
+}
+
+nav li {
+ display: inline-block;
+}
+
+h1 {
+ margin-bottom: 20px;
+ font-size: 2em;
+}
+
+h2 {
+ margin: 20px 0;
+}
+
+p {
+ margin-bottom: 10px;
+}
+
+a {
+ color: inherit;
+}
+
+.description {
+ margin-bottom: 40px;
+}
+
+.item-list > li {
+ display: block;
+ padding: 20px;
+ border-radius: 20px;
+ background-color: #eee;
+}
+
+.item-list h1 {
+ margin-bottom: 15px;
+ font-size: 1.3em;
+}
+
+.item-list p {
+ margin-bottom: 0;
+}
+
+.tag-list {
+ margin-bottom: 15px;
+}
+
+.tag-list li,
+.tag {
+ display: inline-block;
+ background-color: #000;
+ color: #ddd;
+ padding: 4px 6px;
+ border-radius: 5px;
+ margin-right: 5px;
+}
+
+.tag-list a,
+.tag a {
+ text-decoration: none;
+}
+
+.item-page .tag-list {
+ display: inline-block;
+}
+
+.content {
+ margin-bottom: 40px;
+}
+
+.browse-all {
+ display: block;
+ margin-bottom: 30px;
+}
+
+.all-tags li {
+ font-size: 1.4em;
+ margin-right: 10px;
+ padding: 6px 10px;
+}
+
+footer {
+ color: #8a8a8a;
+}
+
+@media (prefers-color-scheme: dark) {
+ body {
+ background-color: #222;
+ }
+
+ body,
+ header .site-name {
+ color: #ddd;
+ }
+
+ .item-list > li {
+ background-color: #333;
+ }
+
+ header {
+ background-color: #000;
+ }
+}