]>
Git — Sourcephile - doclang.git/blob - style/dtc-html5.css
4 font-family:sans-serif
;
6 /* font-size:0.750em; */
13 page-break-before:always
;
16 page-break-inside:avoid
;
19 page-break-after:avoid
;
29 display:inline
!important
;
32 display:block
!important
;
54 text-decoration:underline
;
57 margin:0 0 0 0 !important
;
58 padding:0 0 0 0 !important
;
62 background-color:#F4F2E2 !important
;
63 color:#C4451D !important
;
64 text-decoration:underline
!important
;
67 color:rgb
(171,105,84);
69 a:hover
[href^
="git:"],
70 a:hover
[href^
="http:"],
71 a:hover
[href^
="https:"],
72 a:hover
[href^
="mailto:"],
74 color:blue
!important
;
75 text-decoration:underline
;
77 a:visited
[href^
="git:"],
78 a:visited
[href^
="http:"],
79 a:visited
[href^
="https:"],
80 a:visited
[href^
="mailto:"],
82 color:purple
!important
;
85 .para a, dt a, dd a, li a {
103 font-variant:small-caps
;
104 text-transform:lowercase
;
106 blockquote
> * .bcp14
{
111 background-color:yellow
;
114 /* XXX: toggle() somehow included in CSS3,
115 but not supported so far by Mozilla/Firefox
117 font-style:toggle(italic, normal);
128 background-color:white
;
130 page-break-inside:auto
;
133 background-color:#f8f8f8;
138 background-color:#f8f8f8;
143 code
, pre
, samp
, tt
{
144 background-color:#F4F2E2;
145 font-family:monospace
;
148 /* page-break-inside:avoid; */
149 white-space:pre-line
;
156 white-space:pre-wrap
;
175 font-variant:small-caps
;
186 font-family:monospace
;
194 page-break-after:auto
;
195 page-break-before:auto
;
196 page-break-inside:avoid
;
199 .section > *:first-child {
209 page-break-after:avoid
;
211 .section-header .section-number {
216 font-family:sans-serif
;
218 .section-header > tbody > tr > td {
221 .alias:target
~ .section-header
.section-number
,
222 .section:target
> .section-header
.section-number
,
223 .section > .section-header:target .section-number {
224 background-color:#BFEFFF;
228 .section.page-break {
229 page-break-before:always
;
231 .section.multi-pages {
232 page-break-inside:auto
;
234 .section.single-page {
235 page-break-inside:avoid
;
241 page-break-before:always
;
253 div
.title
> h1:first-child
{
259 div
.title
> h1:target
{
260 background-color:#BFEFFF;
262 .section .section-header {
266 .section .section .section-header {
270 .section .section .section .section-header {
273 .figure-content > .section {
274 margin-top:0 !important
;
276 .figure-content > .section + .section {
277 margin-top:2ex !important
;
296 .section-header + .para {
317 position:absolute
; /* NOTE: avoid bottom margin */
318 text-decoration:none
;
320 /* XXX: not standard CSS yet */
321 -moz-user-select:none
;
322 -ms-user-select:none
;
323 -webkit-user-select:none
;
326 text-decoration:none
;
336 page-break-before:auto
;
337 page-break-inside:avoid
;
338 page-break-after:auto
;
340 .section-header
+ .figure
,
341 .figure:first-child {
352 .figure table.figure-caption {
355 /*margin-bottom:0.5ex;*/
357 .figure table.figure-caption > tbody > tr > td {
360 .figure .figure-caption .figure-number {
364 .figure .figure-caption .figure-colon {
368 .figure .figure-caption .figure-title {
371 vertical-align:middle
;
373 .figure .figure-content {
374 border-left:5px solid black
;
378 .figure:target > table.figure-caption > tbody > tr > td.figure-number > a {
379 background-color:#BFEFFF;
383 border-left: 3px solid blue
;
402 list-style-type:lower-alpha
;
405 list-style-type:upper-alpha
;
418 table
.ol
> tbody
> tr
> td
{
422 table
.ol
> tbody
> tr
> td
.name
{
425 table
.ol
> tbody
> tr
> td
.value
{
460 border-top:1px solid black
;
468 .notes > table > tbody > tr > td {
480 sup
.note-numbers
> a
,
486 sup
.note-numbers
> a:visited
,
487 .note-ref > a:visited {
488 color:gray
!important
;
490 sup
.note-numbers
> a:hover
,
491 .note-ref > a:hover {
492 color:black
!important
;
494 sup
.note-numbers
> :target
{
495 background-color:#BFEFFF;
497 .notes
> table
> tbody
> tr
> td:target
.note-number
,
498 .notes > table > tbody > tr > td > :target.note-number {
499 background-color:#BFEFFF;
506 .references:first-child {
509 .references > table {
510 border-collapse:separate
;
513 .references > table > tbody > tr + tr > td {
527 .reference-rrefs .reference-rref {
528 background-color:#F4F2E2;
532 vertical-align:baseline
;
541 background-color:#BFEFFF;
545 text-decoration-line:underline
;
546 text-decoration-color:#C4451D;
547 text-decoration-style:wavy
;
551 text-decoration-line:underline overline
;
552 text-decoration-color:#C4451D;
553 text-decoration-style:wavy
;
560 background-color:#BFEFFF;
564 text-decoration-line:line-through
;
565 text-decoration-color:red
;
566 text-decoration-style:solid
;
568 .reference-ambiguous {
570 text-decoration-line:line-through
;
571 text-decoration-color:red
;
572 text-decoration-style:double
;
576 list-style-type:none
;
589 ul
.shortcuts
> li
> a
.shortcut
{
591 border:1px solid black
;
601 background-color:#FFFFF0;
602 border:1px solid black
;
603 /*margin-left:0 !important;*/
605 padding:1ex 2em 1.5ex 2em;
614 .toc li:last-child > ul:last-child {
625 .toc.no-indent ul > li > ul {
637 .toc .toc-entry > tbody > tr > td {
641 .toc .toc-entry .section-number {
648 .toc.no-vspace ul > li > ul {
652 .toc ul > li > ul > li {
658 ul
.toc
a:last-child::after
{
659 content:leader
('.') target-counter
(attr
(href
), page
);
667 .tof .figure-number {
674 .tof .figure-number {
682 border-collapse:collapse
;
684 border:1px solid black
;
691 table
.headers
> * > tr:first-child
> td
,
692 table
.headers
> * > tr:first-child
> th
{
693 background-color:#F4F2E2;
694 border:1px solid white
;
702 table
.headers td
.left
{
706 table
.headers td
.right
{
712 table
.headers
> * > tr:first-child
> td
,
713 table
.headers
> * > tr:first-child
> th
{
714 border-top:1px solid black
;
716 table
.headers
> * > tr:last-child
> td
,
717 table
.headers
> * > tr:last-child
> th
{
718 border-bottom:1px solid black
;
720 table
.headers
> * > tr
> td:first-child
,
721 table
.headers
> * > tr
> th:first-child
{
722 border-left:1px solid black
;
724 table
.headers
> * > tr
> td:last-child
,
725 table
.headers
> * > tr
> th:last-child
{
726 border-right:1px solid black
;
730 border:1px solid black
;
732 .document-head > table {
733 border-collapse:collapse
;
735 border:1px solid white
;
736 background-color:#F4F2E2;
742 .document-head > table > tbody > tr > td {
743 border:1px solid white
;
748 .document-head > table > tbody > tr > td.left {
750 .document-head > table > tbody > tr > td.right {
752 .document-head > table > tbody > tr > td.full {
754 .document-head > table div.artwork.artwork-type-image {
756 display:inline-block
;
757 vertical-align:middle
;
759 /* .document-headers */
760 table
.document-headers
{
762 border-collapse:collapse
;
764 table
.document-headers
> tbody
> tr
.header
{
765 border-bottom:1px solid white
;
767 table
.document-authors
> tbody
> tr
.header:last-child
{
770 table
.document-headers
> tbody
> tr
.header
> td
{
774 .document-head
.header-name
,
775 table
.document-headers
> tbody
> tr
.header
> td
.header-name
{
779 table
.document-headers
> tbody
> tr
.header
> td
.header-value
{
783 /* document-authors */
784 table
.document-authors
{
785 border-collapse:collapse
;
789 table
.document-authors
> tbody
> tr
{
790 border-bottom:1px solid white
;
792 table
.document-authors
> tbody
> tr:first-child
{
795 table
.document-authors
> tbody
> tr
> td
.author
{
804 background-color:white
;
805 border:1px solid black
;
809 margin:1ex 0 1ex 2em !important
;
810 padding: 0.5ex 1ex 0.5ex 1ex;
814 .aside .figure-content {
815 border-left:0 !important
;
816 padding-left:0 !important
;