-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #70 from daizutabi/feature-template
Update stylesheets
- Loading branch information
Showing
13 changed files
with
168 additions
and
212 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
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
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build" | |
|
||
[project] | ||
name = "mkapi" | ||
description = "A documentation generation tool for MkDocs" | ||
description = "A plugin for MkDocs to generate API documentation" | ||
readme = "README.md" | ||
license = "MIT" | ||
authors = [{ name = "daizutabi", email = "[email protected]" }] | ||
|
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 |
---|---|---|
@@ -0,0 +1,106 @@ | ||
h1.mkapi-heading, | ||
h2.mkapi-heading, | ||
h3.mkapi-heading, | ||
h4.mkapi-heading, | ||
h5.mkapi-heading, | ||
p.mkapi-heading { | ||
font-size: 85%; | ||
font-weight: normal; | ||
text-align-last: justify; | ||
margin-bottom: 0px; | ||
} | ||
.mkapi-heading-name { | ||
color: var(--mkapi-heading-name-color); | ||
} | ||
.mkapi-heading-name a { | ||
color: unset; | ||
} | ||
p.mkapi-object { | ||
margin-block-start: 0px; | ||
margin-block-end: 0px; | ||
border-top: 2px solid var(--mkapi-object-border-color); | ||
} | ||
.mkapi-object-kind { | ||
color: var(--mkapi-object-kind-color); | ||
font-size: 90%; | ||
font-style: italic; | ||
} | ||
.mkapi-object-name { | ||
color: var(--mkapi-object-name-color); | ||
font-family: var(--mkapi-object-name-font-family); | ||
font-weight: bold; | ||
font-size: 1.1em; | ||
} | ||
.mkapi-prefix { | ||
color: var(--mkapi-prefix-color); | ||
} | ||
.mkapi-dot { | ||
color: var(--mkapi-punctuation-color); | ||
} | ||
.mkapi-arg { | ||
color: var(--mkapi-arg-color); | ||
font-style: italic; | ||
} | ||
.mkapi-default, .mkapi-star { | ||
color: var(--mkapi-variable-color); | ||
} | ||
.mkapi-paren { | ||
color: var(--mkapi-punctuation-color); | ||
margin-left: 2px; | ||
margin-right: 2px; | ||
} | ||
.mkapi-star, .mkapi-slash { | ||
color: var(--mkapi-punctuation-color); | ||
margin-left: 0px; | ||
margin-right: 2px; | ||
} | ||
.mkapi-comma, .mkapi-colon { | ||
color: var(--mkapi-punctuation-color); | ||
margin-left: 2px; | ||
margin-right: 0px; | ||
} | ||
.mkapi-equal, .mkapi-arrow { | ||
color: var(--mkapi-punctuation-color); | ||
margin-left: 0px; | ||
margin-right: 0px; | ||
} | ||
p.mkapi-object-bases { | ||
color: var(--mkapi-object-bases-color); | ||
font-size: 85%; | ||
margin-block-start: 0px; | ||
} | ||
.mkapi-section-name { | ||
color: var(--mkapi-section-name-color); | ||
border-bottom: thin solid var(--mkapi-section-border-color); | ||
font-size: 1.05em; | ||
} | ||
.mkapi-item-name { | ||
color: var(--mkapi-item-name-color); | ||
font-weight: bold; | ||
} | ||
.mkapi-item-type, .mkapi-object-type, .mkapi-ann, .mkapi-return { | ||
color: var(--mkapi-type-color); | ||
} | ||
.mkapi-example-input pre { | ||
margin-bottom: 0px; | ||
} | ||
.mkapi-example-output pre { | ||
margin-top: 0px; | ||
} | ||
.mkapi-example-input code { | ||
font-size: 85%; | ||
background-color: var(--mkapi-example-bg-color); | ||
} | ||
.mkapi-example-output code { | ||
font-size: 85%; | ||
border: solid var(--mkapi-example-bg-color); | ||
background-color: transparent; | ||
} | ||
.mkapi-source code { | ||
font-size: 85%; | ||
} | ||
.mkapi-docs-link { | ||
font-family: var(--mkapi-docs-link-font-family); | ||
display: block; | ||
float: right; | ||
} |
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,34 @@ | ||
[data-md-color-scheme="default"], | ||
[data-md-color-scheme="slate"] { | ||
--mkapi-heading-name-color: var(--md-default-fg-color--lighter); | ||
--mkapi-object-border-color: var(--md-default-fg-color--light); | ||
--mkapi-object-kind-color: var(--md-default-fg-color--light); | ||
--mkapi-object-name-color: var(--md-code-hl-name-color); | ||
--mkapi-object-name-font-family: var(--md-code-font-family); | ||
--mkapi-prefix-color: var(--md-code-hl-name-color); | ||
--mkapi-arg-color: var(--md-code-hl-name-color); | ||
--mkapi-punctuation-color: var(--md-code-hl-punctuation-color); | ||
--mkapi-variable-color: var(--md-code-hl-variable-color); | ||
--mkapi-object-bases-color: var(--md-default-fg-color--light); | ||
--mkapi-section-name-color: var(--md-default-fg-color); | ||
--mkapi-section-border-color: var(--md-default-fg-color--light); | ||
--mkapi-type-color: var(--md-code-hl-variable-color); | ||
--mkapi-item-name-color: var(--md-default-fg-color); | ||
--mkapi-example-bg-color: var(--md-code-bg-color); | ||
--mkapi-docs-link-font-family: var(--md-text-font-family); | ||
} | ||
|
||
.md-typeset .admonition.deprecated, | ||
.md-typeset details.deprecated { | ||
border-color: #ff5252; | ||
} | ||
.md-typeset .deprecated > .admonition-title, | ||
.md-typeset .deprecated > summary { | ||
background-color: #ff52521a; | ||
} | ||
.md-typeset .deprecated > .admonition-title::before, | ||
.md-typeset .deprecated > summary::before { | ||
background-color: #ff5252; | ||
-webkit-mask-image: var(--md-admonition-icon--info); | ||
mask-image: var(--md-admonition-icon--info); | ||
} |
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
Oops, something went wrong.