only show CR on hover, made todos, warnings and notes less obstrussive and hid their headings

This commit is contained in:
Bernhard Posselt
2012-10-30 21:41:26 +01:00
parent 8e006d8d52
commit d5addb6e58
2 changed files with 31 additions and 14 deletions

View File

@@ -96,15 +96,10 @@ ol{list-style:decimal;}
li{line-height:18px;}
ul.unstyled,ol.unstyled{margin-left:0;list-style:none;}
dl{margin-bottom:18px;}
dl:first-child{
margin-top: 0;
}
dt,dd{line-height:18px;}
dt{font-weight:bold;line-height:17px;}
dd{margin-left: 0; padding:5px; background: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.15);}
.dl-horizontal dt{float:left;clear:left;width:120px;text-align:right;}
.dl-horizontal dd{margin-left:130px;}
dl > dt {background-color: #1D2D44; color: #fefefe; padding: 5px; border-top-left-radius: 3px; border-top-right-radius: 3px;};
hr{margin:18px 0;border:0;border-top:1px solid #eeeeee;border-bottom:1px solid #ffffff;}
strong{font-weight:bold;}
em{font-style:italic;}
@@ -1031,6 +1026,11 @@ img.lang-icon{ vertical-align: 0.05em; margin-right: 0.3em; }
#menu-about li.current-menu-item a{ color: #404040; font-weight: bold; }
img.alignleft{ margin-right: 20px; }
/**
* Above css is a copy from the main homepage
* The following rules are the changes for documentation
*/
.footer {
padding-top: 10px;
}
@@ -1043,6 +1043,7 @@ img.alignleft{ margin-right: 20px; }
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 5px;
margin: 15px 0;
padding-top: 15px;
}
@@ -1050,18 +1051,19 @@ img.alignleft{ margin-right: 20px; }
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
font-weight: bold;
padding: 5px;
display: none;
}
.admonition .last {
background-position: 10px 10px;
background-position: 15px 5px;
background-size: 32px;
background-repeat: no-repeat;
padding: 5px 5px 5px 50px;
padding: 0 15px 5px 60px;
min-height: 36px;
}
.admonition .versionchanged, .admonition .versionadded {
padding-left: 50px;
padding-left: 60px;
}
.admonition-todo .first {
@@ -1104,9 +1106,22 @@ img.alignleft{ margin-right: 20px; }
background-color: #fefefe !important;
}
.section:hover > * > .headerlink {
display: inline-block;
}
.section:hover > dl > dt > .headerlink {
display: inline-block;
}
.method:hover .headerlink {
display: inline-block;
}
.headerlink {
color: #dedede;
color: #ccc;
margin-left: 5px;
display: none;
}
tt.file {
@@ -1131,6 +1146,13 @@ tt.file:before {
padding-left: 0;
}
#menu-support > ul ul {
margin-left: 15px;
}
h3 {
margin-top: 25px;
}
dd{margin-left: 0; padding:5px; background: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.15);}
dl > dt {background-color: #1D2D44; color: #fefefe; padding: 5px; border-top-left-radius: 3px; border-top-right-radius: 3px;};

View File

@@ -1,10 +1,5 @@
Templates
=========
.. index::
single: execution; context
.. sectionauthor:: Bernhard Posselt <nukeawhale@gmail.com>
.. warning::