mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
feat(attachments): rename styles with colors + delete red style + add grey style
This commit is contained in:
parent
3e61961bfa
commit
389b9858a4
3 changed files with 20 additions and 20 deletions
|
@ -1,8 +1,8 @@
|
||||||
- récriture doc -> TODO
|
- récriture doc -> TODO
|
||||||
- créer une section Showcase
|
- créer une section Showcase
|
||||||
- créer des jolis thèmes de base (avec des noms) -> TODO
|
- créer des jolis thèmes de base (avec des noms) -> TODO
|
||||||
- ajouter les childs -> TODO
|
|
||||||
|
|
||||||
|
- ajouter les childs -> OK
|
||||||
- ajouter les attachments -> OK
|
- ajouter les attachments -> OK
|
||||||
- refaire la possibilité d'overrider le style/script/etc -> OK
|
- refaire la possibilité d'overrider le style/script/etc -> OK
|
||||||
- sticky bar -> OK
|
- sticky bar -> OK
|
||||||
|
|
|
@ -14,10 +14,10 @@ To avoid this limitations, Hugo created [shortcodes](https://gohugo.io/extras/sh
|
||||||
|
|
||||||
## Attachments
|
## Attachments
|
||||||
|
|
||||||
{{% attachments style="info" /%}}
|
{{% attachments style="orange" /%}}
|
||||||
{{% attachments style="warning" /%}}
|
{{% attachments style="grey" /%}}
|
||||||
{{% attachments style="note" /%}}
|
{{% attachments style="blue" /%}}
|
||||||
{{% attachments style="tip" /%}}
|
{{% attachments style="green" /%}}
|
||||||
{{% attachments /%}}
|
{{% attachments /%}}
|
||||||
|
|
||||||
## Notice
|
## Notice
|
||||||
|
|
|
@ -554,42 +554,42 @@ section.attachments .attachments-files {
|
||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.attachments.info label {
|
section.attachments.orange label {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: #F0B37E;
|
background: #F0B37E;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.attachments.info .attachments-files {
|
section.attachments.orange .attachments-files {
|
||||||
background: #FFF2DB;
|
background: #FFF2DB;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.attachments.tip label {
|
section.attachments.green label {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: rgba(92, 184, 92, 0.8);
|
background: rgba(92, 184, 92, 0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
section.attachments.tip .attachments-files {
|
section.attachments.green .attachments-files {
|
||||||
background: #E6F9E6;
|
background: #E6F9E6;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.attachments.warning label {
|
section.attachments.blue label {
|
||||||
color: #fff;
|
|
||||||
background: rgba(217, 83, 79, 0.8);
|
|
||||||
}
|
|
||||||
|
|
||||||
section.attachments.warning .attachments-files {
|
|
||||||
background: #FAE2E2;
|
|
||||||
}
|
|
||||||
|
|
||||||
section.attachments.note label {
|
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: #6AB0DE;
|
background: #6AB0DE;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.attachments.note .attachments-files {
|
section.attachments.blue .attachments-files {
|
||||||
background: #E7F2FA;
|
background: #E7F2FA;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
section.attachments.grey label {
|
||||||
|
color: #fff;
|
||||||
|
background: #505d65;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.attachments.grey .attachments-files {
|
||||||
|
background: #f4f4f4;
|
||||||
|
}
|
||||||
|
|
||||||
/* Children shortcode */
|
/* Children shortcode */
|
||||||
|
|
||||||
/* Children shortcode */
|
/* Children shortcode */
|
||||||
|
|
Loading…
Reference in a new issue