-
-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
294 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
.notice { | ||
padding-left: 0; | ||
padding-right: 0; | ||
width: 100%; | ||
@include themed() { | ||
background-color: t('notice-info'); | ||
} | ||
|
||
&--update { | ||
@include themed() { | ||
background-color: t('notice-update'); | ||
} | ||
} | ||
&--warning { | ||
@include themed() { | ||
background-color: t('notice-warning'); | ||
} | ||
} | ||
|
||
&__title { | ||
background-color: rgb(96, 134, 180); | ||
float: right; | ||
font-weight: 300; | ||
letter-spacing: 0.025em; | ||
margin-bottom: 0.25rem; | ||
margin-left: 1rem; | ||
padding-left: 1rem; | ||
padding-right: 1rem; | ||
@include themed() { | ||
color: t('accent'); | ||
} | ||
|
||
&--update { | ||
background-color: rgb(81, 216, 138); | ||
} | ||
&--warning { | ||
background-color: rgb(239, 87, 83); | ||
} | ||
} | ||
|
||
&__content { | ||
margin-bottom: 1.5rem; | ||
margin-left: auto; | ||
margin-right: auto; | ||
max-width: 100%; | ||
padding-left: 1rem; | ||
padding-right: 1rem; | ||
padding-top: 8px; | ||
padding-bottom: 8px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
title: 'The Notice Shortcode' | ||
date: 2022-03-18T21:47:41+00:00 | ||
draft: false | ||
tags: | ||
- demo | ||
- shortcode | ||
--- | ||
|
||
The notice shortcode supports three different types of disclaimers. These are as following: | ||
|
||
## Info Box | ||
|
||
``` | ||
{{%/* notice info */%}} | ||
Lorem Impsum.. | ||
{{%/* /notice */%}} | ||
``` | ||
|
||
{{< notice info >}} | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
{{< /notice >}} | ||
|
||
## Update Box | ||
|
||
``` | ||
{{%/* notice update */%}} | ||
Lorem Impsum.. | ||
{{%/* /notice */%}} | ||
``` | ||
|
||
{{< notice update >}} | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
{{< /notice >}} | ||
|
||
## Warning Box | ||
|
||
``` | ||
{{%/* notice warning */%}} | ||
Lorem Impsum.. | ||
{{%/* /notice */%}} | ||
``` | ||
|
||
{{< notice warning >}} | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
{{< /notice >}} |
2 changes: 1 addition & 1 deletion
2
...resources/_gen/assets/scss/scss/anatole.rtl.scss_97af51e696731e38130ed73ef4f4756e.content
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...te/resources/_gen/assets/scss/scss/anatole.rtl.scss_97af51e696731e38130ed73ef4f4756e.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"Target":"scss/main.rtl.min.452d226cf794eb977023db629849a66f3dd5ec9a9ed987d4687be9d6fceb2768.css","MediaType":"text/css","Data":{"Integrity":"sha256-RS0ibPeU65dwI9timEmmbz3V7Jqe2YfUaHvp1vzrJ2g="}} | ||
{"Target":"scss/main.rtl.min.296ab228202f651f6706654142649ed3a0bc65eb9fc0fde6448b447d2b854e9a.css","MediaType":"text/css","Data":{"Integrity":"sha256-KWqyKCAvZR9nBmVBQmSe06C8ZeufwP3mRItEfSuFTpo="}} |
2 changes: 1 addition & 1 deletion
2
...ite/resources/_gen/assets/scss/scss/anatole.scss_dcc8b7002348ef29d44bd1c4b6ae0aca.content
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...leSite/resources/_gen/assets/scss/scss/anatole.scss_dcc8b7002348ef29d44bd1c4b6ae0aca.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"Target":"scss/main.min.dd48129ac8fa8b31b5a5a0d72c50c389e3b176809b8dbd7ccdc0ef3c325d78f9.css","MediaType":"text/css","Data":{"Integrity":"sha256-3UgSmsj6izG1paDXLFDDieOxdoCbjb18zcDvPDJdePk="}} | ||
{"Target":"scss/main.min.5e97de8b79598e6a57c13b2c70465b6990ec2d66a77a928c7b2dc0b8aa828191.css","MediaType":"text/css","Data":{"Integrity":"sha256-Xpfei3lZjmpXwTsscEZbaZDsLWanepKMey3AuKqCgZE="}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,3 +38,12 @@ other = "이메일" | |
|
||
[message] | ||
other = "메시지" | ||
|
||
[warning] | ||
other = "경고" | ||
|
||
[info] | ||
other = "경고" | ||
|
||
[update] | ||
other = "업데이트" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.