mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-26 00:16:28 +08:00
2f8829d3f6
Make all table align center.
32 lines
854 B
CSS
32 lines
854 B
CSS
/* https://github.com/squidfunk/mkdocs-material/blob/6b5035f5580f97532d664e3d1babf5f320e88ee9/src/assets/stylesheets/main/_colors.scss */
|
|
/* https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#custom-colors */
|
|
|
|
:root > * {
|
|
--md-primary-fg-color: #FFFFFF;
|
|
--md-primary-bg-color: #1D1D20;
|
|
|
|
--md-accent-fg-color: #999;
|
|
|
|
--md-typeset-color: #1D1D20;
|
|
--md-typeset-a-color: #2CA44F;
|
|
}
|
|
|
|
[data-md-color-scheme="slate"] {
|
|
--md-primary-fg-color: #2E303E;
|
|
--md-primary-bg-color: #FEFEFE;
|
|
|
|
--md-accent-fg-color: #999;
|
|
|
|
--md-typeset-color: #FEFEFE;
|
|
--md-typeset-a-color: #31BC5A;
|
|
}
|
|
|
|
/* Center Markdown Tables (requires md_in_html extension) */
|
|
.center-table {
|
|
text-align: center;
|
|
}
|
|
|
|
.md-typeset .center-table :is(td,th):not([align]) {
|
|
/* Reset alignment for table cells */
|
|
text-align: initial;
|
|
}
|