]>
Git — Sourcephile - doclang.git/blob - src/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
;
602 .page-ref .page-path {
605 .page-ref .page-path > a {
610 list-style-type:none
;
623 ul
.shortcuts
> li
> a
.shortcut
{
625 border:1px solid black
;
635 background-color:#FFFFF0;
636 border:1px solid black
;
637 /*margin-left:0 !important;*/
639 padding:1ex 2em 1.5ex 2em;
648 .toc li:last-child > ul:last-child {
659 .toc.no-indent ul > li > ul {
671 .toc .toc-entry > tbody > tr > td {
675 .toc .toc-entry .section-number {
682 .toc.no-vspace ul > li > ul {
686 .toc ul > li > ul > li {
692 ul
.toc
a:last-child::after
{
693 content:leader
('.') target-counter
(attr
(href
), page
);
701 .tof .figure-number {
708 .tof .figure-number {
716 border-collapse:collapse
;
718 border:1px solid black
;
725 table
.headers
> * > tr:first-child
> td
,
726 table
.headers
> * > tr:first-child
> th
{
727 background-color:#F4F2E2;
728 border:1px solid white
;
736 table
.headers td
.left
{
740 table
.headers td
.right
{
746 table
.headers
> * > tr:first-child
> td
,
747 table
.headers
> * > tr:first-child
> th
{
748 border-top:1px solid black
;
750 table
.headers
> * > tr:last-child
> td
,
751 table
.headers
> * > tr:last-child
> th
{
752 border-bottom:1px solid black
;
754 table
.headers
> * > tr
> td:first-child
,
755 table
.headers
> * > tr
> th:first-child
{
756 border-left:1px solid black
;
758 table
.headers
> * > tr
> td:last-child
,
759 table
.headers
> * > tr
> th:last-child
{
760 border-right:1px solid black
;
764 border:1px solid black
;
766 .document-head > table {
767 border-collapse:collapse
;
769 border:1px solid white
;
770 background-color:#F4F2E2;
776 .document-head > table > tbody > tr > td {
777 border:1px solid white
;
782 .document-head > table > tbody > tr > td.left {
784 .document-head > table > tbody > tr > td.right {
786 .document-head > table > tbody > tr > td.full {
788 .document-head > table div.artwork.artwork-type-image {
790 display:inline-block
;
791 vertical-align:middle
;
793 /* .document-headers */
794 table
.document-headers
{
796 border-collapse:collapse
;
798 table
.document-headers
> tbody
> tr
.header
{
799 border-bottom:1px solid white
;
801 table
.document-authors
> tbody
> tr
.header:last-child
{
804 table
.document-headers
> tbody
> tr
.header
> td
{
808 .document-head
.header-name
,
809 table
.document-headers
> tbody
> tr
.header
> td
.header-name
{
813 table
.document-headers
> tbody
> tr
.header
> td
.header-value
{
817 /* document-authors */
818 table
.document-authors
{
819 border-collapse:collapse
;
823 table
.document-authors
> tbody
> tr
{
824 border-bottom:1px solid white
;
826 table
.document-authors
> tbody
> tr:first-child
{
829 table
.document-authors
> tbody
> tr
> td
.author
{
838 background-color:white
;
839 border:1px solid black
;
843 margin:1ex 0 1ex 2em !important
;
844 padding: 0.5ex 1ex 0.5ex 1ex;
848 .aside .figure-content {
849 border-left:0 !important
;
850 padding-left:0 !important
;