From aaa2da4e22be420891a00bb1b33bdfc431db80bd Mon Sep 17 00:00:00 2001
From: Indrajith K L
Date: Fri, 30 Sep 2022 18:19:17 +0530
Subject: Theming: IN-PROGRESS
---
src/_includes/assets/css/styles.css | 440 +++++++++++++++++++++++++++++++++---
src/_includes/intro.njk | 2 +-
src/_includes/partials/footer.njk | 15 +-
src/_includes/partials/head.njk | 3 +-
src/_includes/partials/header.njk | 24 +-
src/_includes/posts.njk | 14 +-
6 files changed, 437 insertions(+), 61 deletions(-)
(limited to 'src/_includes')
diff --git a/src/_includes/assets/css/styles.css b/src/_includes/assets/css/styles.css
index 3598a25..cb44d57 100644
--- a/src/_includes/assets/css/styles.css
+++ b/src/_includes/assets/css/styles.css
@@ -770,6 +770,14 @@ select {
visibility: visible;
}
+.invisible {
+ visibility: hidden;
+}
+
+.fixed {
+ position: fixed;
+}
+
.absolute {
position: absolute;
}
@@ -782,6 +790,22 @@ select {
right: 0px;
}
+.bottom-0 {
+ bottom: 0px;
+}
+
+.top-0 {
+ top: 0px;
+}
+
+.left-0 {
+ left: 0px;
+}
+
+.z-50 {
+ z-index: 50;
+}
+
.col-span-3 {
grid-column: span 3 / span 3;
}
@@ -794,10 +818,18 @@ select {
float: right;
}
+.float-left {
+ float: left;
+}
+
.m-4 {
margin: 1rem;
}
+.m-0 {
+ margin: 0px;
+}
+
.-my-8 {
margin-top: -2rem;
margin-bottom: -2rem;
@@ -823,6 +855,11 @@ select {
margin-bottom: 1rem;
}
+.-my-5 {
+ margin-top: -1.25rem;
+ margin-bottom: -1.25rem;
+}
+
.mt-10 {
margin-top: 2.5rem;
}
@@ -851,6 +888,10 @@ select {
margin-bottom: 1.25rem;
}
+.mt-5 {
+ margin-top: 1.25rem;
+}
+
.mt-auto {
margin-top: auto;
}
@@ -859,10 +900,6 @@ select {
margin-left: auto;
}
-.mt-5 {
- margin-top: 1.25rem;
-}
-
.mt-1 {
margin-top: 0.25rem;
}
@@ -871,22 +908,78 @@ select {
margin-top: 0.5rem;
}
-.ml-0 {
- margin-left: 0px;
+.-ml-1 {
+ margin-left: -0.25rem;
}
-.mr-0 {
- margin-right: 0px;
+.mr-3 {
+ margin-right: 0.75rem;
+}
+
+.mt-0\.5 {
+ margin-top: 0.125rem;
+}
+
+.ml-4 {
+ margin-left: 1rem;
+}
+
+.mb-6 {
+ margin-bottom: 1.5rem;
}
.mt-0 {
margin-top: 0px;
}
+.mb-1\.5 {
+ margin-bottom: 0.375rem;
+}
+
+.mb-1 {
+ margin-bottom: 0.25rem;
+}
+
+.mb-3 {
+ margin-bottom: 0.75rem;
+}
+
+.mr-1 {
+ margin-right: 0.25rem;
+}
+
+.mb-0 {
+ margin-bottom: 0px;
+}
+
+.-mr-2 {
+ margin-right: -0.5rem;
+}
+
+.mt-4 {
+ margin-top: 1rem;
+}
+
+.ml-2 {
+ margin-left: 0.5rem;
+}
+
+.ml-0 {
+ margin-left: 0px;
+}
+
+.mr-0 {
+ margin-right: 0px;
+}
+
.mt-8 {
margin-top: 2rem;
}
+.box-content {
+ box-sizing: content-box;
+}
+
.block {
display: block;
}
@@ -927,6 +1020,14 @@ select {
height: 12rem;
}
+.h-2 {
+ height: 0.5rem;
+}
+
+.h-4 {
+ height: 1rem;
+}
+
.h-12 {
height: 3rem;
}
@@ -935,18 +1036,48 @@ select {
height: 100%;
}
+.h-1 {
+ height: 0.25rem;
+}
+
+.max-h-full {
+ max-height: 100%;
+}
+
.w-full {
width: 100%;
}
+.w-2 {
+ width: 0.5rem;
+}
+
+.w-96 {
+ width: 24rem;
+}
+
+.w-4 {
+ width: 1rem;
+}
+
.w-12 {
width: 3rem;
}
+.min-w-max {
+ min-width: -webkit-max-content;
+ min-width: -moz-max-content;
+ min-width: max-content;
+}
+
.max-w-5xl {
max-width: 64rem;
}
+.max-w-full {
+ max-width: 100%;
+}
+
.max-w-md {
max-width: 28rem;
}
@@ -971,6 +1102,10 @@ select {
flex-shrink: 1;
}
+.flex-grow {
+ flex-grow: 1;
+}
+
.border-collapse {
border-collapse: collapse;
}
@@ -991,6 +1126,10 @@ select {
resize: both;
}
+.list-none {
+ list-style-type: none;
+}
+
.grid-cols-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
@@ -1031,14 +1170,18 @@ select {
gap: 0.75rem;
}
-.gap-10 {
- gap: 2.5rem;
+.gap-2 {
+ gap: 0.5rem;
}
.gap-5 {
gap: 1.25rem;
}
+.gap-10 {
+ gap: 2.5rem;
+}
+
.gap-6 {
gap: 1.5rem;
}
@@ -1053,6 +1196,12 @@ select {
margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
+.space-x-2 > :not([hidden]) ~ :not([hidden]) {
+ --tw-space-x-reverse: 0;
+ margin-right: calc(0.5rem * var(--tw-space-x-reverse));
+ margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
+}
+
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
@@ -1069,6 +1218,18 @@ select {
overflow: hidden;
}
+.overflow-y-auto {
+ overflow-y: auto;
+}
+
+.whitespace-nowrap {
+ white-space: nowrap;
+}
+
+.rounded-lg {
+ border-radius: 0.5rem;
+}
+
.rounded-full {
border-radius: 9999px;
}
@@ -1081,6 +1242,14 @@ select {
border-radius: 0px;
}
+.rounded {
+ border-radius: 0.25rem;
+}
+
+.rounded-sm {
+ border-radius: 0.125rem;
+}
+
.rounded-l-md {
border-top-left-radius: 0.375rem;
border-bottom-left-radius: 0.375rem;
@@ -1099,6 +1268,10 @@ select {
border-width: 2px;
}
+.border-l {
+ border-left-width: 1px;
+}
+
.border-r-0 {
border-right-width: 0px;
}
@@ -1107,6 +1280,10 @@ select {
border-style: dashed;
}
+.border-none {
+ border-style: none;
+}
+
.border-gray-300 {
--tw-border-opacity: 1;
border-color: rgb(209 213 219 / var(--tw-border-opacity));
@@ -1116,24 +1293,34 @@ select {
border-color: transparent;
}
-.bg-black {
+.bg-main-background {
--tw-bg-opacity: 1;
- background-color: rgb(0 0 0 / var(--tw-bg-opacity));
+ background-color: rgb(255 255 254 / var(--tw-bg-opacity));
}
-.bg-yellow-500 {
+.bg-darkish-300 {
--tw-bg-opacity: 1;
- background-color: rgb(234 179 8 / var(--tw-bg-opacity));
+ background-color: rgb(13 43 69 / var(--tw-bg-opacity));
}
-.bg-purple-500 {
+.bg-main-cardbackground {
--tw-bg-opacity: 1;
- background-color: rgb(168 85 247 / var(--tw-bg-opacity));
+ background-color: rgb(250 238 231 / var(--tw-bg-opacity));
}
-.bg-sky-700 {
+.bg-darkish-100 {
--tw-bg-opacity: 1;
- background-color: rgb(3 105 161 / var(--tw-bg-opacity));
+ background-color: rgb(84 78 104 / var(--tw-bg-opacity));
+}
+
+.bg-darkish-50 {
+ --tw-bg-opacity: 1;
+ background-color: rgb(141 105 122 / var(--tw-bg-opacity));
+}
+
+.bg-gray-300 {
+ --tw-bg-opacity: 1;
+ background-color: rgb(209 213 219 / var(--tw-bg-opacity));
}
.bg-white {
@@ -1151,6 +1338,35 @@ select {
background-color: rgb(79 70 229 / var(--tw-bg-opacity));
}
+.bg-darkish-200 {
+ --tw-bg-opacity: 1;
+ background-color: rgb(32 60 86 / var(--tw-bg-opacity));
+}
+
+.bg-main-cardheading {
+ --tw-bg-opacity: 1;
+ background-color: rgb(51 39 42 / var(--tw-bg-opacity));
+}
+
+.bg-lightish-200 {
+ --tw-bg-opacity: 1;
+ background-color: rgb(255 170 94 / var(--tw-bg-opacity));
+}
+
+.bg-blue-600 {
+ --tw-bg-opacity: 1;
+ background-color: rgb(37 99 235 / var(--tw-bg-opacity));
+}
+
+.bg-transparent {
+ background-color: transparent;
+}
+
+.bg-sky-700 {
+ --tw-bg-opacity: 1;
+ background-color: rgb(3 105 161 / var(--tw-bg-opacity));
+}
+
.bg-violet-700 {
--tw-bg-opacity: 1;
background-color: rgb(109 40 217 / var(--tw-bg-opacity));
@@ -1161,6 +1377,21 @@ select {
background-color: rgb(126 34 206 / var(--tw-bg-opacity));
}
+.bg-black {
+ --tw-bg-opacity: 1;
+ background-color: rgb(0 0 0 / var(--tw-bg-opacity));
+}
+
+.bg-yellow-500 {
+ --tw-bg-opacity: 1;
+ background-color: rgb(234 179 8 / var(--tw-bg-opacity));
+}
+
+.bg-purple-500 {
+ --tw-bg-opacity: 1;
+ background-color: rgb(168 85 247 / var(--tw-bg-opacity));
+}
+
.bg-gray-100 {
--tw-bg-opacity: 1;
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
@@ -1171,6 +1402,10 @@ select {
background-color: rgb(254 252 232 / var(--tw-bg-opacity));
}
+.bg-clip-padding {
+ background-clip: padding-box;
+}
+
.object-cover {
-o-object-fit: cover;
object-fit: cover;
@@ -1192,6 +1427,10 @@ select {
padding: 2rem;
}
+.p-4 {
+ padding: 1rem;
+}
+
.p-10 {
padding: 2.5rem;
}
@@ -1236,14 +1475,22 @@ select {
padding-bottom: 3rem;
}
-.pl-2 {
- padding-left: 0.5rem;
+.pt-3 {
+ padding-top: 0.75rem;
}
.pt-2 {
padding-top: 0.5rem;
}
+.pb-5 {
+ padding-bottom: 1.25rem;
+}
+
+.pl-2 {
+ padding-left: 0.5rem;
+}
+
.pt-5 {
padding-top: 1.25rem;
}
@@ -1256,6 +1503,10 @@ select {
padding-left: 0.25rem;
}
+.text-left {
+ text-align: left;
+}
+
.text-center {
text-align: center;
}
@@ -1272,6 +1523,10 @@ select {
font-family: supplyRegular, sans-serif;
}
+.font-supply-light {
+ font-family: supplyLight, sans-serif;
+}
+
.text-lg {
font-size: 1.125rem;
line-height: 1.75rem;
@@ -1287,16 +1542,16 @@ select {
line-height: 1.25rem;
}
-.text-3xl {
- font-size: 1.875rem;
- line-height: 2.25rem;
-}
-
.text-xl {
font-size: 1.25rem;
line-height: 1.75rem;
}
+.text-3xl {
+ font-size: 1.875rem;
+ line-height: 2.25rem;
+}
+
.text-xs {
font-size: 0.75rem;
line-height: 1rem;
@@ -1315,26 +1570,66 @@ select {
font-weight: 800;
}
+.font-semibold {
+ font-weight: 600;
+}
+
.font-medium {
font-weight: 500;
}
+.font-normal {
+ font-weight: 400;
+}
+
+.uppercase {
+ text-transform: uppercase;
+}
+
.italic {
font-style: italic;
}
+.leading-tight {
+ line-height: 1.25;
+}
+
+.leading-normal {
+ line-height: 1.5;
+}
+
.leading-4 {
line-height: 1rem;
}
-.text-yellow-500 {
+.text-lightish-200 {
--tw-text-opacity: 1;
- color: rgb(234 179 8 / var(--tw-text-opacity));
+ color: rgb(255 170 94 / var(--tw-text-opacity));
}
-.text-white {
+.text-lightish-50 {
--tw-text-opacity: 1;
- color: rgb(255 255 255 / var(--tw-text-opacity));
+ color: rgb(255 236 214 / var(--tw-text-opacity));
+}
+
+.text-main-cardheading {
+ --tw-text-opacity: 1;
+ color: rgb(51 39 42 / var(--tw-text-opacity));
+}
+
+.text-darkish-300 {
+ --tw-text-opacity: 1;
+ color: rgb(13 43 69 / var(--tw-text-opacity));
+}
+
+.text-gray-500 {
+ --tw-text-opacity: 1;
+ color: rgb(107 114 128 / var(--tw-text-opacity));
+}
+
+.text-gray-800 {
+ --tw-text-opacity: 1;
+ color: rgb(31 41 55 / var(--tw-text-opacity));
}
.text-black {
@@ -1347,9 +1642,24 @@ select {
color: rgb(55 65 81 / var(--tw-text-opacity));
}
-.text-gray-500 {
+.text-white {
--tw-text-opacity: 1;
- color: rgb(107 114 128 / var(--tw-text-opacity));
+ color: rgb(255 255 255 / var(--tw-text-opacity));
+}
+
+.text-lightish-300 {
+ --tw-text-opacity: 1;
+ color: rgb(208 129 89 / var(--tw-text-opacity));
+}
+
+.text-darkish-200 {
+ --tw-text-opacity: 1;
+ color: rgb(32 60 86 / var(--tw-text-opacity));
+}
+
+.text-darkish-100 {
+ --tw-text-opacity: 1;
+ color: rgb(84 78 104 / var(--tw-text-opacity));
}
.text-red-600 {
@@ -1357,6 +1667,11 @@ select {
color: rgb(220 38 38 / var(--tw-text-opacity));
}
+.text-yellow-500 {
+ --tw-text-opacity: 1;
+ color: rgb(234 179 8 / var(--tw-text-opacity));
+}
+
.text-red-700 {
--tw-text-opacity: 1;
color: rgb(185 28 28 / var(--tw-text-opacity));
@@ -1387,11 +1702,25 @@ select {
color: rgb(21 94 117 / var(--tw-text-opacity));
}
+.text-lightish-100 {
+ --tw-text-opacity: 1;
+ color: rgb(255 212 163 / var(--tw-text-opacity));
+}
+
+.text-main-cardparagraph {
+ --tw-text-opacity: 1;
+ color: rgb(89 74 78 / var(--tw-text-opacity));
+}
+
.underline {
-webkit-text-decoration-line: underline;
text-decoration-line: underline;
}
+.opacity-50 {
+ opacity: 0.5;
+}
+
.shadow-\[5px_5px_0px_0px_rgba\(0\2c 0\2c 0\2c 255\)\] {
--tw-shadow: 5px 5px 0px 0px rgba(0,0,0,255);
--tw-shadow-colored: 5px 5px 0px 0px var(--tw-shadow-color);
@@ -1410,10 +1739,51 @@ select {
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
+.shadow-md {
+ --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
+ --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
+}
+
+.shadow-lg {
+ --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
+ --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
+}
+
+.outline-none {
+ outline: 2px solid transparent;
+ outline-offset: 2px;
+}
+
.outline {
outline-style: solid;
}
+.filter {
+ filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
+}
+
+.transition {
+ transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
+ transition-duration: 150ms;
+}
+
+.duration-150 {
+ transition-duration: 150ms;
+}
+
+.duration-300 {
+ transition-duration: 300ms;
+}
+
+.ease-in-out {
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
+}
+
.line-clamp-1 {
overflow: hidden;
display: -webkit-box;
@@ -1575,14 +1945,14 @@ pre[class*="language-"] {
background-color: rgb(67 56 202 / var(--tw-bg-opacity));
}
-.hover\:text-white:hover {
+.hover\:text-lightish-50:hover {
--tw-text-opacity: 1;
- color: rgb(255 255 255 / var(--tw-text-opacity));
+ color: rgb(255 236 214 / var(--tw-text-opacity));
}
-.hover\:text-black:hover {
+.hover\:text-darkish-300:hover {
--tw-text-opacity: 1;
- color: rgb(0 0 0 / var(--tw-text-opacity));
+ color: rgb(13 43 69 / var(--tw-text-opacity));
}
.focus\:border-indigo-500:focus {
diff --git a/src/_includes/intro.njk b/src/_includes/intro.njk
index 19938e9..03a866d 100644
--- a/src/_includes/intro.njk
+++ b/src/_includes/intro.njk
@@ -3,7 +3,7 @@
{% include "./partials/head.njk" %}
-
+
{% include "./partials/header.njk" %}
diff --git a/src/_includes/partials/footer.njk b/src/_includes/partials/footer.njk
index c4ccae1..b187151 100644
--- a/src/_includes/partials/footer.njk
+++ b/src/_includes/partials/footer.njk
@@ -1,15 +1,16 @@
-