mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Finished footnotes integration
This commit is contained in:
parent
8cac945757
commit
f1af230918
@ -105,12 +105,11 @@ $codehilite-error: #A61717;
|
|||||||
$codehilite-whitespace: transparent;
|
$codehilite-whitespace: transparent;
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// Rules
|
// Rules: syntax highlighting
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// Codehilite extension
|
// Codehilite extension
|
||||||
.codehilite,
|
.codehilite {
|
||||||
.code {
|
|
||||||
|
|
||||||
// Operators
|
// Operators
|
||||||
.o { color: $codehilite-operator; }
|
.o { color: $codehilite-operator; }
|
||||||
@ -207,6 +206,10 @@ $codehilite-whitespace: transparent;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
// Rules: layout
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// Scoped in typesetted content for greater specificity
|
// Scoped in typesetted content for greater specificity
|
||||||
.md-typeset {
|
.md-typeset {
|
||||||
|
|
||||||
|
@ -24,8 +24,11 @@
|
|||||||
// Rules
|
// Rules
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// Footnotes extension
|
// Scoped in typesetted content for greater specificity
|
||||||
.footnote {
|
.md-typeset {
|
||||||
|
|
||||||
|
// Footnotes extension
|
||||||
|
.footnote {
|
||||||
color: $md-color-black--light;
|
color: $md-color-black--light;
|
||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
|
|
||||||
@ -37,14 +40,6 @@
|
|||||||
// Single footnote
|
// Single footnote
|
||||||
li {
|
li {
|
||||||
|
|
||||||
// TODO: this doesn't work entirely
|
|
||||||
// &::before {
|
|
||||||
// display: block;
|
|
||||||
// content: "";
|
|
||||||
// padding-top: (5.6rem + 2.4rem + 0.4rem);
|
|
||||||
// margin-top: -(5.6rem + 2.4rem + 0.4rem);
|
|
||||||
// }
|
|
||||||
|
|
||||||
// Make back references visible on hover
|
// Make back references visible on hover
|
||||||
&:hover .footnote-backref,
|
&:hover .footnote-backref,
|
||||||
&:target .footnote-backref {
|
&:target .footnote-backref {
|
||||||
@ -92,4 +87,5 @@
|
|||||||
content: "keyboard_return";
|
content: "keyboard_return";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user