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

1.19    ! schwarze    1: /* $OpenBSD: mandoc.css,v 1.18 2018/05/26 20:04:38 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; }
                     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:
                     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:
                     53: div.manual-text {
1.17      schwarze   54:                margin-left: 3.8em; }
1.19    ! schwarze   55: .Nd {          display: inline; }
        !            56: .Sh {          margin-top: 2ex;
1.1       schwarze   57:                margin-bottom: 1ex;
1.17      schwarze   58:                margin-left: -3.2em;
1.1       schwarze   59:                font-size: 110%; }
1.19    ! schwarze   60: .Ss {          margin-top: 2ex;
1.1       schwarze   61:                margin-bottom: 1ex;
1.17      schwarze   62:                margin-left: -1.2em;
1.1       schwarze   63:                font-size: 105%; }
1.19    ! schwarze   64: .Pp {          margin: 1ex 0ex; }
        !            65: .Sx { }
        !            66: .Xr { }
1.1       schwarze   67:
                     68: /* Displays and lists. */
                     69:
1.19    ! schwarze   70: .Bd { }
        !            71: .D1 {          margin-left: 3.8em; }
1.1       schwarze   72:
                     73: ul.Bl-bullet { list-style-type: disc;
                     74:                padding-left: 1em; }
1.12      schwarze   75: ul.Bl-bullet > li { }
1.1       schwarze   76: ul.Bl-dash {   list-style-type: none;
                     77:                padding-left: 0em; }
1.12      schwarze   78: ul.Bl-dash > li:before {
1.1       schwarze   79:                content: "\2014  "; }
                     80: ul.Bl-item {   list-style-type: none;
                     81:                padding-left: 0em; }
1.12      schwarze   82: ul.Bl-item > li { }
1.6       schwarze   83: ul.Bl-compact > li {
1.17      schwarze   84:                margin-top: 0em; }
1.1       schwarze   85:
                     86: ol.Bl-enum {   padding-left: 2em; }
1.12      schwarze   87: ol.Bl-enum > li { }
1.6       schwarze   88: ol.Bl-compact > li {
1.17      schwarze   89:                margin-top: 0em; }
1.1       schwarze   90:
                     91: dl.Bl-diag { }
1.12      schwarze   92: dl.Bl-diag > dt {
                     93:                font-style: normal;
                     94:                font-weight: bold; }
                     95: dl.Bl-diag > dd {
1.17      schwarze   96:                margin-left: 0em; }
1.1       schwarze   97: dl.Bl-hang { }
1.12      schwarze   98: dl.Bl-hang > dt { }
                     99: dl.Bl-hang > dd {
1.17      schwarze  100:                margin-left: 5.5em; }
1.1       schwarze  101: dl.Bl-inset { }
1.12      schwarze  102: dl.Bl-inset > dt { }
                    103: dl.Bl-inset > dd {
1.17      schwarze  104:                margin-left: 0em; }
1.1       schwarze  105: dl.Bl-ohang { }
1.12      schwarze  106: dl.Bl-ohang > dt { }
                    107: dl.Bl-ohang > dd {
1.17      schwarze  108:                margin-left: 0em; }
                    109: dl.Bl-tag {    margin-left: 5.5em; }
1.12      schwarze  110: dl.Bl-tag > dt {
                    111:                float: left;
1.17      schwarze  112:                margin-top: 0em;
                    113:                margin-left: -5.5em;
                    114:                padding-right: 1.2em;
1.1       schwarze  115:                vertical-align: top; }
1.12      schwarze  116: dl.Bl-tag > dd {
                    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.6       schwarze  123: dl.Bl-compact > dt {
1.17      schwarze  124:                margin-top: 0em; }
1.1       schwarze  125:
                    126: table.Bl-column { }
1.12      schwarze  127: table.Bl-column > tbody > tr { }
                    128: table.Bl-column > tbody > tr > td {
                    129:                margin-top: 1em; }
1.6       schwarze  130: table.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:
                    156: /* Semantic markup for command line utilities. */
                    157:
                    158: table.Nm { }
1.11      schwarze  159: code.Nm {      font-style: normal;
                    160:                font-weight: bold;
                    161:                font-family: inherit; }
1.19    ! schwarze  162: .Fl {          font-style: normal;
1.11      schwarze  163:                font-weight: bold;
                    164:                font-family: inherit; }
1.19    ! schwarze  165: .Cm {          font-style: normal;
1.11      schwarze  166:                font-weight: bold;
                    167:                font-family: inherit; }
1.19    ! schwarze  168: .Ar {          font-style: italic;
1.3       schwarze  169:                font-weight: normal; }
1.19    ! schwarze  170: .Op {          display: inline; }
        !           171: .Ic {          font-style: normal;
1.11      schwarze  172:                font-weight: bold;
                    173:                font-family: inherit; }
1.19    ! schwarze  174: .Ev {          font-style: normal;
1.1       schwarze  175:                font-weight: normal;
                    176:                font-family: monospace; }
1.19    ! schwarze  177: .Pa {          font-style: italic;
1.14      schwarze  178:                font-weight: normal; }
1.1       schwarze  179:
                    180: /* Semantic markup for function libraries. */
                    181:
1.19    ! schwarze  182: .Lb { }
1.11      schwarze  183: code.In {      font-style: normal;
                    184:                font-weight: bold;
                    185:                font-family: inherit; }
1.1       schwarze  186: a.In { }
1.19    ! schwarze  187: .Fd {          font-style: normal;
1.11      schwarze  188:                font-weight: bold;
                    189:                font-family: inherit; }
1.19    ! schwarze  190: .Ft {          font-style: italic;
1.3       schwarze  191:                font-weight: normal; }
1.19    ! schwarze  192: .Fn {          font-style: normal;
1.11      schwarze  193:                font-weight: bold;
                    194:                font-family: inherit; }
1.19    ! schwarze  195: .Fa {          font-style: italic;
1.3       schwarze  196:                font-weight: normal; }
1.19    ! schwarze  197: .Vt {          font-style: italic;
1.3       schwarze  198:                font-weight: normal; }
1.19    ! schwarze  199: .Va {          font-style: italic;
1.3       schwarze  200:                font-weight: normal; }
1.19    ! schwarze  201: .Dv {          font-style: normal;
1.1       schwarze  202:                font-weight: normal;
                    203:                font-family: monospace; }
1.19    ! schwarze  204: .Er {          font-style: normal;
1.1       schwarze  205:                font-weight: normal;
                    206:                font-family: monospace; }
                    207:
                    208: /* Various semantic markup. */
                    209:
1.19    ! schwarze  210: .An { }
        !           211: .Lk { }
        !           212: .Mt { }
        !           213: .Cd {          font-style: normal;
1.11      schwarze  214:                font-weight: bold;
                    215:                font-family: inherit; }
1.19    ! schwarze  216: .Ad {          font-style: italic;
1.15      schwarze  217:                font-weight: normal; }
1.19    ! schwarze  218: .Ms {          font-style: normal;
1.16      schwarze  219:                font-weight: bold; }
1.19    ! schwarze  220: .St { }
        !           221: .Ux { }
1.1       schwarze  222:
                    223: /* Physical markup. */
                    224:
1.13      schwarze  225: .Bf {          display: inline; }
1.1       schwarze  226: .No {          font-style: normal;
                    227:                font-weight: normal; }
                    228: .Em {          font-style: italic;
                    229:                font-weight: normal; }
                    230: .Sy {          font-style: normal;
                    231:                font-weight: bold; }
                    232: .Li {          font-style: normal;
                    233:                font-weight: normal;
                    234:                font-family: monospace; }
1.18      schwarze  235:
                    236: /* Overrides to avoid excessive margins on small devices. */
                    237:
                    238: @media (max-width: 37.5em) {
                    239: div.manual-text {
                    240:                margin-left: 0.5em; }
1.19    ! schwarze  241: .Sh, .Ss {     margin-left: 0em; }
        !           242: .D1 {          margin-left: 2em; }
1.18      schwarze  243: dl.Bl-hang > dd {
                    244:                margin-left: 2em; }
                    245: dl.Bl-tag {    margin-left: 2em; }
                    246: dl.Bl-tag > dt {
                    247:                margin-left: -2em; }
                    248: }