[BACK]Return to mandoc.css CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Annotation of mandoc/mandoc.css, Revision 1.11

1.11    ! schwarze    1: /* $Id: mandoc.css,v 1.10 2017/01/20 23:51:00 schwarze Exp $ */
1.1       schwarze    2: /*
1.3       schwarze    3:  * Standard style sheet for mandoc(1) -Thtml and man.cgi(8).
1.1       schwarze    4:  */
                      5:
1.3       schwarze    6: /* Global defaults. */
                      7:
                      8: html {         max-width: 100ex; }
                      9: body {         font-family: Helvetica,Arial,sans-serif; }
1.4       schwarze   10: table {                width: 100%;
                     11:                margin-top: 0ex;
                     12:                margin-bottom: 0ex; }
                     13: td {           vertical-align: top; }
1.3       schwarze   14:
                     15: /* Search form and search results. */
                     16:
                     17: fieldset {     border: thin solid silver;
                     18:                border-radius: 1em;
                     19:                text-align: center; }
                     20: input[name=expr] {
                     21:                width: 25%; }
                     22:
1.11    ! schwarze   23: table.results {        margin-top: 1em;
1.3       schwarze   24:                margin-left: 2em;
                     25:                font-size: smaller; }
                     26:
1.4       schwarze   27: /* Header and footer lines. */
                     28:
                     29: table.head {   border-bottom: 1px dotted #808080;
                     30:                margin-bottom: 1em;
                     31:                font-size: smaller; }
                     32: td.head-vol {  text-align: center; }
                     33: td.head-rtitle {
                     34:                text-align: right; }
1.11    ! schwarze   35: span.Nd { }
1.4       schwarze   36:
                     37: table.foot {   border-top: 1px dotted #808080;
                     38:                margin-top: 1em;
                     39:                font-size: smaller; }
                     40: td.foot-date { width: 50%; }
                     41: td.foot-os {   width: 50%;
                     42:                text-align: right; }
                     43:
1.5       schwarze   44: /* Sections and paragraphs. */
                     45:
                     46: div.manual-text {
                     47:                margin-left: 5ex; }
                     48: h1.Sh {                margin-top: 2ex;
                     49:                margin-bottom: 1ex;
                     50:                margin-left: -4ex;
                     51:                font-size: 110%; }
                     52: h2.Ss {                margin-top: 2ex;
                     53:                margin-bottom: 1ex;
                     54:                margin-left: -2ex;
                     55:                font-size: 105%; }
                     56: div.Pp {       margin: 1ex 0ex; }
1.6       schwarze   57: a.Sx { }
                     58: a.Xr { }
1.3       schwarze   59:
1.7       schwarze   60: /* Displays and lists. */
                     61:
                     62: div.Bd { }
                     63: div.D1 {       margin-left: 5ex; }
                     64:
1.8       schwarze   65: ul.Bl-bullet { list-style-type: disc;
                     66:                padding-left: 1em; }
                     67: li.It-bullet { }
                     68: ul.Bl-dash {   list-style-type: none;
                     69:                padding-left: 0em; }
                     70: li.It-dash:before {
                     71:                content: "\2014  "; }
                     72: ul.Bl-item {   list-style-type: none;
                     73:                padding-left: 0em; }
                     74: li.It-item { }
                     75:
                     76: ol.Bl-enum {   padding-left: 2em; }
                     77: li.It-enum { }
                     78:
                     79: dl.Bl-diag { }
                     80: dt.It-diag { }
                     81: dd.It-diag { }
                     82: b.It-diag {    font-style: normal; }
                     83: dl.Bl-hang { }
                     84: dt.It-hang { }
                     85: dd.It-hang { }
                     86: dl.Bl-inset { }
                     87: dt.It-inset { }
                     88: dd.It-inset { }
                     89: dl.Bl-ohang { }
                     90: dt.It-ohang { }
                     91: dd.It-ohang {  margin-left: 0ex; }
                     92: dl.Bl-tag { }
                     93: dt.It-tag { }
                     94: dd.It-tag { }
                     95:
                     96: table.Bl-column { }
                     97: tr.It-column { }
                     98: td.It-column { }
                     99:
1.9       schwarze  100: span.Rs        { }
                    101: span.RsA { }
                    102: i.RsB {                font-weight: normal; }
                    103: span.RsC { }
                    104: span.RsD { }
                    105: i.RsI {                font-weight: normal; }
                    106: i.RsJ {                font-weight: normal; }
                    107: span.RsN { }
                    108: span.RsO { }
                    109: span.RsP { }
                    110: span.RsQ { }
                    111: span.RsR { }
                    112: span.RsT {     text-decoration: underline; }
                    113: a.RsU { }
                    114: span.RsV { }
                    115:
1.11    ! schwarze  116: span.eqn { }
        !           117: table.tbl { }
        !           118:
1.10      schwarze  119: /* Semantic markup for command line utilities. */
                    120:
                    121: table.Nm { }
                    122: b.Nm {         font-style: normal; }
                    123: b.Fl {         font-style: normal; }
                    124: b.Cm {         font-style: normal; }
                    125: i.Ar {         font-weight: normal; }
                    126: span.Op { }
                    127: b.Ic {         font-style: normal; }
                    128: code.Ev {      font-style: normal;
                    129:                font-weight: normal;
                    130:                font-family: monospace; }
                    131: i.Pa {         font-weight: normal; }
                    132:
                    133: /* Semantic markup for function libraries. */
                    134:
                    135: span.Lb { }
                    136: b.In {         font-style: normal; }
                    137: a.In { }
                    138: b.Fd {         font-style: normal; }
                    139: i.Ft {         font-weight: normal; }
                    140: b.Fn {         font-style: normal; }
                    141: i.Fa {         font-weight: normal; }
                    142: i.Vt {         font-weight: normal; }
                    143: i.Va {         font-weight: normal; }
                    144: code.Dv {      font-style: normal;
                    145:                font-weight: normal;
                    146:                font-family: monospace; }
                    147: code.Er {      font-style: normal;
                    148:                font-weight: normal;
                    149:                font-family: monospace; }
                    150:
                    151: /* Various semantic markup. */
                    152:
                    153: span.An { }
                    154: a.Lk { }
                    155: a.Mt { }
                    156: b.Cd {         font-style: normal; }
                    157: i.Ad {         font-weight: normal; }
                    158: b.Ms {         font-style: normal; }
1.11    ! schwarze  159: a.Ux { }
1.10      schwarze  160:
1.11    ! schwarze  161: /* Physical markup. */
1.7       schwarze  162:
1.11    ! schwarze  163: .No {          font-style: normal;
        !           164:                font-weight: normal; }
        !           165: .Em {          font-style: italic;
        !           166:                font-weight: normal; }
        !           167: .Sy {          font-style: normal;
        !           168:                font-weight: bold; }
1.7       schwarze  169: .Li {          font-style: normal;
                    170:                font-weight: normal;
                    171:                font-family: monospace; }

CVSweb