[BACK]Return to mandoc.css CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Annotation of src/usr.bin/mandoc/mandoc.css, Revision 1.10

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