From f718ba2411b7caa18872724d5d3edb95e844337d Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 3 Nov 2022 21:36:58 +0100 Subject: Unify some of the styles --- Makefile | 10 +- static/general/index.css | 1198 +--------------------------------- themes/simple/openring/openring.html | 10 +- 3 files changed, 10 insertions(+), 1208 deletions(-) diff --git a/Makefile b/Makefile index 1bd84a3..d662747 100755 --- a/Makefile +++ b/Makefile @@ -6,16 +6,14 @@ dev-server: openring hugo server --bind=0.0.0.0 --buildDrafts tailwind-watch: - npx tailwindcss \ + npx tailwindcss --jit --minify --watch \ -i ./themes/simple/static/css/tailwind.css \ - -o ./static/general/index.css \ - --jit --minify --watch + -o ./static/general/index.css tailwind-build: - npx tailwindcss \ + npx tailwindcss --jit --minify \ -i ./themes/simple/static/css/tailwind.css \ - -o ./static/general/index.css \ - --jit --minify + -o ./static/general/index.css deploy: openring tailwind-build hugo --gc --minify diff --git a/static/general/index.css b/static/general/index.css index 9c47e94..dea9213 100644 --- a/static/general/index.css +++ b/static/general/index.css @@ -1,1197 +1 @@ -/* -! tailwindcss v3.2.1 | MIT License | https://tailwindcss.com -*/ - -/* -1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) -2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) -*/ - -*, -::before, -::after { - box-sizing: border-box; - /* 1 */ - border-width: 0; - /* 2 */ - border-style: solid; - /* 2 */ - border-color: #e5e7eb; - /* 2 */ -} - -::before, -::after { - --tw-content: ''; -} - -/* -1. Use a consistent sensible line-height in all browsers. -2. Prevent adjustments of font size after orientation changes in iOS. -3. Use a more readable tab size. -4. Use the user's configured `sans` font-family by default. -*/ - -html { - line-height: 1.5; - /* 1 */ - -webkit-text-size-adjust: 100%; - /* 2 */ - -moz-tab-size: 4; - /* 3 */ - -o-tab-size: 4; - tab-size: 4; - /* 3 */ - font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; - /* 4 */ -} - -/* -1. Remove the margin in all browsers. -2. Inherit line-height from `html` so users can set them as a class directly on the `html` element. -*/ - -body { - margin: 0; - /* 1 */ - line-height: inherit; - /* 2 */ -} - -/* -1. Add the correct height in Firefox. -2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655) -3. Ensure horizontal rules are visible by default. -*/ - -hr { - height: 0; - /* 1 */ - color: inherit; - /* 2 */ - border-top-width: 1px; - /* 3 */ -} - -/* -Add the correct text decoration in Chrome, Edge, and Safari. -*/ - -abbr:where([title]) { - -webkit-text-decoration: underline dotted; - text-decoration: underline dotted; -} - -/* -Remove the default font size and weight for headings. -*/ - -h1, -h2, -h3, -h4, -h5, -h6 { - font-size: inherit; - font-weight: inherit; -} - -/* -Reset links to optimize for opt-in styling instead of opt-out. -*/ - -a { - color: inherit; - text-decoration: inherit; -} - -/* -Add the correct font weight in Edge and Safari. -*/ - -b, -strong { - font-weight: bolder; -} - -/* -1. Use the user's configured `mono` font family by default. -2. Correct the odd `em` font sizing in all browsers. -*/ - -code, -kbd, -samp, -pre { - font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; - /* 1 */ - font-size: 1em; - /* 2 */ -} - -/* -Add the correct font size in all browsers. -*/ - -small { - font-size: 80%; -} - -/* -Prevent `sub` and `sup` elements from affecting the line height in all browsers. -*/ - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sub { - bottom: -0.25em; -} - -sup { - top: -0.5em; -} - -/* -1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297) -2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016) -3. Remove gaps between table borders by default. -*/ - -table { - text-indent: 0; - /* 1 */ - border-color: inherit; - /* 2 */ - border-collapse: collapse; - /* 3 */ -} - -/* -1. Change the font styles in all browsers. -2. Remove the margin in Firefox and Safari. -3. Remove default padding in all browsers. -*/ - -button, -input, -optgroup, -select, -textarea { - font-family: inherit; - /* 1 */ - font-size: 100%; - /* 1 */ - font-weight: inherit; - /* 1 */ - line-height: inherit; - /* 1 */ - color: inherit; - /* 1 */ - margin: 0; - /* 2 */ - padding: 0; - /* 3 */ -} - -/* -Remove the inheritance of text transform in Edge and Firefox. -*/ - -button, -select { - text-transform: none; -} - -/* -1. Correct the inability to style clickable types in iOS and Safari. -2. Remove default button styles. -*/ - -button, -[type='button'], -[type='reset'], -[type='submit'] { - -webkit-appearance: button; - /* 1 */ - background-color: transparent; - /* 2 */ - background-image: none; - /* 2 */ -} - -/* -Use the modern Firefox focus style for all focusable elements. -*/ - -:-moz-focusring { - outline: auto; -} - -/* -Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737) -*/ - -:-moz-ui-invalid { - box-shadow: none; -} - -/* -Add the correct vertical alignment in Chrome and Firefox. -*/ - -progress { - vertical-align: baseline; -} - -/* -Correct the cursor style of increment and decrement buttons in Safari. -*/ - -::-webkit-inner-spin-button, -::-webkit-outer-spin-button { - height: auto; -} - -/* -1. Correct the odd appearance in Chrome and Safari. -2. Correct the outline style in Safari. -*/ - -[type='search'] { - -webkit-appearance: textfield; - /* 1 */ - outline-offset: -2px; - /* 2 */ -} - -/* -Remove the inner padding in Chrome and Safari on macOS. -*/ - -::-webkit-search-decoration { - -webkit-appearance: none; -} - -/* -1. Correct the inability to style clickable types in iOS and Safari. -2. Change font properties to `inherit` in Safari. -*/ - -::-webkit-file-upload-button { - -webkit-appearance: button; - /* 1 */ - font: inherit; - /* 2 */ -} - -/* -Add the correct display in Chrome and Safari. -*/ - -summary { - display: list-item; -} - -/* -Removes the default spacing and border for appropriate elements. -*/ - -blockquote, -dl, -dd, -h1, -h2, -h3, -h4, -h5, -h6, -hr, -figure, -p, -pre { - margin: 0; -} - -fieldset { - margin: 0; - padding: 0; -} - -legend { - padding: 0; -} - -ol, -ul, -menu { - list-style: none; - margin: 0; - padding: 0; -} - -/* -Prevent resizing textareas horizontally by default. -*/ - -textarea { - resize: vertical; -} - -/* -1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300) -2. Set the default placeholder color to the user's configured gray 400 color. -*/ - -input::-moz-placeholder, textarea::-moz-placeholder { - opacity: 1; - /* 1 */ - color: #9ca3af; - /* 2 */ -} - -input::placeholder, -textarea::placeholder { - opacity: 1; - /* 1 */ - color: #9ca3af; - /* 2 */ -} - -/* -Set the default cursor for buttons. -*/ - -button, -[role="button"] { - cursor: pointer; -} - -/* -Make sure disabled buttons don't get the pointer cursor. -*/ - -:disabled { - cursor: default; -} - -/* -1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14) -2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210) - This can trigger a poorly considered lint error in some tools but is included by design. -*/ - -img, -svg, -video, -canvas, -audio, -iframe, -embed, -object { - display: block; - /* 1 */ - vertical-align: middle; - /* 2 */ -} - -/* -Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14) -*/ - -img, -video { - max-width: 100%; - height: auto; -} - -/* Make elements with the HTML hidden attribute stay hidden by default */ - -[hidden] { - display: none; -} - -*, ::before, ::after { - --tw-border-spacing-x: 0; - --tw-border-spacing-y: 0; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-rotate: 0; - --tw-skew-x: 0; - --tw-skew-y: 0; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; - --tw-scroll-snap-strictness: proximity; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-color: rgb(59 130 246 / 0.5); - --tw-ring-offset-shadow: 0 0 #0000; - --tw-ring-shadow: 0 0 #0000; - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; -} - -::backdrop { - --tw-border-spacing-x: 0; - --tw-border-spacing-y: 0; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-rotate: 0; - --tw-skew-x: 0; - --tw-skew-y: 0; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; - --tw-scroll-snap-strictness: proximity; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-color: rgb(59 130 246 / 0.5); - --tw-ring-offset-shadow: 0 0 #0000; - --tw-ring-shadow: 0 0 #0000; - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; -} - -.mx-auto { - margin-left: auto; - margin-right: auto; -} - -.mb-10 { - margin-bottom: 2.5rem; -} - -.mb-6 { - margin-bottom: 1.5rem; -} - -.mb-1 { - margin-bottom: 0.25rem; -} - -.mb-12 { - margin-bottom: 3rem; -} - -.mb-5 { - margin-bottom: 1.25rem; -} - -.mb-2 { - margin-bottom: 0.5rem; -} - -.mb-4 { - margin-bottom: 1rem; -} - -.mt-4 { - margin-top: 1rem; -} - -.ml-6 { - margin-left: 1.5rem; -} - -.block { - display: block; -} - -.flex { - display: flex; -} - -.hidden { - display: none; -} - -.h-full { - height: 100%; -} - -.w-full { - width: 100%; -} - -.flex-grow { - flex-grow: 1; -} - -.list-disc { - list-style-type: disc; -} - -.flex-col { - flex-direction: column; -} - -.items-center { - align-items: center; -} - -.gap-1 { - gap: 0.25rem; -} - -.rounded { - border-radius: 0.25rem; -} - -.border-2 { - border-width: 2px; -} - -.border-0 { - border-width: 0px; -} - -.border-gray-100 { - --tw-border-opacity: 1; - border-color: rgb(243 244 246 / var(--tw-border-opacity)); -} - -.bg-orange-600 { - --tw-bg-opacity: 1; - background-color: rgb(234 88 12 / var(--tw-bg-opacity)); -} - -.px-6 { - padding-left: 1.5rem; - padding-right: 1.5rem; -} - -.px-1\.5 { - padding-left: 0.375rem; - padding-right: 0.375rem; -} - -.px-1 { - padding-left: 0.25rem; - padding-right: 0.25rem; -} - -.py-4 { - padding-top: 1rem; - padding-bottom: 1rem; -} - -.px-2 { - padding-left: 0.5rem; - padding-right: 0.5rem; -} - -.pb-12 { - padding-bottom: 3rem; -} - -.text-2xl { - font-size: 1.5rem; - line-height: 2rem; -} - -.text-sm { - font-size: 0.875rem; - line-height: 1.25rem; -} - -.text-xs { - font-size: 0.75rem; - line-height: 1rem; -} - -.text-4xl { - font-size: 2.25rem; - line-height: 2.5rem; -} - -.text-xl { - font-size: 1.25rem; - line-height: 1.75rem; -} - -.font-bold { - font-weight: 700; -} - -.font-semibold { - font-weight: 600; -} - -.font-medium { - font-weight: 500; -} - -.font-extrabold { - font-weight: 800; -} - -.leading-tight { - line-height: 1.25; -} - -.leading-relaxed { - line-height: 1.625; -} - -.text-gray-600 { - --tw-text-opacity: 1; - color: rgb(75 85 99 / var(--tw-text-opacity)); -} - -.text-gray-400 { - --tw-text-opacity: 1; - color: rgb(156 163 175 / var(--tw-text-opacity)); -} - -.text-white { - --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); -} - -.underline { - text-decoration-line: underline; -} - -.no-underline { - text-decoration-line: none; -} - -/* Container */ - -.container-blog { - max-width: 700px; -} - -/* User text selection */ - -::-moz-selection { - --tw-bg-opacity: 1; - background-color: rgb(254 249 195 / var(--tw-bg-opacity)); - --tw-text-opacity: 1; - color: rgb(0 0 0 / var(--tw-text-opacity)); -} - -::selection { - --tw-bg-opacity: 1; - background-color: rgb(254 249 195 / var(--tw-bg-opacity)); - --tw-text-opacity: 1; - color: rgb(0 0 0 / var(--tw-text-opacity)); -} - -::-moz-selection { - --tw-bg-opacity: 1; - background-color: rgb(254 249 195 / var(--tw-bg-opacity)); - --tw-text-opacity: 1; - color: rgb(0 0 0 / var(--tw-text-opacity)); -} - -/* Headings */ - -article.single h2 { - margin-bottom: 1rem; - margin-top: 2rem; - font-size: 1.5rem; - line-height: 2rem; - font-weight: 700; -} - -article.single h3 { - margin-bottom: 1rem; - margin-top: 2rem; - font-size: 1.25rem; - line-height: 1.75rem; - font-weight: 700; -} - -article.single h4 { - margin-bottom: 1rem; - margin-top: 2rem; - font-size: 1.125rem; - line-height: 1.75rem; - font-weight: 700; -} - -/* Paragraph */ - -article.single p { - margin-bottom: 1.25rem; -} - -/* Links */ - -article.single a { - text-decoration-line: underline; -} - -article.single a:hover { - --tw-bg-opacity: 1; - background-color: rgb(254 249 195 / var(--tw-bg-opacity)); -} - -/* Blockquote */ - -article.single blockquote { - background-image: url('/general/alert-light.svg'); - background-size: 30px 30px; - background-repeat: no-repeat; - background-position: 0 5px; - margin-top: 2rem; - margin-bottom: 2rem; - padding-left: 3rem; -} - -/* Media: Images, audio, video */ - -article.single img { - margin-top: 2rem; - margin-bottom: 2rem; - width: 100%; - border-radius: 0.25rem; - --tw-bg-opacity: 1 !important; - background-color: rgb(249 250 251 / var(--tw-bg-opacity)) !important; -} - -article.single video { - width: 100%; - border-radius: 0.25rem; - --tw-bg-opacity: 1 !important; - background-color: rgb(249 250 251 / var(--tw-bg-opacity)) !important; -} - -article.single audio { - margin-bottom: 1.5rem; - width: 100%; -} - -/* Code */ - -article.single code { - border-radius: 0.25rem; - --tw-bg-opacity: 1; - background-color: rgb(254 249 195 / var(--tw-bg-opacity)); - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 0.25rem; - padding-bottom: 0.25rem; - font-size: 0.75rem; - line-height: 1rem; - font-weight: 500; -} - -article.single pre { - margin-bottom: 1.5rem; - overflow-x: auto; - border-radius: 0.25rem; - --tw-bg-opacity: 1 !important; - background-color: rgb(249 250 251 / var(--tw-bg-opacity)) !important; - padding: 1rem; - font-size: 0.75rem; - line-height: 1rem; -} - -article.single pre code { - background: unset; - padding: unset; - line-height: 1.625; -} - -/* Tables */ - -article.single table { - margin-bottom: 1rem; - width: 100%; - border-collapse: collapse; - border-width: 1px; - --tw-border-opacity: 1; - border-color: rgb(0 0 0 / var(--tw-border-opacity)); -} - -article.single table tr, -article.single table td, -article.single table th { - border-width: 1px; - padding-left: 1rem; - padding-right: 1rem; - padding-top: 0.5rem; - padding-bottom: 0.5rem; - text-align: left; -} - -/* Unordered list */ - -article.single ul { - margin-bottom: 1.5rem; - list-style-type: disc; - padding-left: 1.5rem; -} - -@media (min-width: 768px) { - article.single ul { - padding-left: 2.5rem; - } -} - -/* Ordered list */ - -article.single ol { - list-style-type: decimal; - padding-left: 2rem; -} - -@media (min-width: 768px) { - article.single ol { - padding-left: 2.5rem; - } -} - -/* Katex */ - -article.single .katex-display { - margin-top: 2.5rem; - margin-bottom: 2.5rem; -} - -/* Lazy loading of iframes */ - -article.single .ll-iframe { - border-radius: 0.25rem; - --tw-bg-opacity: 1; - background-color: rgb(243 244 246 / var(--tw-bg-opacity)); -} - -article.single .ll-iframe::before { - display: flex; - height: 100%; -} - -@keyframes pulse { - 50% { - opacity: .5; - } -} - -article.single .ll-iframe::before { - animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; - cursor: pointer; - align-items: center; - justify-content: center; - border-radius: 0.25rem; - border-width: 2px; - --tw-border-opacity: 1; - border-color: rgb(209 213 219 / var(--tw-border-opacity)); - font-size: 0.875rem; - line-height: 1.25rem; - font-weight: 500; - content: 'Click here to load resource…'; -} - -article.single .ll-iframe.empty::before { - content: none; -} - -/* Cactus Comments */ - -.comments img { - max-width: auto !important; - max-width: unset !important; - max-width: inherit !important; -} - -.cactus-container .cactus-editor-textarea { - margin-bottom: 0.5rem; - height: 8rem; - width: 100%; - border-radius: 0.25rem; - border-width: 1px; - padding-left: 0.75rem; - padding-right: 0.75rem; - padding-top: 0.5rem; - padding-bottom: 0.5rem; - outline: 2px solid transparent; - outline-offset: 2px; -} - -.cactus-container .cactus-editor-name input { - margin-bottom: 0.5rem; - width: 100%; - border-radius: 0.25rem; - border-width: 1px; - padding-left: 0.75rem; - padding-right: 0.75rem; - padding-top: 0.5rem; - padding-bottom: 0.5rem; - outline: 2px solid transparent; - outline-offset: 2px; -} - -.cactus-container .cactus-editor-name { - margin-bottom: 0.25rem; -} - -/* Cactus: Buttons */ - -.cactus-editor-buttons { - display: flex; - gap: 0.5rem; -} - -.cactus-container .cactus-button { - border-radius: 0.25rem; - --tw-bg-opacity: 1; - background-color: rgb(229 231 235 / var(--tw-bg-opacity)); - padding-left: 1.5rem; - padding-right: 1.5rem; - padding-top: 0.5rem; - padding-bottom: 0.5rem; - font-size: 1rem; - line-height: 1.5rem; - font-weight: 500; -} - -.cactus-container .cactus-button:hover { - --tw-bg-opacity: 1; - background-color: rgb(209 213 219 / var(--tw-bg-opacity)); -} - -.cactus-container .cactus-editor { - margin-bottom: 2.5rem; -} - -/* Cactus: Comment List */ - -.cactus-container .cactus-comments-list { - display: flex; - flex-direction: column; - gap: 2rem; -} - -.cactus-container .cactus-comment { - display: flex; - gap: 1rem; -} - -.cactus-container .cactus-comment .cactus-comment-avatar img { - height: 2rem; - width: 2rem; - border-radius: 9999px; -} - -.cactus-container .cactus-comment .cactus-comment-avatar-placeholder { - height: 2rem; - width: 2rem; - border-radius: 9999px; - --tw-bg-opacity: 1; - background-color: rgb(209 213 219 / var(--tw-bg-opacity)); -} - -.cactus-container .cactus-comment .cactus-comment-header { - display: flex; - align-items: center; - gap: 0.5rem; -} - -.cactus-container .cactus-comment .cactus-comment-header .cactus-comment-displayname { - font-weight: 600; -} - -.cactus-container .cactus-comment .cactus-comment-header .cactus-comment-time { - font-size: 0.875rem; - line-height: 1.25rem; - --tw-text-opacity: 1; - color: rgb(156 163 175 / var(--tw-text-opacity)); -} - -.cactus-container .cactus-comment .cactus-message-text code { - border-radius: 0.25rem; - --tw-bg-opacity: 1; - background-color: rgb(254 249 195 / var(--tw-bg-opacity)); - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 0.25rem; - padding-bottom: 0.25rem; - font-size: 0.75rem; - line-height: 1rem; - font-weight: 500; -} - -/* Unordered list */ - -.cactus-container .cactus-comment .cactus-message-text ul { - list-style-type: disc; - padding-left: 0.5rem; -} - -@media (min-width: 768px) { - .cactus-container .cactus-comment .cactus-message-text ul { - padding-left: 1.5rem; - } -} - -/* Ordered list */ - -.cactus-container .cactus-comment .cactus-message-text ol { - list-style-type: decimal; - padding-left: 0.5rem; -} - -@media (min-width: 768px) { - .cactus-container .cactus-comment .cactus-message-text ol { - padding-left: 1.5rem; - } -} - -/* Cactus: Login */ - -.cactus-container .cactus-login-form-wrapper { - position: relative; - margin-bottom: 1.5rem; - border-radius: 0.25rem; - border-width: 1px; - padding: 0.75rem; -} - -.cactus-container .cactus-login-form .cactus-login-close { - position: absolute; - right: 0.75rem; - top: 0.75rem; - height: 1rem; - width: 1rem; -} - -.cactus-container .cactus-login-form .cactus-login-title { - margin-bottom: 1rem; - margin-top: 0px; - padding-top: 0px; - font-weight: 700; -} - -/* Cactus: Login with a button */ - -.cactus-container .cactus-login-form .cactus-login-client { - margin-bottom: 1.5rem; -} - -.cactus-container .cactus-login-form .cactus-login-client-title { - margin-bottom: 0.5rem; - font-weight: 600; -} - -/* Cactus: Login with credentials */ - -.cactus-container .cactus-login-form .cactus-login-credentials { -} - -.cactus-container .cactus-login-form .cactus-login-credentials-title { - margin-bottom: 0.25rem; - font-weight: 600; -} - -.cactus-container .cactus-login-form .cactus-login-field { - margin-bottom: 0.5rem; - display: flex; - align-items: center; - gap: 1rem; -} - -.cactus-container .cactus-login-form .cactus-login-label { - width: 5rem; -} - -.cactus-container .cactus-login-form input { - border-radius: 0.25rem; - border-width: 1px; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 0.25rem; - padding-bottom: 0.25rem; -} - -.hover\:bg-yellow-100:hover { - --tw-bg-opacity: 1; - background-color: rgb(254 249 195 / var(--tw-bg-opacity)); -} - -.hover\:text-gray-800:hover { - --tw-text-opacity: 1; - color: rgb(31 41 55 / var(--tw-text-opacity)); -} - -.hover\:underline:hover { - text-decoration-line: underline; -} - -@media (min-width: 768px) { - .md\:mb-0 { - margin-bottom: 0px; - } - - .md\:block { - display: block; - } - - .md\:flex-row { - flex-direction: row; - } - - .md\:p-0 { - padding: 0px; - } -} +/*! tailwindcss v3.2.1 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.mx-auto{margin-left:auto;margin-right:auto}.mb-10{margin-bottom:2.5rem}.mb-6{margin-bottom:1.5rem}.mb-1{margin-bottom:.25rem}.mb-12{margin-bottom:3rem}.mb-5{margin-bottom:1.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mt-4{margin-top:1rem}.ml-6{margin-left:1.5rem}.block{display:block}.flex{display:flex}.hidden{display:none}.h-full{height:100%}.w-full{width:100%}.flex-grow{flex-grow:1}.list-disc{list-style-type:disc}.flex-col{flex-direction:column}.items-center{align-items:center}.gap-1{gap:.25rem}.rounded{border-radius:.25rem}.border-2{border-width:2px}.border-0{border-width:0}.border-gray-100{--tw-border-opacity:1;border-color:rgb(243 244 246/var(--tw-border-opacity))}.bg-orange-600{--tw-bg-opacity:1;background-color:rgb(234 88 12/var(--tw-bg-opacity))}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-1{padding-left:.25rem;padding-right:.25rem}.py-4{padding-top:1rem;padding-bottom:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.pb-12{padding-bottom:3rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-extrabold{font-weight:800}.leading-tight{line-height:1.25}.leading-relaxed{line-height:1.625}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.container-blog{max-width:700px}::selection{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}::-moz-selection{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}article.single h2{margin-bottom:1rem;margin-top:2rem;font-size:1.5rem;line-height:2rem;font-weight:700}article.single h3{font-size:1.25rem}article.single h3,article.single h4{margin-bottom:1rem;margin-top:2rem;line-height:1.75rem;font-weight:700}article.single h4{font-size:1.125rem}article.single p{margin-bottom:1.25rem}article.single a{text-decoration-line:underline}article.single a:hover{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}article.single blockquote{background-image:url(/general/alert-light.svg);background-size:30px 30px;background-repeat:no-repeat;background-position:0 5px;margin-top:2rem;margin-bottom:2rem;padding-left:3rem}article.single img{margin-top:2rem;margin-bottom:2rem}article.single img,article.single video{width:100%;border-radius:.25rem;--tw-bg-opacity:1!important;background-color:rgb(249 250 251/var(--tw-bg-opacity))!important}article.single audio{margin-bottom:1.5rem;width:100%}article.single code{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity));padding:.25rem .5rem;font-weight:500}article.single code,article.single pre{border-radius:.25rem;font-size:.75rem;line-height:1rem}article.single pre{margin-bottom:1.5rem;overflow-x:auto;--tw-bg-opacity:1!important;background-color:rgb(249 250 251/var(--tw-bg-opacity))!important;padding:1rem}article.single pre code{background:unset;padding:unset;line-height:1.625}article.single table{margin-bottom:1rem;width:100%;border-collapse:collapse;border-width:1px;--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity))}article.single table td,article.single table th,article.single table tr{border-width:1px;padding:.5rem 1rem;text-align:left}article.single ul{margin-bottom:1.5rem;list-style-type:disc;padding-left:1.5rem}@media (min-width:768px){article.single ul{padding-left:2.5rem}}article.single ol{list-style-type:decimal;padding-left:2rem}@media (min-width:768px){article.single ol{padding-left:2.5rem}}article.single .katex-display{margin-top:2.5rem;margin-bottom:2.5rem}article.single .ll-iframe{border-radius:.25rem;--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}article.single .ll-iframe:before{display:flex;height:100%}@keyframes pulse{50%{opacity:.5}}article.single .ll-iframe:before{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite;cursor:pointer;align-items:center;justify-content:center;border-radius:.25rem;border-width:2px;--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity));font-size:.875rem;line-height:1.25rem;font-weight:500;content:"Click here to load resource…"}article.single .ll-iframe.empty:before{content:none}.comments img{max-width:auto!important;max-width:unset!important;max-width:inherit!important}.cactus-container .cactus-editor-textarea{height:8rem}.cactus-container .cactus-editor-name input,.cactus-container .cactus-editor-textarea{margin-bottom:.5rem;width:100%;border-radius:.25rem;border-width:1px;padding:.5rem .75rem;outline:2px solid #0000;outline-offset:2px}.cactus-container .cactus-editor-name{margin-bottom:.25rem}.cactus-editor-buttons{display:flex;gap:.5rem}.cactus-container .cactus-button{border-radius:.25rem;--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity));padding:.5rem 1.5rem;font-size:1rem;line-height:1.5rem;font-weight:500}.cactus-container .cactus-button:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.cactus-container .cactus-editor{margin-bottom:2.5rem}.cactus-container .cactus-comments-list{display:flex;flex-direction:column;gap:2rem}.cactus-container .cactus-comment{display:flex;gap:1rem}.cactus-container .cactus-comment .cactus-comment-avatar img{height:2rem;width:2rem;border-radius:9999px}.cactus-container .cactus-comment .cactus-comment-avatar-placeholder{height:2rem;width:2rem;border-radius:9999px;--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.cactus-container .cactus-comment .cactus-comment-header{display:flex;align-items:center;gap:.5rem}.cactus-container .cactus-comment .cactus-comment-header .cactus-comment-displayname{font-weight:600}.cactus-container .cactus-comment .cactus-comment-header .cactus-comment-time{font-size:.875rem;line-height:1.25rem;--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.cactus-container .cactus-comment .cactus-message-text code{border-radius:.25rem;--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity));padding:.25rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500}.cactus-container .cactus-comment .cactus-message-text ul{list-style-type:disc;padding-left:.5rem}@media (min-width:768px){.cactus-container .cactus-comment .cactus-message-text ul{padding-left:1.5rem}}.cactus-container .cactus-comment .cactus-message-text ol{list-style-type:decimal;padding-left:.5rem}@media (min-width:768px){.cactus-container .cactus-comment .cactus-message-text ol{padding-left:1.5rem}}.cactus-container .cactus-login-form-wrapper{position:relative;margin-bottom:1.5rem;border-radius:.25rem;border-width:1px;padding:.75rem}.cactus-container .cactus-login-form .cactus-login-close{position:absolute;right:.75rem;top:.75rem;height:1rem;width:1rem}.cactus-container .cactus-login-form .cactus-login-title{margin-bottom:1rem;margin-top:0;padding-top:0;font-weight:700}.cactus-container .cactus-login-form .cactus-login-client{margin-bottom:1.5rem}.cactus-container .cactus-login-form .cactus-login-client-title{margin-bottom:.5rem;font-weight:600}.cactus-container .cactus-login-form .cactus-login-credentials-title{margin-bottom:.25rem;font-weight:600}.cactus-container .cactus-login-form .cactus-login-field{margin-bottom:.5rem;display:flex;align-items:center;gap:1rem}.cactus-container .cactus-login-form .cactus-login-label{width:5rem}.cactus-container .cactus-login-form input{border-radius:.25rem;border-width:1px;padding:.25rem .5rem}.hover\:bg-yellow-100:hover{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.hover\:text-gray-800:hover{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}@media (min-width:768px){.md\:mb-0{margin-bottom:0}.md\:block{display:block}.md\:flex-row{flex-direction:row}.md\:p-0{padding:0}} \ No newline at end of file diff --git a/themes/simple/openring/openring.html b/themes/simple/openring/openring.html index 577ec5c..bd9ac55 100755 --- a/themes/simple/openring/openring.html +++ b/themes/simple/openring/openring.html @@ -4,16 +4,16 @@
{{ range .Articles }} {{ end }}
-

- Generated by openring. +

+ Generated with openring.

-- cgit v1.2.3