NEW Adjust docs colours to be web accessible

This commit is contained in:
Sacha Judd 2017-08-30 12:16:41 +12:00
parent c1a418edfa
commit 658c7fe95e
3 changed files with 16 additions and 25 deletions

View File

@ -8,23 +8,23 @@ Customised for doc.silverstripe.org, see CUSTOM markers.
.hljs { .hljs {
display: block; display: block;
overflow-x: auto; overflow-x: auto;
padding: 0.5em; padding: 1.5em 1em;
color: #333; color: #444;
background: #f3f6f6; /* CUSTOM */ background: #f3f6f6; /* CUSTOM */
border-radius: 3px; /* CUSTOM */ border-radius: 3px; /* CUSTOM */
box-shadow: 0 1px 1px rgba(0,0,0,.125); /* CUSTOM */ box-shadow: 0 1px 3px rgba(0,0,0,.15); /* CUSTOM */
} }
.hljs-comment, .hljs-comment,
.hljs-quote { .hljs-quote {
color: #998; color: #717171;
font-style: italic; font-style: italic;
} }
.hljs-keyword, .hljs-keyword,
.hljs-selector-tag, .hljs-selector-tag,
.hljs-subst { .hljs-subst {
color: #333; color: #444;
font-weight: bold; font-weight: bold;
} }
@ -33,12 +33,12 @@ Customised for doc.silverstripe.org, see CUSTOM markers.
.hljs-variable, .hljs-variable,
.hljs-template-variable, .hljs-template-variable,
.hljs-tag .hljs-attr { .hljs-tag .hljs-attr {
color: #008080; color: #007e7e;
} }
.hljs-string, .hljs-string,
.hljs-doctag { .hljs-doctag {
color: #d14; color: #ed135a;
} }
.hljs-title, .hljs-title,
@ -67,7 +67,7 @@ Customised for doc.silverstripe.org, see CUSTOM markers.
.hljs-regexp, .hljs-regexp,
.hljs-link { .hljs-link {
color: #009926; color: #008500;
} }
.hljs-symbol, .hljs-symbol,

View File

@ -476,35 +476,26 @@ html {
text-align: center; text-align: center;
} }
.info,
.notice, .notice,
.note, .note,
.warningBox { .warningBox {
background: #FFFFAD; background: #e6f5fc;
} }
.warning, .warning,
.alert { .alert {
background: #FF8480; background: #ffdcdb;
color:#fff; color: #586667;
}
.warning a,
.alert a {
color:#fff;
text-decoration:underline;
} }
.warning code, .warning code,
.alert code { .alert code {
color:#666; color: #666;
} }
.hint { .hint {
background: #f4f4f4; background: #f0f4f4;
}
.info {
background: #CAF7FF;
} }
.warning p { .warning p {

View File

@ -164,7 +164,7 @@ h3 {
font-size: 20px; font-size: 20px;
line-height: 20px; line-height: 20px;
margin: 30px 0 10px; margin: 30px 0 10px;
color: #181c1d; color: #586667;
} }
h4 { h4 {
@ -332,7 +332,7 @@ table {
border: 1px solid #d4d4d4; border: 1px solid #d4d4d4;
border-bottom-color: #bcbcbc; border-bottom-color: #bcbcbc;
text-shadow: 0 1px 0 #fff; text-shadow: 0 1px 0 #fff;
color: #333; color: #444;
font-weight: bold; font-weight: bold;
margin-bottom: 5px; margin-bottom: 5px;
text-decoration: none; text-decoration: none;