padding: 0.5rem 1rem;
color: var(--code-color);
background-color: var(--code-background-color);
- border-radius: 0.2rem;
+ border-radius: var(--border-radius);
overflow-x: auto;
margin-top: 0; /* stupid defaults */
}
/* Note, frame, block */
.m-note {
- border-radius: 0.2rem;
+ border-radius: var(--border-radius);
padding: 1rem;
}
.m-frame {
background-color: var(--background-color);
border-style: solid;
border-width: 0.125rem;
- border-radius: 0.2rem;
+ border-radius: var(--border-radius);
border-color: var(--line-color);
padding: 0.875rem;
}
border-style: solid;
border-width: 0.0625rem;
border-left-width: 0.25rem;
- border-radius: 0.2rem;
+ border-radius: var(--border-radius);
border-color: var(--line-color);
padding: 0.9375rem 0.9375rem 0.9375rem 0.75rem;
}
}
img.m-image, div.m-image img {
max-width: 100%;
- border-radius: 0.2rem;
+ border-radius: var(--border-radius);
}
div.m-image.m-fullwidth img {
width: 100%;
z-index: -1; /* so it doesn't make the contents inactive */
border-style: solid;
border-width: 0.125rem;
- border-radius: 0.2rem;
+ border-radius: var(--border-radius);
border-color: var(--line-color);
}
figure.m-figure.m-flat:before {
z-index: -1; /* so it doesn't make the contents inactive */
border-style: solid;
border-width: 0.125rem;
- border-radius: 0.2rem;
+ border-radius: var(--border-radius);
border-color: var(--code-background-color); /* to match the <pre> background */
}
figure.m-code-figure.m-flat:before {
--nav-categories-case: lowercase;
--heading-font-weight: bold;
+ /* Shapes */
+ --border-radius: 0.2rem;
+
/* Basics */
--background-color: #2f363f;
--color: #dcdcdc;
--nav-categories-case: lowercase;
--heading-font-weight: normal;
+ /* Shapes */
+ --border-radius: 0.2rem;
+
/* Basics */
--background-color: #ffffff;
--color: #000000;