提交 3fbfb81a 编写于 作者: X Xavier Noria

harmonizes whitespace surrounding special boxes and their inner paragraphs,...

harmonizes whitespace surrounding special boxes and their inner paragraphs, removes unused selectors as well
上级 50e81d9b
......@@ -337,7 +337,7 @@ h6 {
margin-top: 0.25em;
}
#mainCol div.warning, #subCol div.warning, #mainCol dd.warning, #subCol dd.warning {
#mainCol div.warning, #subCol dd.warning {
background: #f9d9d8 url(../../images/tab_red.gif) no-repeat left top;
border: none;
padding: 1.25em 1.25em 1.25em 48px;
......@@ -426,4 +426,16 @@ code {
.clearfix {display: inline-block;}
* html .clearfix {height: 1%;}
.clearfix {display: block;}
.clear { clear:both; }
\ No newline at end of file
.clear { clear:both; }
/* Same bottom margin for special boxes than for regular paragraphs, this way
intermediate whitespace looks uniform. */
div.code_container, div.important, div.caution, div.warning, div.note, div.info {
margin-bottom: 1.5em;
}
/* Remove bottom margin of paragraphs in special boxes, otherwise they get a
spurious blank area below with the box background. */
div.important p, div.caution p, div.warning p, div.note p, div.info p {
margin-bottom: 0px;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册