Skip to content

Commit

Permalink
Improved styling
Browse files Browse the repository at this point in the history
  • Loading branch information
miawinter98 committed Mar 11, 2024
1 parent a9269ec commit 587d6ca
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Wave/Components/Pages/Home.razor
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
</section>
</div>
@if (Featured is {} featured) {
<div class="sm:col-span-2 row-span-2 aspect-square xl:order-first">
<ArticleLink Article="featured" class="">
<div class="sm:col-span-2 row-span-2 aspect-square xl:order-first" style="padding: 0 4px 4px 0">
<ArticleLink Article="featured">
<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="mb-3">
Expand Down
14 changes: 10 additions & 4 deletions Wave/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme')

Expand Down Expand Up @@ -46,6 +47,11 @@ module.exports = {
fontWeight: {
normal: '400',
bold: '700'
},
borderRadius: {
DEFAULT: '0.1rem',
'md': '0.2rem',
'lg': '0.35rem',
}
},
plugins: [require("daisyui"), require('@tailwindcss/typography')],
Expand Down Expand Up @@ -74,9 +80,9 @@ module.exports = {
"error": "#B3020E",
"error-content": "#FFFFFF",

"--rounded-box": "0.5rem",
"--rounded-box": "0.2rem",
"--rounded-btn": "0.2rem",
"--rounded-badge": "0.2rem",
"--rounded-badge": "0.2rem"
}
},
{
Expand All @@ -101,9 +107,9 @@ module.exports = {
"error": "#610107",
"error-content": "#FFFFFF",

"--rounded-box": "0.5rem",
"--rounded-box": "0.2rem",
"--rounded-btn": "0.2rem",
"--rounded-badge": "0.2rem",
"--rounded-badge": "0.2rem"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion Wave/wwwroot/css/main.min.css

Large diffs are not rendered by default.

0 comments on commit 587d6ca

Please sign in to comment.