[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.11

1.11    ! schwarze    1: /* $OpenBSD: mandoc.css,v 1.10 2018/04/24 00:36:04 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 { }
1.11    ! schwarze  148: code.Nm {      font-style: normal;
        !           149:                font-weight: bold;
        !           150:                font-family: inherit; }
        !           151: code.Fl {      font-style: normal;
        !           152:                font-weight: bold;
        !           153:                font-family: inherit; }
        !           154: code.Cm {      font-style: normal;
        !           155:                font-weight: bold;
        !           156:                font-family: inherit; }
1.3       schwarze  157: var.Ar {       font-style: italic;
                    158:                font-weight: normal; }
1.1       schwarze  159: span.Op { }
1.11    ! schwarze  160: code.Ic {      font-style: normal;
        !           161:                font-weight: bold;
        !           162:                font-family: inherit; }
1.1       schwarze  163: code.Ev {      font-style: normal;
                    164:                font-weight: normal;
                    165:                font-family: monospace; }
                    166: i.Pa {         font-weight: normal; }
                    167:
                    168: /* Semantic markup for function libraries. */
                    169:
                    170: span.Lb { }
1.11    ! schwarze  171: code.In {      font-style: normal;
        !           172:                font-weight: bold;
        !           173:                font-family: inherit; }
1.1       schwarze  174: a.In { }
1.11    ! schwarze  175: code.Fd {      font-style: normal;
        !           176:                font-weight: bold;
        !           177:                font-family: inherit; }
1.3       schwarze  178: var.Ft {       font-style: italic;
                    179:                font-weight: normal; }
1.11    ! schwarze  180: code.Fn {      font-style: normal;
        !           181:                font-weight: bold;
        !           182:                font-family: inherit; }
1.3       schwarze  183: var.Fa {       font-style: italic;
                    184:                font-weight: normal; }
                    185: var.Vt {       font-style: italic;
                    186:                font-weight: normal; }
                    187: var.Va {       font-style: italic;
                    188:                font-weight: normal; }
1.1       schwarze  189: code.Dv {      font-style: normal;
                    190:                font-weight: normal;
                    191:                font-family: monospace; }
                    192: code.Er {      font-style: normal;
                    193:                font-weight: normal;
                    194:                font-family: monospace; }
                    195:
                    196: /* Various semantic markup. */
                    197:
                    198: span.An { }
                    199: a.Lk { }
                    200: a.Mt { }
1.11    ! schwarze  201: code.Cd {      font-style: normal;
        !           202:                font-weight: bold;
        !           203:                font-family: inherit; }
1.1       schwarze  204: i.Ad {         font-weight: normal; }
                    205: b.Ms {         font-style: normal; }
1.4       schwarze  206: span.St { }
1.1       schwarze  207: a.Ux { }
                    208:
                    209: /* Physical markup. */
                    210:
                    211: .No {          font-style: normal;
                    212:                font-weight: normal; }
                    213: .Em {          font-style: italic;
                    214:                font-weight: normal; }
                    215: .Sy {          font-style: normal;
                    216:                font-weight: bold; }
                    217: .Li {          font-style: normal;
                    218:                font-weight: normal;
                    219:                font-family: monospace; }