]>
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
{
255 background-color:black
;
260 div
.title
> h1:target
{
261 background-color:#BFEFFF;
263 .section .section-header {
267 .section .section .section-header {
271 .section .section .section .section-header {
274 .figure-content > .section {
275 margin-top:0 !important
;
277 .figure-content > .section + .section {
278 margin-top:2ex !important
;
297 .section-header + .para {
318 position:absolute
; /* NOTE: avoid bottom margin */
319 text-decoration:none
;
321 /* XXX: not standard CSS yet */
322 -moz-user-select:none
;
323 -ms-user-select:none
;
324 -webkit-user-select:none
;
327 text-decoration:none
;
337 page-break-before:auto
;
338 page-break-inside:avoid
;
339 page-break-after:auto
;
341 .section-header
+ .figure
,
342 .figure:first-child {
353 .figure table.figure-caption {
356 /*margin-bottom:0.5ex;*/
358 .figure table.figure-caption > tbody > tr > td {
361 .figure .figure-caption .figure-number {
365 .figure .figure-caption .figure-colon {
369 .figure .figure-caption .figure-title {
372 vertical-align:middle
;
374 .figure .figure-content {
375 border-left:5px solid black
;
379 .figure:target > table.figure-caption > tbody > tr > td.figure-number > a {
380 background-color:#BFEFFF;
384 border-left: 3px solid blue
;
403 list-style-type:lower-alpha
;
406 list-style-type:upper-alpha
;
419 table
.ol
> tbody
> tr
> td
{
423 table
.ol
> tbody
> tr
> td
.name
{
426 table
.ol
> tbody
> tr
> td
.value
{
461 border-top:1px solid black
;
469 .notes > table > tbody > tr > td {
481 sup
.note-numbers
> a
,
487 sup
.note-numbers
> a:visited
,
488 .note-ref > a:visited {
489 color:gray
!important
;
491 sup
.note-numbers
> a:hover
,
492 .note-ref > a:hover {
493 color:black
!important
;
495 sup
.note-numbers
> :target
{
496 background-color:#BFEFFF;
498 .notes
> table
> tbody
> tr
> td:target
.note-number
,
499 .notes > table > tbody > tr > td > :target.note-number {
500 background-color:#BFEFFF;
507 .references:first-child {
510 .references > table {
511 border-collapse:separate
;
514 .references > table > tbody > tr + tr > td {
525 .reference-content > .reference-url {
527 .reference-content > .ref-backs {
530 .reference-content > .ref-backs > .ref-back {
531 background-color:#F4F2E2;
535 vertical-align:baseline
;
544 background-color:#BFEFFF;
548 text-decoration-line:underline
;
549 text-decoration-color:#C4451D;
550 text-decoration-style:solid
;
554 text-decoration-line:underline overline
;
555 text-decoration-color:#C4451D;
556 text-decoration-style:double
;
558 .at-backs > .at-back {
559 background-color:#F4F2E2;
563 vertical-align:baseline
;
570 background-color:#BFEFFF;
572 .tag-backs > .tag-back {
573 background-color:#F4F2E2;
577 vertical-align:baseline
;
584 background-color:#BFEFFF;
588 text-decoration-line:line-through
;
589 text-decoration-color:red
;
590 text-decoration-style:solid
;
592 .reference-ambiguous {
594 text-decoration-line:line-through
;
595 text-decoration-color:red
;
596 text-decoration-style:double
;
600 .page-ref > sup > a {
605 list-style-type:none
;
618 ul
.shortcuts
> li
> a
.shortcut
{
620 border:1px solid black
;
630 background-color:#FFFFF0;
631 border:1px solid black
;
632 /*margin-left:0 !important;*/
634 padding:1ex 2em 1.5ex 2em;
643 .toc li:last-child > ul:last-child {
654 .toc.no-indent ul > li > ul {
666 .toc .toc-entry > tbody > tr > td {
670 .toc .toc-entry .section-number {
677 .toc.no-vspace ul > li > ul {
681 .toc ul > li > ul > li {
687 ul
.toc
a:last-child::after
{
688 content:leader
('.') target-counter
(attr
(href
), page
);
696 .tof .figure-number {
703 .tof .figure-number {
711 border-collapse:collapse
;
713 border:1px solid black
;
720 table
.headers
> * > tr:first-child
> td
,
721 table
.headers
> * > tr:first-child
> th
{
722 background-color:#F4F2E2;
723 border:1px solid white
;
731 table
.headers td
.left
{
735 table
.headers td
.right
{
741 table
.headers
> * > tr:first-child
> td
,
742 table
.headers
> * > tr:first-child
> th
{
743 border-top:1px solid black
;
745 table
.headers
> * > tr:last-child
> td
,
746 table
.headers
> * > tr:last-child
> th
{
747 border-bottom:1px solid black
;
749 table
.headers
> * > tr
> td:first-child
,
750 table
.headers
> * > tr
> th:first-child
{
751 border-left:1px solid black
;
753 table
.headers
> * > tr
> td:last-child
,
754 table
.headers
> * > tr
> th:last-child
{
755 border-right:1px solid black
;
759 border:1px solid black
;
761 .document-head > table {
762 border-collapse:collapse
;
764 border:1px solid white
;
765 background-color:#F4F2E2;
771 .document-head > table > tbody > tr > td {
772 border:1px solid white
;
777 .document-head > table > tbody > tr > td.left {
779 .document-head > table > tbody > tr > td.right {
781 .document-head > table > tbody > tr > td.full {
783 .document-head > table div.artwork.artwork-type-image {
785 display:inline-block
;
786 vertical-align:middle
;
788 /* .document-headers */
789 table
.document-headers
{
791 border-collapse:collapse
;
793 table
.document-headers
> tbody
> tr
.header
{
794 border-bottom:1px solid white
;
796 table
.document-authors
> tbody
> tr
.header:last-child
{
799 table
.document-headers
> tbody
> tr
.header
> td
{
803 .document-head
.header-name
,
804 table
.document-headers
> tbody
> tr
.header
> td
.header-name
{
808 table
.document-headers
> tbody
> tr
.header
> td
.header-value
{
812 /* document-authors */
813 table
.document-authors
{
814 border-collapse:collapse
;
818 table
.document-authors
> tbody
> tr
{
819 border-bottom:1px solid white
;
821 table
.document-authors
> tbody
> tr:first-child
{
824 table
.document-authors
> tbody
> tr
> td
.author
{
833 background-color:white
;
834 border:1px solid black
;
838 margin:1ex 0 1ex 2em !important
;
839 padding: 0.5ex 1ex 0.5ex 1ex;
843 .aside .figure-content {
844 border-left:0 !important
;
845 padding-left:0 !important
;