mirror of
https://github.com/ImperialCollegeLondon/ReCoDE_MCMCFF.git
synced 2025-06-26 08:51:16 +02:00
18 lines
598 B
CSS
18 lines
598 B
CSS
/* This code comes from Yevhen Kuzmovych : https://github.com/sphinx-doc/sphinx/issues/1514#issuecomment-742703082 */
|
|
/* Newlines (\a) and spaces (\20) before each parameter */
|
|
.sig-param::before {
|
|
content: "\a\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20";
|
|
white-space: pre;
|
|
}
|
|
|
|
/* Newline after the last parameter (so the closing bracket is on a new line) */
|
|
dt em.sig-param:last-of-type::after {
|
|
content: "\a";
|
|
white-space: pre;
|
|
}
|
|
|
|
/* To have blue background of width of the block (instead of width of content) */
|
|
dl.class > dt:first-of-type {
|
|
display: block !important;
|
|
}
|