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

1.25    ! schwarze    1: /* $OpenBSD: mandoc.css,v 1.24 2018/08/27 23:12:57 schwarze Exp $ */
1.1       schwarze    2: /*
                      3:  * Standard style sheet for mandoc(1) -Thtml and man.cgi(8).
                      4:  */
                      5:
                      6: /* Global defaults. */
                      7:
1.17      schwarze    8: html {         max-width: 65em; }
1.1       schwarze    9: body {         font-family: Helvetica,Arial,sans-serif; }
                     10: table {                margin-top: 0em;
                     11:                margin-bottom: 0em; }
1.25    ! schwarze   12: td {           vertical-align: middle; }
1.1       schwarze   13: ul, ol, dl {   margin-top: 0em;
                     14:                margin-bottom: 0em; }
                     15: li, dt {       margin-top: 1em; }
1.5       schwarze   16:
1.23      schwarze   17: .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:
                     45: table.foot {   width: 100%;
                     46:                border-top: 1px dotted #808080;
                     47:                margin-top: 1em;
                     48:                font-size: smaller; }
                     49: td.foot-os {   text-align: right; }
                     50:
                     51: /* Sections and paragraphs. */
                     52:
1.23      schwarze   53: .manual-text {
1.17      schwarze   54:                margin-left: 3.8em; }
1.19      schwarze   55: .Nd {          display: inline; }
1.22      schwarze   56: .Sh {          margin-top: 1.2em;
                     57:                margin-bottom: 0.6em;
1.17      schwarze   58:                margin-left: -3.2em;
1.1       schwarze   59:                font-size: 110%; }
1.22      schwarze   60: .Ss {          margin-top: 1.2em;
                     61:                margin-bottom: 0.6em;
1.17      schwarze   62:                margin-left: -1.2em;
1.1       schwarze   63:                font-size: 105%; }
1.22      schwarze   64: .Pp {          margin: 0.6em 0em; }
1.19      schwarze   65: .Sx { }
                     66: .Xr { }
1.1       schwarze   67:
                     68: /* Displays and lists. */
                     69:
1.19      schwarze   70: .Bd { }
1.20      schwarze   71: .Bd-indent {   margin-left: 3.8em; }
1.1       schwarze   72:
1.23      schwarze   73: .Bl-bullet {   list-style-type: disc;
1.1       schwarze   74:                padding-left: 1em; }
1.23      schwarze   75: .Bl-bullet > li { }
                     76: .Bl-dash {     list-style-type: none;
1.1       schwarze   77:                padding-left: 0em; }
1.23      schwarze   78: .Bl-dash > li:before {
1.1       schwarze   79:                content: "\2014  "; }
1.23      schwarze   80: .Bl-item {     list-style-type: none;
1.1       schwarze   81:                padding-left: 0em; }
1.23      schwarze   82: .Bl-item > li { }
                     83: .Bl-compact > li {
1.17      schwarze   84:                margin-top: 0em; }
1.1       schwarze   85:
1.23      schwarze   86: .Bl-enum {     padding-left: 2em; }
                     87: .Bl-enum > li { }
                     88: .Bl-compact > li {
1.17      schwarze   89:                margin-top: 0em; }
1.1       schwarze   90:
1.23      schwarze   91: .Bl-diag { }
                     92: .Bl-diag > dt {
1.12      schwarze   93:                font-style: normal;
                     94:                font-weight: bold; }
1.23      schwarze   95: .Bl-diag > dd {
1.17      schwarze   96:                margin-left: 0em; }
1.23      schwarze   97: .Bl-hang { }
                     98: .Bl-hang > dt { }
                     99: .Bl-hang > dd {
1.17      schwarze  100:                margin-left: 5.5em; }
1.23      schwarze  101: .Bl-inset { }
                    102: .Bl-inset > dt { }
                    103: .Bl-inset > dd {
1.17      schwarze  104:                margin-left: 0em; }
1.23      schwarze  105: .Bl-ohang { }
                    106: .Bl-ohang > dt { }
                    107: .Bl-ohang > dd {
1.17      schwarze  108:                margin-left: 0em; }
1.23      schwarze  109: .Bl-tag {      margin-left: 5.5em; }
                    110: .Bl-tag > dt {
1.12      schwarze  111:                float: left;
1.17      schwarze  112:                margin-top: 0em;
                    113:                margin-left: -5.5em;
1.24      schwarze  114:                padding-right: 0.5em;
1.1       schwarze  115:                vertical-align: top; }
1.23      schwarze  116: .Bl-tag > dd {
1.12      schwarze  117:                clear: right;
1.9       schwarze  118:                width: 100%;
1.17      schwarze  119:                margin-top: 0em;
                    120:                margin-left: 0em;
1.1       schwarze  121:                vertical-align: top;
                    122:                overflow: auto; }
1.23      schwarze  123: .Bl-compact > dt {
1.17      schwarze  124:                margin-top: 0em; }
1.1       schwarze  125:
1.23      schwarze  126: .Bl-column { }
                    127: .Bl-column > tbody > tr { }
                    128: .Bl-column > tbody > tr > td {
1.12      schwarze  129:                margin-top: 1em; }
1.23      schwarze  130: .Bl-compact > tbody > tr > td {
1.17      schwarze  131:                margin-top: 0em; }
1.1       schwarze  132:
1.19      schwarze  133: .Rs {          font-style: normal;
1.2       schwarze  134:                font-weight: normal; }
1.19      schwarze  135: .RsA { }
                    136: .RsB {         font-style: italic;
                    137:                font-weight: normal; }
                    138: .RsC { }
                    139: .RsD { }
                    140: .RsI {         font-style: italic;
                    141:                font-weight: normal; }
                    142: .RsJ {         font-style: italic;
                    143:                font-weight: normal; }
                    144: .RsN { }
                    145: .RsO { }
                    146: .RsP { }
                    147: .RsQ { }
                    148: .RsR { }
                    149: .RsT {         text-decoration: underline; }
                    150: .RsU { }
                    151: .RsV { }
1.1       schwarze  152:
1.19      schwarze  153: .eqn { }
                    154: .tbl { }
1.1       schwarze  155:
1.21      schwarze  156: .HP {          margin-left: 3.8em;
                    157:                text-indent: -3.8em; }
                    158:
1.1       schwarze  159: /* Semantic markup for command line utilities. */
                    160:
                    161: table.Nm { }
1.11      schwarze  162: code.Nm {      font-style: normal;
                    163:                font-weight: bold;
                    164:                font-family: inherit; }
1.19      schwarze  165: .Fl {          font-style: normal;
1.11      schwarze  166:                font-weight: bold;
                    167:                font-family: inherit; }
1.19      schwarze  168: .Cm {          font-style: normal;
1.11      schwarze  169:                font-weight: bold;
                    170:                font-family: inherit; }
1.19      schwarze  171: .Ar {          font-style: italic;
1.3       schwarze  172:                font-weight: normal; }
1.19      schwarze  173: .Op {          display: inline; }
                    174: .Ic {          font-style: normal;
1.11      schwarze  175:                font-weight: bold;
                    176:                font-family: inherit; }
1.19      schwarze  177: .Ev {          font-style: normal;
1.1       schwarze  178:                font-weight: normal;
                    179:                font-family: monospace; }
1.19      schwarze  180: .Pa {          font-style: italic;
1.14      schwarze  181:                font-weight: normal; }
1.1       schwarze  182:
                    183: /* Semantic markup for function libraries. */
                    184:
1.19      schwarze  185: .Lb { }
1.11      schwarze  186: code.In {      font-style: normal;
                    187:                font-weight: bold;
                    188:                font-family: inherit; }
1.1       schwarze  189: a.In { }
1.19      schwarze  190: .Fd {          font-style: normal;
1.11      schwarze  191:                font-weight: bold;
                    192:                font-family: inherit; }
1.19      schwarze  193: .Ft {          font-style: italic;
1.3       schwarze  194:                font-weight: normal; }
1.19      schwarze  195: .Fn {          font-style: normal;
1.11      schwarze  196:                font-weight: bold;
                    197:                font-family: inherit; }
1.19      schwarze  198: .Fa {          font-style: italic;
1.3       schwarze  199:                font-weight: normal; }
1.19      schwarze  200: .Vt {          font-style: italic;
1.3       schwarze  201:                font-weight: normal; }
1.19      schwarze  202: .Va {          font-style: italic;
1.3       schwarze  203:                font-weight: normal; }
1.19      schwarze  204: .Dv {          font-style: normal;
1.1       schwarze  205:                font-weight: normal;
                    206:                font-family: monospace; }
1.19      schwarze  207: .Er {          font-style: normal;
1.1       schwarze  208:                font-weight: normal;
                    209:                font-family: monospace; }
                    210:
                    211: /* Various semantic markup. */
                    212:
1.19      schwarze  213: .An { }
                    214: .Lk { }
                    215: .Mt { }
                    216: .Cd {          font-style: normal;
1.11      schwarze  217:                font-weight: bold;
                    218:                font-family: inherit; }
1.19      schwarze  219: .Ad {          font-style: italic;
1.15      schwarze  220:                font-weight: normal; }
1.19      schwarze  221: .Ms {          font-style: normal;
1.16      schwarze  222:                font-weight: bold; }
1.19      schwarze  223: .St { }
                    224: .Ux { }
1.1       schwarze  225:
                    226: /* Physical markup. */
                    227:
1.13      schwarze  228: .Bf {          display: inline; }
1.1       schwarze  229: .No {          font-style: normal;
                    230:                font-weight: normal; }
                    231: .Em {          font-style: italic;
                    232:                font-weight: normal; }
                    233: .Sy {          font-style: normal;
                    234:                font-weight: bold; }
                    235: .Li {          font-style: normal;
                    236:                font-weight: normal;
                    237:                font-family: monospace; }
1.18      schwarze  238:
                    239: /* Overrides to avoid excessive margins on small devices. */
                    240:
                    241: @media (max-width: 37.5em) {
1.23      schwarze  242: .manual-text {
1.18      schwarze  243:                margin-left: 0.5em; }
1.19      schwarze  244: .Sh, .Ss {     margin-left: 0em; }
1.20      schwarze  245: .Bd-indent {   margin-left: 2em; }
1.23      schwarze  246: .Bl-hang > dd {
1.18      schwarze  247:                margin-left: 2em; }
1.23      schwarze  248: .Bl-tag {      margin-left: 2em; }
                    249: .Bl-tag > dt {
1.18      schwarze  250:                margin-left: -2em; }
1.21      schwarze  251: .HP {          margin-left: 2em;
                    252:                text-indent: -2em; }
1.18      schwarze  253: }