From cd6644ea4ddc78597934ab0ef5ba50e3c3daa927 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 8 Jul 2023 23:25:41 +0200 Subject: Moved to a simpler SSG --- themes/simple/static/css/.gitkeep | 0 themes/simple/static/css/tailwind.css | 166 ---------------------------------- 2 files changed, 166 deletions(-) delete mode 100755 themes/simple/static/css/.gitkeep delete mode 100644 themes/simple/static/css/tailwind.css (limited to 'themes/simple/static/css') diff --git a/themes/simple/static/css/.gitkeep b/themes/simple/static/css/.gitkeep deleted file mode 100755 index e69de29..0000000 diff --git a/themes/simple/static/css/tailwind.css b/themes/simple/static/css/tailwind.css deleted file mode 100644 index 9de02d7..0000000 --- a/themes/simple/static/css/tailwind.css +++ /dev/null @@ -1,166 +0,0 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; - -* { cursor: url(/general/9front-cursor.png), auto; } - -/* Container */ -.container-blog { - max-width: 740px; -} - -/* User text selection */ -::selection { - @apply bg-yellow-200 text-black; -} - -::-moz-selection { - @apply bg-yellow-200 text-black; -} - -/* Helpers */ - -a:hover { - color: blue; -} - -.blue { - color: blue; -} - -/* Headings */ -article.single h2 { - @apply text-2xl font-bold mb-8 mt-8 leading-tight; -} - -article.single.note h2 { - @apply text-2xl font-bold mb-1 mt-8 leading-tight; -} - -article.single h3 { - @apply text-xl font-bold mb-4 mt-8 leading-tight; -} - -article.single h4 { - @apply text-lg font-bold mb-4 mt-8 leading-tight; -} - -/* Paragraph */ -article.single p { - @apply mb-5; -} - -/* Links */ -article.single a { - @apply underline-offset-2 underline; -} - -/* Blockquote */ -article.single .content blockquote { - background-image: url('/general/alert-light.svg'); - background-size: 30px 30px; - background-repeat: no-repeat; - background-position: 0 5px; - @apply pl-12 my-8; -} - -article.single .content blockquote p { - @apply mb-2; -} - -/* Media: Images, audio, video */ -article.single figure { - @apply my-8; -} - -article.single figure figcaption { - @apply text-center italic mt-1; -} - -article.single img { - @apply rounded w-full !bg-gray-50; - - image-rendering: crisp-edges; - image-rendering: -webkit-optimize-contrast; -} - -article.single video { - @apply rounded w-full !bg-gray-50; -} - -article.single audio { - @apply w-full mb-6; -} - -/* Code */ -article.single code { - @apply bg-yellow-200 rounded px-2 py-1 text-xs font-medium; -} - -article.single.note code { - @apply bg-gray-100 rounded px-2 py-1 text-xs font-medium; -} - -article.single pre { - @apply !bg-gray-50 rounded text-xs p-4 mb-6 overflow-x-auto; -} - -article.single pre code, -article.single.note pre code { - background: unset; - padding: unset; - @apply leading-relaxed; -} - -/* Tables */ -article.single table { - @apply w-full border border-black border-collapse mb-4; -} - -article.single table tr, -article.single table td, -article.single table th { - @apply px-4 py-2 border text-left; -} - -/* Unordered list */ -article.single .content ul { - @apply list-disc pl-6 md:pl-10 mb-6; -} - -/* Ordered list */ -article.single .content ol { - @apply list-decimal pl-8 md:pl-10 mb-6; -} - -/* Table of contents */ -article.single #TableOfContents { - @apply mb-10 ml-4 leading-relaxed; -} -article.single #TableOfContents ul { - @apply list-decimal pl-4 md:pl-6; -} - -/* Lists */ -article.single .content ul ul { - margin-bottom: auto; -} - -/* Katex */ -article.single .katex-display { - @apply my-10; -} - -/* Lazy loading of iframes */ -article.single .ll-iframe { - @apply bg-gray-100 rounded; -} - -article.single .ll-iframe::before { - @apply h-full flex border-2 border-gray-300 rounded justify-center items-center font-medium text-sm cursor-pointer animate-pulse; - content: 'Click here to load resource…'; -} - -article.single .ll-iframe.empty::before { - content: none; -} -- cgit v1.2.3