notes/src/styles/global.css

267 lines
7.1 KiB
CSS

@import "tailwindcss";
@source "../layouts/**/*.astro";
@source "../pages/**/*.astro";
@theme {
--color-sunday-theme: #28303c;
--color-gospels: #770cb1;
--color-pentateuch: #770cb1;
--color-historic: #183dd3;
--color-acts: #183dd3;
--color-wisdom: #db7500;
--color-pauline: #db7500;
--color-prophets: #7c0808;
--color-revelation: #7c0808;
--color-devotional: #b8c9d6;
}
#notes-list ul.tags {
li.gospels {
@apply bg-gospels;
}
li.pentateuch {
@apply bg-pentateuch;
}
li.historic {
@apply bg-historic;
}
li.acts {
@apply bg-acts;
}
li.wisdom {
@apply bg-wisdom;
}
li.pauline {
@apply bg-pauline;
}
li.prophets {
@apply bg-prophets;
}
li.revelation {
@apply bg-revelation;
}
li.devotional {
@apply bg-devotional text-gray-800 text-shadow-none;
}
body {
@apply dark:bg-gray-900;
}
header {
@apply bg-sunday-theme p-4 text-white flex items-center justify-center text-3xl lg:text-4xl;
}
footer {
@apply bg-sunday-theme mt-4 p-8 text-gray-500 text-sm;
a {
border-bottom: 5px;
border-style: solid;
@apply border-cyan-100 transition duration-500 ease-in-out hover:border-cyan-900 hover:text-gray-700;
}
ul {
@apply grid grid-cols-1 mx-auto max-w-4xl sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-3 gap-4 text-gray-400;
}
ul > li {
@apply flex flex-col pr-2;
}
ul > li > a {
@apply inline border-gray-600 hover:border-blue-600 hover:text-gray-200;
}
}
#notes-list {
@apply mx-auto lg:max-w-7xl xl:max-w-7xl 2xl:max-w-7xl;
}
#notes-list > ul {
@apply grid grid-cols-1 gap-6 p-6 sm:grid-cols-2 lg:grid-cols-3;
}
#notes-list > ul > li {
@apply flex flex-col rounded-xl bg-gray-100 p-2 hover:bg-gray-200;
@apply dark:text-gray-300 dark:bg-gray-800 dark:hover:bg-gray-700;
}
#notes-list ul > li h2 a {
border-bottom: 5px;
border-style: solid;
@apply border-cyan-300 transition duration-500 ease-in-out hover:border-cyan-900 hover:text-cyan-900;
@apply dark:border-cyan-600 hover:border-cyan-500 hover:text-cyan-500;
}
#notes-list ul > li > hgroup {
@apply grow p-4;
h2 > a {
@apply font-bold text-2xl;
}
h3 {
@apply mt-2 text-xl font-medium;
}
}
#notes-list ul.tags {
margin-top: -20px;
@apply text-white text-shadow-md text-shadow-gray-700;
}
#notes-list ul.tags li {
@apply inline-block text-sm pl-2 pr-2 pt-1 pb-1 ml-2 rounded-md;
}
#notes-list ul li .subheading {
@apply font-bold text-xl pl-4 pr-4;
}
#notes-list ul li time {
@apply block text-xl text-gray-400 pl-4 pr-4 pt-2 text-right relative bottom-0;
}
article#notes-page {
@apply pt-4 text-xl;
@apply dark:text-gray-200;
hgroup h1 {
@apply font-bold mt-8 mb-8 text-3xl lg:text-6xl;
}
hgroup h2 {
@apply mt-8 mb-8 text-2xl lg:text-4xl;
}
.header {
@apply bg-gray-100 rounded-md p-6 bg-linear-to-b from-gray-100 to-gray-200;
@apply dark:bg-gray-800 dark:from-gray-700 dark:to-gray-800;
}
#content {
a {
border-bottom: 5px;
border-style: solid;
@apply border-cyan-300 transition duration-500 ease-in-out hover:border-cyan-900 hover:text-cyan-600;
@apply dark:border-blue-500 dark:hover:border-blue-300 dark:hover:text-blue-300;
}
a.scripture {
@apply border-green-400 hover:border-green-700 hover:text-green-800;
@apply dark:border-emerald-600 dark:hover:border-emerald-400 dark:hover:text-emerald-400;
}
a.scripture.cite {
@apply font-bold bg-purple-50 border-purple-100 text-gray-800 hover:text-black;
@apply dark:bg-purple-950 dark:border-purple-900 dark:text-gray-300 dark:hover:text-gray-300;
}
a.scripture.cite[href]:not([href=""]) {
@apply border-purple-400 hover:border-purple-900 hover:text-purple-900;
@apply dark:border-purple-950 dark:hover:border-purple-900 dark:hover:text-gray-300;
}
a.scripture.quote {
@apply font-bold text-rose-900;
}
a.scripture.quote:not([href]) {
@apply border-none text-rose-900 hover:text-rose-900;
@apply dark:text-rose-400 dark:hover:text-rose-400;
}
a.scripture.quote[href]:not([href=""]) {
@apply border-rose-900 hover:text-rose-800 hover:border-rose-800;
@apply dark:border-rose-400 dark:hover:text-rose-500 dark:hover:border-rose-500;
}
a.scripture.quote, a.scripture.quote.cite {
@apply border-rose-900 text-rose-900;
@apply dark:border-rose-400 dark:text-rose-400;
}
h1, h2, h3, h4, h5, h6 {
@apply font-bold mb-6 mt-6;
}
h1 {
@apply mt-2 text-4xl lg:text-6xl;
}
h2 {
@apply mt-10 mb-4 text-2xl lg:text-4xl;
}
h3 {
@apply mt-8 mb-4 text-xl lg:text-3xl;
}
h4 {
@apply text-lg lg:text-2xl;
}
h5 {
@apply font-bold;
}
h6 {
@apply font-semibold;
}
p {
@apply leading-8 mb-6 mt-2;
}
span.sc {
font-variant-caps: small-caps;
}
ul {
list-style-type: revert;
@apply ml-4;
}
li {
@apply ml-4 mt-2 mb-2;
}
}
section#meta {
@apply text-gray-600 mb-2 text-lg;
@apply dark:text-gray-300;
time {
@apply inline;
}
time:after {
@apply pl-4 pr-4;
content: "/";
}
ul.tags, ul.tags li {
@apply inline;
}
ul.tags li:after {
@apply pl-4 pr-4;
content: "/";
}
ul.tags li:last-child:after{
content: "";
}
}
}
nav#pagination {
@apply flex items-center justify-center mt-6 mb-6 text-xl;
}
nav#pagination {
ul, li {
@apply inline;
}
li a {
@apply bg-gray-100 font-bold mb-2 p-4 rounded-md text-cyan-900 text-sm hover:bg-gray-200 hover:text-black inline;
@apply dark:bg-gray-700 dark:text-blue-300 dark:hover:text-gray-300 dark:hover:bg-gray-600;
}
li a.disabled {
@apply text-gray-400 bg-gray-50 hover:bg-gray-50;
@apply dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-800;
}
}
article blockquote {
@apply border-l-4 border-l-green-200 text-gray-600 ml-2 md:ml-6 lg:ml-6 xl:ml-6 pl-4;
@apply dark:border-l-emerald-600 dark:text-gray-400;
}
article blockquote.scripture {
/*@apply italic;*/
@apply bg-gray-50 pt-1 pb-1 pl-4 pr-2;
@apply dark:bg-gray-700;
}
article blockquote.cite {
@apply italic bg-gray-50 border-l-cyan-200 pl-6 pr-6 pt-2 pb-2;
}
article#notes-page #content blockquote.scripture > p > a {
@apply border-b-green-200 text-lg text-gray-400 not-italic transition duration-500 ease-in-out hover:border-b-green-800 hover:text-gray-800;
@apply dark:border-b-emerald-600 dark:hover:text-emerald-300 dark:hover:border-b-emerald-500;
}