Skip to content

Commit 66b314a

Browse files
committed
Add rules for attention-grabbing normative advisements.
--HG-- extra : rebase_source : bb11d44e0193964292a8dc51c8a83287940bd0d7
1 parent 0f98ce0 commit 66b314a

1 file changed

Lines changed: 26 additions & 7 deletions

File tree

default.css

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -382,19 +382,21 @@
382382
/* Colored Boxes */
383383
/******************************************************************************/
384384

385-
.issue, .note, .example, .why {
385+
.issue, .note, .example, .why, .advisement {
386386
padding: .5em;
387-
border-left-width: .5em;
387+
border: .5em;
388388
border-left-style: solid;
389389
page-break-inside: avoid;
390390
}
391391
span.note, span.issue {
392392
padding: .1em .5em .15em;
393-
border-right-width: .5em;
393+
border: .5em;
394394
border-right-style: solid;
395395
}
396396

397-
/* Open issue / editorial remark; not intended for a final publication */
397+
/** Open issue ****************************************************************/
398+
/* not intended for CR+ publication */
399+
398400
.issue {
399401
border-color: #E05252;
400402
background: #FBE9E9;
@@ -408,7 +410,8 @@
408410
color: #E05252;
409411
}
410412

411-
/* Examples */
413+
/** Example *******************************************************************/
414+
412415
.example {
413416
border-color: #E0CB52;
414417
background: #FCFAEE;
@@ -434,14 +437,30 @@
434437
color: red;
435438
}
436439

437-
/* Non-normative note. May be inline or a P or DIV */
440+
/** Non-normative Note ********************************************************/
441+
438442
.note, .why {
439443
border-color: #52E052;
440444
background: #E9FBE9;
441445
overflow: auto;
442446
}
443447

444-
/* ??? */
448+
/** Advisement Box ************************************************************/
449+
/* for attention-grabbing normative statements */
450+
451+
.advisement {
452+
border-color: orange;
453+
border-style: none solid;
454+
background: #FFEECC;
455+
text-align: center;
456+
}
457+
strong.advisement {
458+
display: block;
459+
}
460+
/*.advisement:before { color: #FF8800; } */
461+
462+
/** ??? ***********************************************************************/
463+
445464
details.why {
446465
border-color: #52E052;
447466
background: #E9FBE9;

0 commit comments

Comments
 (0)