mirror of
https://github.com/ipfs/ipfs-blog.git
synced 2026-08-10 19:02:48 +02:00
Add callout and other custom markdown containers
This commit is contained in:
@@ -249,6 +249,27 @@ module.exports = {
|
||||
countdown: 0,
|
||||
},
|
||||
],
|
||||
[
|
||||
'vuepress-plugin-container',
|
||||
{
|
||||
type: 'callout',
|
||||
defaultTitle: ''
|
||||
}
|
||||
],
|
||||
[
|
||||
'vuepress-plugin-container',
|
||||
{
|
||||
type: 'right',
|
||||
defaultTitle: ''
|
||||
}
|
||||
],
|
||||
[
|
||||
'vuepress-plugin-container',
|
||||
{
|
||||
type: 'left',
|
||||
defaultTitle: ''
|
||||
}
|
||||
],
|
||||
'vuepress-plugin-chunkload-redirect',
|
||||
['vuepress-plugin-ipfs', IPFS_DEPLOY],
|
||||
],
|
||||
|
||||
@@ -29,3 +29,27 @@
|
||||
.hr-transparent {
|
||||
@apply bg-white opacity-60;
|
||||
}
|
||||
|
||||
|
||||
.custom-block.callout {
|
||||
background-color: #cae8e8;
|
||||
padding: 1rem 2rem;
|
||||
border-color: #296161;
|
||||
border-left-width: 0.5rem;
|
||||
border-left-style: solid;
|
||||
}
|
||||
|
||||
.custom-block.callout p {
|
||||
line-height: 32px;
|
||||
}
|
||||
|
||||
|
||||
.custom-block.right {
|
||||
float: right;
|
||||
padding: 1em 0 1em 1em;
|
||||
}
|
||||
|
||||
.custom-block.left {
|
||||
float: left;
|
||||
padding: 1em 1em 1em 0em;
|
||||
}
|
||||
Reference in New Issue
Block a user