Skip to content

Commit 4753fbb

Browse files
committed
Fix #32
1 parent 48bfef3 commit 4753fbb

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

alabaster/static/alabaster.css_t

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -276,11 +276,6 @@ div.admonition tt.xref, div.admonition code.xref, div.admonition a tt {
276276
border-bottom: 1px solid {{ theme_admonition_xref_border }};
277277
}
278278

279-
dd div.admonition {
280-
margin-left: -60px;
281-
padding-left: 60px;
282-
}
283-
284279
div.admonition p.admonition-title {
285280
font-family: {{ theme_head_font_family }};
286281
font-weight: normal;
@@ -498,11 +493,6 @@ dl pre, blockquote pre, li pre {
498493
padding-left: 30px;
499494
}
500495

501-
dl dl pre {
502-
margin-left: -90px;
503-
padding-left: 90px;
504-
}
505-
506496
tt, code {
507497
background-color: {{ theme_code_bg }};
508498
color: {{ theme_code_text }};

docs/changelog.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
Changelog
33
=========
44

5+
* :bug:`32` Update styling of various block-level elements such as admonitions
6+
(``.. note::``, ``.. warning::``, etc) and code blocks (``.. code::``) so
7+
they are no longer 'dedented' outside the main column of text they're
8+
embedded in. This is both a stylistic change and a bugfix, since e.g. nesting
9+
code blocks _within_ note blocks looks actively broken. Thanks to Takayuki
10+
Shimizukawa for the report.
511
* :bug:`96` ``admonition_xref`` had a template typo preventing it from receiving styling; this has been fixed. Credit: Kenzie Togami.
612
* :bug:`95` Independently ran across
713
`sphinx-doc/sphinx#3276 <https://github.com/sphinx-doc/sphinx/issues/3276>`_,

0 commit comments

Comments
 (0)