set up new workflow and migrate to .forgejo dir (#5)
Some checks failed
Deploy / deploy (push) Failing after 39s
Some checks failed
Deploy / deploy (push) Failing after 39s
Co-authored-by: Benjamin Palko <benjaminpalko@hotmail.com> Reviewed-on: #5
This commit is contained in:
parent
c37955c51b
commit
f526f5c0aa
99 changed files with 1866 additions and 1470 deletions
|
|
@ -1,9 +1,11 @@
|
|||
### card
|
||||
|
||||
Cards are used to group and display content
|
||||
|
||||
[card docs](https://daisyui.com/components/card/)
|
||||
|
||||
#### Class names
|
||||
|
||||
- component: `card`
|
||||
- part: `card-title`, `card-body`, `card-actions`
|
||||
- style: `card-border`, `card-dash`
|
||||
|
|
@ -11,18 +13,20 @@ Cards are used to group and display content
|
|||
- size: `card-xs`, `card-sm`, `card-md`, `card-lg`, `card-xl`
|
||||
|
||||
#### Syntax
|
||||
|
||||
```html
|
||||
<div class="card {MODIFIER}">
|
||||
<figure><img src="{image-url}" alt="{alt-text}" /></figure>
|
||||
<div class="card-body">
|
||||
<h2 class="card-title">{title}</h2>
|
||||
<p>{CONTENT}</p>
|
||||
<div class="card-actions">{actions}</div>
|
||||
</div>
|
||||
<figure><img src="{image-url}" alt="{alt-text}" /></figure>
|
||||
<div class="card-body">
|
||||
<h2 class="card-title">{title}</h2>
|
||||
<p>{CONTENT}</p>
|
||||
<div class="card-actions">{actions}</div>
|
||||
</div>
|
||||
</div>
|
||||
```
|
||||
|
||||
#### Rules
|
||||
|
||||
- {MODIFIER} is optional and can have one of the modifier class names and one of the size class names
|
||||
- `<figure>` and `<div class="card-body">` are optional
|
||||
- can use `sm:card-side` for responsive layouts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue