notes/src/styles/global.css

181 lines
4 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;
}
header {
@apply bg-sunday-theme p-4 text-white flex items-center justify-center text-3xl lg:text-4xl;
}
footer {
@apply justify-center flex 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 > li {
@apply inline pr-2;
}
ul > li:last-child {
@apply pr-0;
}
}
#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;
}
#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;
}
#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;
hgroup h1 {
@apply font-bold mt-8 mb-8 text-4xl lg:text-6xl;
}
hgroup h2 {
@apply mt-8 mb-8 text-2xl lg:text-4xl;
}
#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;
}
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;
}
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;
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 p-4 rounded-md text-cyan-900 text-sm hover:bg-gray-200 hover:text-black;
}
li a.disabled {
@apply text-gray-400 bg-gray-50 hover:bg-gray-50;
}
}
article blockquote {
@apply border-l-4 border-l-green-200 text-gray-600 ml-6 pl-4;
}
article blockquote.scripture {
@apply italic;
}
article#notes-page #content blockquote.scripture > p > a {
@apply border-b-green-200 ml-6 text-lg text-gray-400 not-italic transition duration-500 ease-in-out hover:border-b-green-800 hover:text-gray-800;
}