Skip to content
Snippets Groups Projects
Commit a6b01dd3 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-5607: coding standards

parent 1426943e
No related branches found
No related tags found
1 merge request!75ISTWCMS-5607: fixing content moderation block on references
......@@ -7,9 +7,11 @@
font-family: Typ1451-Regular,verdana,sans-serif;
width: 100%;
}
.cke_editable .caption > * {
display: inline-block;
}
.cke_editable .caption {
width: 98%;
}
......@@ -32,101 +34,162 @@ kbd > kbd {
background: #575757;
color: #ffffff;
}
/*list types*/
ul {
list-style-type: disc;
margin: 0 0 1rem;
padding: 0 0 0 1.5rem; }
padding: 0 0 0 1.5rem;
}
[dir='rtl'] ul {
padding: 0 1.5rem 0 0; }
padding: 0 1.5rem 0 0;
}
ul ul {
list-style-type: circle;
margin: 0.5rem 0 0; }
margin: 0.5rem 0 0;
}
ul ul li > ul {
list-style-type: disc; }
list-style-type: disc;
}
.disc {
list-style: disc; }
list-style: disc;
}
.disc ul {
list-style-type: disc; }
list-style-type: disc;
}
.disc ul li > ul {
list-style-type: disc; }
list-style-type: disc;
}
.square {
list-style: square; }
list-style: square;
}
.square ul {
list-style-type: square; }
list-style-type: square;
}
.square ul li > ul {
list-style-type: square; }
list-style-type: square;
}
.circle {
list-style-type: circle; }
list-style-type: circle;
}
.circle ul {
list-style-type: circle; }
list-style-type: circle;
}
.circle ul li > ul {
list-style-type: circle; }
list-style-type: circle;
}
ol {
margin: 0 0 1rem;
padding: 0 0 0 1.5rem; }
padding: 0 0 0 1.5rem;
}
[dir='rtl'] ol {
padding: 0 1.5rem 0 0; }
padding: 0 1.5rem 0 0;
}
ol ol {
list-style-type: lower-alpha;
margin: 0.5rem 0 0; }
margin: 0.5rem 0 0;
}
ol ol li ol {
list-style-type: lower-roman; }
list-style-type: lower-roman;
}
.lower-alpha {
list-style-type: lower-alpha; }
list-style-type: lower-alpha;
}
.lower-alpha li ol {
list-style-type: lower-alpha; }
list-style-type: lower-alpha;
}
.upper-alpha {
list-style-type: upper-alpha; }
list-style-type: upper-alpha;
}
.upper-alpha li ol {
list-style-type: upper-alpha; }
list-style-type: upper-alpha;
}
.lower-roman {
list-style-type: lower-roman; }
list-style-type: lower-roman;
}
.lower-roman li ol {
list-style-type: lower-roman; }
list-style-type: lower-roman;
}
.upper-roman {
list-style-type: upper-roman; }
list-style-type: upper-roman;
}
.upper-roman li ol {
list-style-type: upper-roman; }
list-style-type: upper-roman;
}
.decimal {
list-style: decimal outside none;
margin: 0;
padding: 0 0 1rem 1rem; }
padding: 0 0 1rem 1rem;
}
.decimal li {
counter-increment: item;
display: table;
margin: 0.5rem 0; }
margin: 0.5rem 0;
}
.decimal li::before {
content: counters(item, ".") ". ";
display: table-cell;
padding-right: 0.6rem; }
padding-right: 0.6rem;
}
.decimal li li {
margin: 0.5rem 0; }
margin: 0.5rem 0;
}
.decimal li li li::before {
content: counters(item, ".") " "; }
content: counters(item, ".") " ";
}
.decimal li ol {
counter-reset: item;
list-style: square outside none;
list-style-type: none;
margin: 0;
padding: 0; }
padding: 0;
}
li {
margin-bottom: 0.5rem;
padding-left: 0.5rem; }
padding-left: 0.5rem;
}
li:last-child {
margin-bottom: 0; }
margin-bottom: 0;
}
li > *:last-child {
margin-bottom: 0; }
margin-bottom: 0;
}
@media print {
li {
page-break-inside: avoid; } }
page-break-inside: avoid;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment