]>
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 {
524 .reference-content > .reference-url {
526 .reference-content > .reference-rrefs {
529 .reference-content > .reference-rrefs > .reference-rref {
530 background-color:#F4F2E2;
534 vertical-align:baseline
;
543 background-color:#BFEFFF;
547 text-decoration-line:underline
;
548 text-decoration-color:#C4451D;
549 text-decoration-style:solid
;
553 text-decoration-line:underline overline
;
554 text-decoration-color:#C4451D;
555 text-decoration-style:double
;
562 background-color:#BFEFFF;
566 text-decoration-line:line-through
;
567 text-decoration-color:red
;
568 text-decoration-style:solid
;
570 .reference-ambiguous {
572 text-decoration-line:line-through
;
573 text-decoration-color:red
;
574 text-decoration-style:double
;
578 list-style-type:none
;
591 ul
.shortcuts
> li
> a
.shortcut
{
593 border:1px solid black
;
603 background-color:#FFFFF0;
604 border:1px solid black
;
605 /*margin-left:0 !important;*/
607 padding:1ex 2em 1.5ex 2em;
616 .toc li:last-child > ul:last-child {
627 .toc.no-indent ul > li > ul {
639 .toc .toc-entry > tbody > tr > td {
643 .toc .toc-entry .section-number {
650 .toc.no-vspace ul > li > ul {
654 .toc ul > li > ul > li {
660 ul
.toc
a:last-child::after
{
661 content:leader
('.') target-counter
(attr
(href
), page
);
669 .tof .figure-number {
676 .tof .figure-number {
684 border-collapse:collapse
;
686 border:1px solid black
;
693 table
.headers
> * > tr:first-child
> td
,
694 table
.headers
> * > tr:first-child
> th
{
695 background-color:#F4F2E2;
696 border:1px solid white
;
704 table
.headers td
.left
{
708 table
.headers td
.right
{
714 table
.headers
> * > tr:first-child
> td
,
715 table
.headers
> * > tr:first-child
> th
{
716 border-top:1px solid black
;
718 table
.headers
> * > tr:last-child
> td
,
719 table
.headers
> * > tr:last-child
> th
{
720 border-bottom:1px solid black
;
722 table
.headers
> * > tr
> td:first-child
,
723 table
.headers
> * > tr
> th:first-child
{
724 border-left:1px solid black
;
726 table
.headers
> * > tr
> td:last-child
,
727 table
.headers
> * > tr
> th:last-child
{
728 border-right:1px solid black
;
732 border:1px solid black
;
734 .document-head > table {
735 border-collapse:collapse
;
737 border:1px solid white
;
738 background-color:#F4F2E2;
744 .document-head > table > tbody > tr > td {
745 border:1px solid white
;
750 .document-head > table > tbody > tr > td.left {
752 .document-head > table > tbody > tr > td.right {
754 .document-head > table > tbody > tr > td.full {
756 .document-head > table div.artwork.artwork-type-image {
758 display:inline-block
;
759 vertical-align:middle
;
761 /* .document-headers */
762 table
.document-headers
{
764 border-collapse:collapse
;
766 table
.document-headers
> tbody
> tr
.header
{
767 border-bottom:1px solid white
;
769 table
.document-authors
> tbody
> tr
.header:last-child
{
772 table
.document-headers
> tbody
> tr
.header
> td
{
776 .document-head
.header-name
,
777 table
.document-headers
> tbody
> tr
.header
> td
.header-name
{
781 table
.document-headers
> tbody
> tr
.header
> td
.header-value
{
785 /* document-authors */
786 table
.document-authors
{
787 border-collapse:collapse
;
791 table
.document-authors
> tbody
> tr
{
792 border-bottom:1px solid white
;
794 table
.document-authors
> tbody
> tr:first-child
{
797 table
.document-authors
> tbody
> tr
> td
.author
{
806 background-color:white
;
807 border:1px solid black
;
811 margin:1ex 0 1ex 2em !important
;
812 padding: 0.5ex 1ex 0.5ex 1ex;
816 .aside .figure-content {
817 border-left:0 !important
;
818 padding-left:0 !important
;