mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 09:05:56 +00:00
Style tidy ups.
This commit is contained in:
parent
2612f221a6
commit
3995e72c3a
@ -89,6 +89,10 @@ html {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#sidebar li {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
#sidebar .nav .current li {
|
#sidebar .nav .current li {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
padding: 5px 0;
|
padding: 5px 0;
|
||||||
@ -349,48 +353,42 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.hint,
|
.hint,
|
||||||
.note {
|
.note,
|
||||||
border: 1px dotted #a5b5b0;
|
.notice,
|
||||||
padding: 14px 10px 14px 60px;
|
.warning,
|
||||||
|
.info,
|
||||||
|
.pageSkip {
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
padding: 24px 20px 24px 60px;
|
||||||
clear: both;
|
clear: both;
|
||||||
margin: 9px 0 18px;
|
position: relative;
|
||||||
background: #f9fafa url(../../docsviewer/images/lightbulb.png) no-repeat 21px 14px;
|
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 .note h3,
|
||||||
.typography .hint h3 {
|
.typography .hint h3 {
|
||||||
line-height: 27px;
|
line-height: 27px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pageSkip {
|
.pageSkip {
|
||||||
background-color: #f9fafa;
|
background-color: #f9fafa;
|
||||||
border: 1px solid #a5b5b0;
|
border: 1px solid #a5b5b0;
|
||||||
padding: 8px 10px 8px 10px;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 9px 0 18px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.notice {
|
.notice {
|
||||||
border: 1px solid #D3C200;
|
border-color: #D3C200;
|
||||||
padding: 13px 10px 0px 60px;
|
|
||||||
margin: 9px 0 18px;
|
|
||||||
position: relative;
|
|
||||||
background: #FFFAC6 url(../../docsviewer/images/notification.png) no-repeat 18px 11px;
|
background: #FFFAC6 url(../../docsviewer/images/notification.png) no-repeat 18px 11px;
|
||||||
}
|
}
|
||||||
p.notice {
|
|
||||||
padding-bottom: 18px;
|
|
||||||
}
|
|
||||||
.warning {
|
.warning {
|
||||||
border: 1px solid #f8c3cd;
|
border-color: #f8c3cd;
|
||||||
padding: 13px 10px 13px 60px;
|
background: #fdf1f3 url(../../docsviewer/images/error_button.png) no-repeat 12px 17px;
|
||||||
clear: both;
|
|
||||||
margin: 7px 0 21px;
|
|
||||||
position: relative;
|
|
||||||
background: #fdf1f3 url(../../docsviewer/images/error_button.png) no-repeat 18px 11px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.info {
|
.info {
|
||||||
border: 1px solid #6baad8;
|
border-color: #6baad8;
|
||||||
padding: 13px 10px 0px 60px;
|
|
||||||
clear: both;
|
|
||||||
margin: 9px 0 18px;
|
|
||||||
position: relative;
|
|
||||||
background: #f7fcff url(../../docsviewer/images/info_button.png) no-repeat 18px 11px;
|
background: #f7fcff url(../../docsviewer/images/info_button.png) no-repeat 18px 11px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -398,13 +396,6 @@ html {
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Used on 404 page not found */
|
|
||||||
.warningBox { margin: 0 0 18px; }
|
|
||||||
|
|
||||||
#content .warningBox p {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.warningBoxTop {
|
.warningBoxTop {
|
||||||
padding: 10px 10px 10px 70px;
|
padding: 10px 10px 10px 70px;
|
||||||
background: url(../../docsviewer/images/warning.png) no-repeat 18px 14px;
|
background: url(../../docsviewer/images/warning.png) no-repeat 18px 14px;
|
||||||
@ -475,7 +466,10 @@ html {
|
|||||||
|
|
||||||
.documentation_children h3 {
|
.documentation_children h3 {
|
||||||
font-size: 16px;
|
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 {
|
.documentation_children li {
|
||||||
|
@ -72,9 +72,9 @@ ul {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
li, dd {
|
li, dd, li p {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
margin: 0 0 5px 0;
|
margin: 0 0 15px 0;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -133,6 +133,10 @@ h1 {
|
|||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1 + p {
|
||||||
|
margin-top: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
@ -216,10 +220,12 @@ pre {
|
|||||||
}
|
}
|
||||||
pre code {
|
pre code {
|
||||||
background: none;
|
background: none;
|
||||||
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
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 {
|
code a {
|
||||||
color: #4E5661;
|
color: #4E5661;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user