Style tidy ups.

This commit is contained in:
Will Rossiter 2014-09-26 20:15:53 +12:00
parent 2612f221a6
commit 3995e72c3a
2 changed files with 36 additions and 36 deletions

View File

@ -89,6 +89,10 @@ html {
font-weight: bold;
}
#sidebar li {
margin: 0;
}
#sidebar .nav .current li {
font-weight: normal;
padding: 5px 0;
@ -349,48 +353,42 @@ html {
}
.hint,
.note {
border: 1px dotted #a5b5b0;
padding: 14px 10px 14px 60px;
.note,
.notice,
.warning,
.info,
.pageSkip {
border: 1px solid #ddd;
padding: 24px 20px 24px 60px;
clear: both;
margin: 9px 0 18px;
background: #f9fafa url(../../docsviewer/images/lightbulb.png) no-repeat 21px 14px;
position: relative;
margin: 10px 0 20px;
background: #f9fafa url(../../docsviewer/images/lightbulb.png) no-repeat 16px 26px;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}
.typography .note h3,
.typography .hint h3 {
line-height: 27px;
}
.pageSkip {
background-color: #f9fafa;
border: 1px solid #a5b5b0;
padding: 8px 10px 8px 10px;
text-align: center;
margin: 9px 0 18px;
}
.notice {
border: 1px solid #D3C200;
padding: 13px 10px 0px 60px;
margin: 9px 0 18px;
position: relative;
border-color: #D3C200;
background: #FFFAC6 url(../../docsviewer/images/notification.png) no-repeat 18px 11px;
}
p.notice {
padding-bottom: 18px;
}
.warning {
border: 1px solid #f8c3cd;
padding: 13px 10px 13px 60px;
clear: both;
margin: 7px 0 21px;
position: relative;
background: #fdf1f3 url(../../docsviewer/images/error_button.png) no-repeat 18px 11px;
border-color: #f8c3cd;
background: #fdf1f3 url(../../docsviewer/images/error_button.png) no-repeat 12px 17px;
}
.info {
border: 1px solid #6baad8;
padding: 13px 10px 0px 60px;
clear: both;
margin: 9px 0 18px;
position: relative;
border-color: #6baad8;
background: #f7fcff url(../../docsviewer/images/info_button.png) no-repeat 18px 11px;
}
@ -398,13 +396,6 @@ html {
margin-bottom: 0;
}
/* Used on 404 page not found */
.warningBox { margin: 0 0 18px; }
#content .warningBox p {
margin: 0;
}
.warningBoxTop {
padding: 10px 10px 10px 70px;
background: url(../../docsviewer/images/warning.png) no-repeat 18px 14px;
@ -475,7 +466,10 @@ html {
.documentation_children h3 {
font-size: 16px;
margin-bottom: 0 0 2px 0;
border-top: 1px solid #ddd;
padding-top: 19px;
margin-top: 0;
margin-bottom: 0 0 1px 0;
}
.documentation_children li {

View File

@ -72,9 +72,9 @@ ul {
padding: 0;
}
li, dd {
li, dd, li p {
font-size: 13px;
margin: 0 0 5px 0;
margin: 0 0 15px 0;
line-height: 20px;
}
@ -133,6 +133,10 @@ h1 {
line-height: 20px;
}
h1 + p {
margin-top: 30px;
}
h2 {
font-size: 28px;
line-height: 30px;
@ -216,10 +220,12 @@ pre {
}
pre code {
background: none;
font-weight: normal;
}
code {
font: 11px/15px Monaco, 'Bitstream Vera Sans Mono', Courier, monospace;
font: 13px/15px Monaco, 'Bitstream Vera Sans Mono', Courier, monospace;
background: #dff1ff;
}
code a {
color: #4E5661;