Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions en/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ markdown_extensions:
extra_css:
- assets/libs/fontawesome-free-6.4.2-web/css/all.min.css
- assets/css/theme.css
- assets/css/admonition.css
- https://cdnjs.cloudflare.com/ajax/libs/octicons/8.5.0/build.css

extra_javascript:
Expand Down
52 changes: 52 additions & 0 deletions en/theme/material/assets/css/admonition.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/**
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

.md-typeset .admonition,
.md-typeset .admonition.note,
.md-typeset .admonition.abstract,
.md-typeset .admonition.info,
.md-typeset .admonition.tip,
.md-typeset .admonition.success,
.md-typeset .admonition.question,
.md-typeset .admonition.warning,
.md-typeset .admonition.failure,
.md-typeset .admonition.danger,
.md-typeset .admonition.bug,
.md-typeset .admonition.example,
.md-typeset .admonition.quote,
.md-typeset .admonition.important {
font-size: 16px;
}

[data-md-color-scheme="slate"] .md-typeset .admonition,
[data-md-color-scheme="slate"] .md-typeset .admonition.note,
[data-md-color-scheme="slate"] .md-typeset .admonition.abstract,
[data-md-color-scheme="slate"] .md-typeset .admonition.info,
[data-md-color-scheme="slate"] .md-typeset .admonition.tip,
[data-md-color-scheme="slate"] .md-typeset .admonition.success,
[data-md-color-scheme="slate"] .md-typeset .admonition.question,
[data-md-color-scheme="slate"] .md-typeset .admonition.warning,
[data-md-color-scheme="slate"] .md-typeset .admonition.failure,
[data-md-color-scheme="slate"] .md-typeset .admonition.danger,
[data-md-color-scheme="slate"] .md-typeset .admonition.bug,
[data-md-color-scheme="slate"] .md-typeset .admonition.example,
[data-md-color-scheme="slate"] .md-typeset .admonition.quote,
[data-md-color-scheme="slate"] .md-typeset .admonition.important {
background-color: #0000002b;
color: #ffffffa6;
}