Skip to content
Snippets Groups Projects
Commit c8d11a83 authored by squidfunk's avatar squidfunk
Browse files

Merge branch 'master' into feat/pymdown-details

Conflicts:
	material/base.html
parents 4d4c76c9 39c38e68
Branches
Tags
No related merge requests found
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
position: relative; position: relative;
margin: 1.5625em 0; margin: 1.5625em 0;
padding: 0.8rem 1.2rem; padding: 1.2rem;
border-left: 0.4rem solid $clr-blue-a200; border-left: 0.4rem solid $clr-blue-a200;
border-radius: 0.2rem; border-radius: 0.2rem;
font-size: ms(-1); font-size: ms(-1);
...@@ -44,13 +44,18 @@ ...@@ -44,13 +44,18 @@
} }
// Remove spacing on last element // Remove spacing on last element
:last-child { html & :last-child {
margin-bottom: 0; margin-bottom: 0;
} }
// Adjust margin for nested admonition blocks
.admonition {
margin: 1em 0;
}
// Title // Title
.admonition-title { .admonition-title {
margin: -0.8rem -1.2rem -0.4rem; margin: -1.2rem -1.2rem 0;
padding: 0.8rem 1.2rem; padding: 0.8rem 1.2rem;
border-bottom: 0.1rem solid transparentize($clr-blue-a200, 0.9); border-bottom: 0.1rem solid transparentize($clr-blue-a200, 0.9);
background-color: transparentize($clr-blue-a200, 0.9); background-color: transparentize($clr-blue-a200, 0.9);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment