Improved styling
Some checks failed
Build, Tag, Push Docker Image / build (push) Has been cancelled
Create Release / Generate Release (push) Has been cancelled

This commit is contained in:
Mia Rose Winter 2024-03-11 15:39:34 +01:00
parent a9269ece30
commit 587d6cafc2
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E
3 changed files with 13 additions and 7 deletions

View file

@ -65,8 +65,8 @@
</section> </section>
</div> </div>
@if (Featured is {} featured) { @if (Featured is {} featured) {
<div class="sm:col-span-2 row-span-2 aspect-square xl:order-first"> <div class="sm:col-span-2 row-span-2 aspect-square xl:order-first" style="padding: 0 4px 4px 0">
<ArticleLink Article="featured" class=""> <ArticleLink Article="featured">
<article class="relative h-full bg-secondary text-secondary-content border-2 border-current shadow-[4px_4px_0_0_currentColor]"> <article class="relative h-full bg-secondary text-secondary-content border-2 border-current shadow-[4px_4px_0_0_currentColor]">
<div class="absolute inset-8 overflow-hidden fade-away"> <div class="absolute inset-8 overflow-hidden fade-away">
<div class="mb-3"> <div class="mb-3">

View file

@ -1,3 +1,4 @@
/** @type {import('tailwindcss').Config} */ /** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme') const defaultTheme = require('tailwindcss/defaultTheme')
@ -46,6 +47,11 @@ module.exports = {
fontWeight: { fontWeight: {
normal: '400', normal: '400',
bold: '700' bold: '700'
},
borderRadius: {
DEFAULT: '0.1rem',
'md': '0.2rem',
'lg': '0.35rem',
} }
}, },
plugins: [require("daisyui"), require('@tailwindcss/typography')], plugins: [require("daisyui"), require('@tailwindcss/typography')],
@ -74,9 +80,9 @@ module.exports = {
"error": "#B3020E", "error": "#B3020E",
"error-content": "#FFFFFF", "error-content": "#FFFFFF",
"--rounded-box": "0.5rem", "--rounded-box": "0.2rem",
"--rounded-btn": "0.2rem", "--rounded-btn": "0.2rem",
"--rounded-badge": "0.2rem", "--rounded-badge": "0.2rem"
} }
}, },
{ {
@ -101,9 +107,9 @@ module.exports = {
"error": "#610107", "error": "#610107",
"error-content": "#FFFFFF", "error-content": "#FFFFFF",
"--rounded-box": "0.5rem", "--rounded-box": "0.2rem",
"--rounded-btn": "0.2rem", "--rounded-btn": "0.2rem",
"--rounded-badge": "0.2rem", "--rounded-badge": "0.2rem"
} }
}, },
{ {

File diff suppressed because one or more lines are too long