Improved styling
This commit is contained in:
parent
a9269ece30
commit
587d6cafc2
|
@ -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">
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
2
Wave/wwwroot/css/main.min.css
vendored
2
Wave/wwwroot/css/main.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue