-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit e80aed1.
- Loading branch information
1 parent
e80aed1
commit 5e5bb8c
Showing
4 changed files
with
257 additions
and
96 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
@media print { | ||
/* Adjusts positioning of admonition icon */ | ||
.md-typeset :is(.admonition-title,summary):before { | ||
top: 0.6rem; | ||
left: 0.6rem; | ||
} | ||
} | ||
/* Adjusts positioning of admonition icon */ | ||
.md-typeset :is(.admonition-title,summary):before { | ||
top: 0.6rem; | ||
left: 0.6rem; | ||
} | ||
} |
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,148 @@ | ||
[data-md-color-scheme="percona-light"] { | ||
--md-primary-fg-color: #0d184c; | ||
--md-primary-fg-color--light: #3e4875; | ||
--md-default-fg-color--lightest: #9096b0; | ||
--md-primary-fg-color--dark: #080e2e; | ||
--md-typeset-a-color: #2cbea2; | ||
} | ||
[data-md-color-scheme="slate"] { | ||
--md-primary-fg-color: #0d184c; | ||
/* | ||
--md-primary-fg-color--light: #3e4875; | ||
--md-primary-fg-color--dark: #080e2e; | ||
*/ | ||
--md-typeset-a-color: #2cbea2; | ||
--md-hue: 210; /* [0, 360] */ | ||
} | ||
ul li p { | ||
margin: 0; | ||
} | ||
|
||
.md-clipboard { | ||
color: #2cbea2; | ||
} | ||
|
||
.md-typeset { | ||
font-size: .7rem; | ||
line-height: 1.5; | ||
} | ||
|
||
.md-typeset h1 { | ||
color: var(--md-default-fg-color--light); | ||
font-size: 2em; | ||
font-weight: 400; | ||
line-height: 1.3; | ||
margin: 0 0 0.9em; | ||
} | ||
|
||
.md-typeset h2 { | ||
font-size: 1.5625em; | ||
line-height: 1.4; | ||
margin: 1em 0 .54em; | ||
} | ||
|
||
article table { | ||
page-break-before: auto !important; | ||
page-break-inside: auto !important; | ||
} | ||
|
||
article ol { | ||
page-break-before: auto !important; | ||
page-break-inside: auto !important; | ||
} | ||
|
||
.md-typeset .md-button { | ||
border: .1rem solid; | ||
border-radius: 50px; | ||
color: var(--md-typeset-a-color); | ||
cursor: pointer; | ||
display: inline-block; | ||
font-weight: 700; | ||
padding: .625em 2em; | ||
transition:color 125ms, background-color 125ms, border-color 125ms | ||
} | ||
|
||
.md-typeset .md-button--primary { | ||
background-color: var(--md-typeset-a-color); | ||
border-color: var(--md-typeset-a-color); | ||
color:var(--md-primary-bg-color) | ||
} | ||
|
||
.md-typeset .md-button:focus, .md-typeset .md-button:hover { | ||
background-color: var(--md-accent-fg-color); | ||
border-color: var(--md-accent-fg-color); | ||
color:var(--md-accent-bg-color) | ||
} | ||
|
||
section { | ||
page-break-before: auto !important; | ||
page-break-inside: auto !important; | ||
} | ||
|
||
/* Custom Banner */ | ||
[data-banner] { | ||
padding: 1.5em; | ||
margin: 2em 0; | ||
border: 0.05rem solid var(--md-default-fg-color--lighter); | ||
/* border: 0.05rem solid var(--md-typeset-table-color); */ | ||
border-radius: 0.2rem; | ||
} | ||
[data-banner] .title { | ||
font-weight: normal; | ||
margin: 0; | ||
} | ||
[data-banner] > :last-child { | ||
margin-bottom: 0; | ||
} | ||
[data-banner] a:link { | ||
font-weight: bold; | ||
} | ||
[data-banner] .actions > p { | ||
margin: 0; | ||
} | ||
[data-banner] .actions a { | ||
display: inline-block; | ||
margin: 0.5em 1.5em 0 0; | ||
} | ||
[data-banner] > :only-child, | ||
[data-banner] .actions a:first-of-type { | ||
margin-top: 0; | ||
} | ||
[data-banner] a [class*="moji"] { | ||
height: 1.3333em; | ||
vertical-align: -0.3333em; | ||
} | ||
[data-banner] a [class*="moji"] svg { | ||
width: 1.3333em; | ||
} | ||
[data-grid] { | ||
display: flex; | ||
flex-wrap: wrap; | ||
margin-right: -1rem; | ||
} | ||
[data-grid] [data-banner] { | ||
flex: 1 1 320px; | ||
display: flex; | ||
flex-direction: column; | ||
margin: 0 1rem 1rem 0; | ||
} | ||
[data-grid] .title { | ||
font-size: 0.8rem; | ||
font-weight: bold; | ||
} | ||
[data-grid] [data-banner] > p:last-child { | ||
margin-top: 0; | ||
} | ||
[data-grid] [data-banner] > p:nth-last-child(2) { | ||
flex-grow: 2; | ||
} | ||
[data-grid] + [data-banner] { | ||
margin-top: 0; | ||
} | ||
[data-grid] .md-button { | ||
margin: 0.5em 0.25em 0 0; | ||
} | ||
|
||
/*.git-revision-date-localized-plugin:before { | ||
content: url('https://api.iconify.design/mdi/clock-edit-outline.svg'); | ||
}*/ |
Oops, something went wrong.