Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Geier <Matthias.Geier@gmail.com>2020-05-12 14:05:00 +0300
committerMatthias Geier <Matthias.Geier@gmail.com>2020-05-12 14:05:23 +0300
commit6e3ae3fc6f640119d7bbbd9ddee4fd2713e4477c (patch)
tree9f0d8f78094f85e34db439c880a4425996135ff1 /sphinx/themes/basic/static/basic.css_t
parent1771bbb9277c3b629ac6e708c4c3f355e034c6cd (diff)
basic CSS: remove first/last-child margin not only for <p>
Diffstat (limited to 'sphinx/themes/basic/static/basic.css_t')
-rw-r--r--sphinx/themes/basic/static/basic.css_t14
1 files changed, 7 insertions, 7 deletions
diff --git a/sphinx/themes/basic/static/basic.css_t b/sphinx/themes/basic/static/basic.css_t
index 45908ece1..01cee109a 100644
--- a/sphinx/themes/basic/static/basic.css_t
+++ b/sphinx/themes/basic/static/basic.css_t
@@ -426,13 +426,13 @@ table.citation td {
border-bottom: none;
}
-th > p:first-child,
-td > p:first-child {
+th > :first-child,
+td > :first-child {
margin-top: 0px;
}
-th > p:last-child,
-td > p:last-child {
+th > :last-child,
+td > :last-child {
margin-bottom: 0px;
}
@@ -505,11 +505,11 @@ ol.upperroman {
list-style: upper-roman;
}
-li > p:first-child {
+li > :first-child {
margin-top: 0px;
}
-li > p:last-child {
+li > :last-child {
margin-bottom: 0px;
}
@@ -557,7 +557,7 @@ dl {
margin-bottom: 15px;
}
-dd > p:first-child {
+dd > :first-child {
margin-top: 0px;
}