summaryrefslogtreecommitdiff
path: root/styles.css
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-01-14 23:03:43 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-01-14 23:03:43 +0530
commit81ae1cfaf44f9f188e35936a660e82a4e9af238e (patch)
tree81e272000149357b93b8f0e7af809375979642af /styles.css
parent562c929cd8b75d08d8ca368e0400c70188cd35a4 (diff)
Publish deploy 2020-01-14 23:03
Diffstat (limited to 'styles.css')
-rw-r--r--styles.css85
1 files changed, 68 insertions, 17 deletions
diff --git a/styles.css b/styles.css
index 700a0de..2e40e4d 100644
--- a/styles.css
+++ b/styles.css
@@ -1,10 +1,3 @@
-//
-// File.swift
-//
-//
-// Created by Navan Chauhan on 04/01/20.
-//
-
* {
margin: 0;
padding: 0;
@@ -14,7 +7,7 @@
body {
background: #fff;
color: #000;
- font-family: -apple-system, BlinkMacSystemFont; /*,Helvetica, Arial;*/
+ font-family: -apple-system, BlinkMacSystemFont, Helvetica, Arial;
text-align: center;
}
@@ -27,7 +20,13 @@ body {
}
header {
- background-color: #eee;
+ background: #ededed;
+ margin-bottom: 0em;
+ padding-bottom: 2em;
+ left: 0px;
+ top: 0px;
+ height: 8em;
+ width: 100%;
}
/*
@@ -44,7 +43,7 @@ header {
header .wrapper {
padding-top: 30px;
padding-bottom: 30px;
- text-align: center;
+ text-align: left;
}
header a {
@@ -52,13 +51,17 @@ header a {
}
header .site-name {
- font-size: 1.5em;
color: #000;
- font-weight: bold;
+ margin: 0;
+ cursor: pointer;
+ font-weight: 200;
+ font-size: 2em;
+ letter-spacing: 1px;
}
nav {
- margin-top: 20px;
+ margin-top: 0.5em;
+ text-align: right;
}
nav li {
@@ -69,6 +72,7 @@ nav li {
border-radius: 5px;
margin-right: 5px;
}
+
nav li:hover {
color: #000;
background-color: #ddd;
@@ -88,10 +92,11 @@ p {
a {
color: inherit;
+
}
.description {
- margin-bottom: 40px;
+ margin-bottom: 20px;
}
.item-list > li {
@@ -99,19 +104,37 @@ a {
padding: 20px;
border-radius: 20px;
background-color: #eee;
+ margin-bottom: 20px
+}
+
+.item-list > li:last-child {
+ margin-bottom: 0;
}
.item-list h1 {
margin-bottom: 15px;
font-size: 1.3em;
}
-
+.item-list a {
+ text-decoration: none;
+}
+
.item-list p {
margin-bottom: 0;
}
+.reading-time {
+ display: inline-block;
+ border-radius: 5px;
+ background-color: #ddd;
+ color: #000;
+ padding: 4px 4px;
+ margin-bottom: 5px;
+
+}
+
.tag-list {
- margin-bottom: 15px;
+ margin-bottom: 5px; /* 15px */
}
.tag-list li,
@@ -148,11 +171,35 @@ a {
padding: 6px 10px;
}
+img {
+ max-width: 100%;
+ width: auto\9;
+ height: auto;
+ vertical-align: middle;
+ border: 0;
+ -ms-interpolation-mode: bicubic;
+}
+
footer {
- color: #8a8a8a;
+ color: #000;
+}
+
+pre {
+ overflow-x: auto;
+ font-family: Monaco,Consolas,"Lucida Console",monospace;
+ display: block;
+ margin-bottom: 1em;
+ background: #333;/*#263238;*/
+ color: #eee; /*#eff;*/
+ line-height: 1.8;
+ border-radius: 4px;
}
@media (prefers-color-scheme: dark) {
+ .reading-time {
+ background-color: #000;
+ color: #ddd;
+ }
body {
background-color: #222;
}
@@ -178,4 +225,8 @@ footer {
header {
background-color: #000;
}
+ footer {
+ color: #ddd;
+ }
}
+