Adding series admonition
This commit is contained in:
@@ -6,3 +6,5 @@
|
||||
translation: "Info"
|
||||
- id: tip
|
||||
translation: "Tip"
|
||||
- id: series
|
||||
translation: "Series"
|
||||
|
||||
@@ -60,6 +60,14 @@
|
||||
background: #e6f9e6
|
||||
}
|
||||
|
||||
.notice.series .notice-title {
|
||||
background: rgb(96.1%, 89.4%, 45.1%)
|
||||
}
|
||||
|
||||
.notice.series {
|
||||
background: #FFFFE7
|
||||
}
|
||||
|
||||
.icon-notice {
|
||||
display: inline-flex;
|
||||
align-self: center;
|
||||
@@ -92,6 +100,9 @@
|
||||
<symbol id="info-notice" viewBox="0 0 512 512" preserveAspectRatio="xMidYMid meet">
|
||||
<path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z" />
|
||||
</symbol>
|
||||
<symbol id="series-notice" viewBox="0 0 512 512" preserveAspectRatio="xMidYMid meet">
|
||||
<path d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z" />
|
||||
</symbol>
|
||||
</svg>
|
||||
{{- end -}}
|
||||
{{- $.Page.Scratch.Add "noticecount" 1 -}}
|
||||
|
||||
Reference in New Issue
Block a user