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

Annotation of mandoc/mandoc.css, Revision 1.33

1.33    ! schwarze    1: /* $Id: mandoc.css,v 1.32 2018/05/28 15:39:25 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:
1.30      schwarze    8: html {         max-width: 65em; }
1.3       schwarze    9: body {         font-family: Helvetica,Arial,sans-serif; }
1.13      schwarze   10: table {                margin-top: 0em;
1.12      schwarze   11:                margin-bottom: 0em; }
1.4       schwarze   12: td {           vertical-align: top; }
1.12      schwarze   13: ul, ol, dl {   margin-top: 0em;
                     14:                margin-bottom: 0em; }
                     15: li, dt {       margin-top: 1em; }
1.18      schwarze   16:
1.23      schwarze   17: a.permalink {  border-bottom: thin dotted;
1.18      schwarze   18:                color: inherit;
                     19:                font: inherit;
                     20:                text-decoration: inherit; }
1.22      schwarze   21: * {            clear: both }
1.3       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:
1.11      schwarze   31: table.results {        margin-top: 1em;
1.3       schwarze   32:                margin-left: 2em;
                     33:                font-size: smaller; }
                     34:
1.4       schwarze   35: /* Header and footer lines. */
                     36:
1.13      schwarze   37: table.head {   width: 100%;
                     38:                border-bottom: 1px dotted #808080;
1.4       schwarze   39:                margin-bottom: 1em;
                     40:                font-size: smaller; }
                     41: td.head-vol {  text-align: center; }
                     42: td.head-rtitle {
                     43:                text-align: right; }
                     44:
1.13      schwarze   45: table.foot {   width: 100%;
                     46:                border-top: 1px dotted #808080;
1.4       schwarze   47:                margin-top: 1em;
                     48:                font-size: smaller; }
1.13      schwarze   49: td.foot-os {   text-align: right; }
1.4       schwarze   50:
1.5       schwarze   51: /* Sections and paragraphs. */
                     52:
                     53: div.manual-text {
1.30      schwarze   54:                margin-left: 3.8em; }
1.32      schwarze   55: .Nd {          display: inline; }
                     56: .Sh {          margin-top: 2ex;
1.5       schwarze   57:                margin-bottom: 1ex;
1.30      schwarze   58:                margin-left: -3.2em;
1.5       schwarze   59:                font-size: 110%; }
1.32      schwarze   60: .Ss {          margin-top: 2ex;
1.5       schwarze   61:                margin-bottom: 1ex;
1.30      schwarze   62:                margin-left: -1.2em;
1.5       schwarze   63:                font-size: 105%; }
1.32      schwarze   64: .Pp {          margin: 1ex 0ex; }
                     65: .Sx { }
                     66: .Xr { }
1.3       schwarze   67:
1.7       schwarze   68: /* Displays and lists. */
                     69:
1.32      schwarze   70: .Bd { }
1.33    ! schwarze   71: .Bd-indent {   margin-left: 3.8em; }
1.7       schwarze   72:
1.8       schwarze   73: ul.Bl-bullet { list-style-type: disc;
                     74:                padding-left: 1em; }
1.25      schwarze   75: ul.Bl-bullet > li { }
1.8       schwarze   76: ul.Bl-dash {   list-style-type: none;
                     77:                padding-left: 0em; }
1.25      schwarze   78: ul.Bl-dash > li:before {
1.8       schwarze   79:                content: "\2014  "; }
                     80: ul.Bl-item {   list-style-type: none;
                     81:                padding-left: 0em; }
1.25      schwarze   82: ul.Bl-item > li { }
1.19      schwarze   83: ul.Bl-compact > li {
1.30      schwarze   84:                margin-top: 0em; }
1.8       schwarze   85:
                     86: ol.Bl-enum {   padding-left: 2em; }
1.25      schwarze   87: ol.Bl-enum > li { }
1.19      schwarze   88: ol.Bl-compact > li {
1.30      schwarze   89:                margin-top: 0em; }
1.8       schwarze   90:
                     91: dl.Bl-diag { }
1.25      schwarze   92: dl.Bl-diag > dt {
                     93:                font-style: normal;
                     94:                font-weight: bold; }
                     95: dl.Bl-diag > dd {
1.30      schwarze   96:                margin-left: 0em; }
1.8       schwarze   97: dl.Bl-hang { }
1.25      schwarze   98: dl.Bl-hang > dt { }
                     99: dl.Bl-hang > dd {
1.30      schwarze  100:                margin-left: 5.5em; }
1.8       schwarze  101: dl.Bl-inset { }
1.25      schwarze  102: dl.Bl-inset > dt { }
                    103: dl.Bl-inset > dd {
1.30      schwarze  104:                margin-left: 0em; }
1.8       schwarze  105: dl.Bl-ohang { }
1.25      schwarze  106: dl.Bl-ohang > dt { }
                    107: dl.Bl-ohang > dd {
1.30      schwarze  108:                margin-left: 0em; }
                    109: dl.Bl-tag {    margin-left: 5.5em; }
1.25      schwarze  110: dl.Bl-tag > dt {
                    111:                float: left;
1.30      schwarze  112:                margin-top: 0em;
                    113:                margin-left: -5.5em;
                    114:                padding-right: 1.2em;
1.14      schwarze  115:                vertical-align: top; }
1.25      schwarze  116: dl.Bl-tag > dd {
                    117:                clear: right;
1.22      schwarze  118:                width: 100%;
1.30      schwarze  119:                margin-top: 0em;
                    120:                margin-left: 0em;
1.14      schwarze  121:                vertical-align: top;
                    122:                overflow: auto; }
1.19      schwarze  123: dl.Bl-compact > dt {
1.30      schwarze  124:                margin-top: 0em; }
1.8       schwarze  125:
                    126: table.Bl-column { }
1.25      schwarze  127: table.Bl-column > tbody > tr { }
                    128: table.Bl-column > tbody > tr > td {
                    129:                margin-top: 1em; }
1.19      schwarze  130: table.Bl-compact > tbody > tr > td {
1.30      schwarze  131:                margin-top: 0em; }
1.8       schwarze  132:
1.32      schwarze  133: .Rs {          font-style: normal;
1.15      schwarze  134:                font-weight: normal; }
1.32      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.9       schwarze  152:
1.32      schwarze  153: .eqn { }
                    154: .tbl { }
1.11      schwarze  155:
1.10      schwarze  156: /* Semantic markup for command line utilities. */
                    157:
                    158: table.Nm { }
1.24      schwarze  159: code.Nm {      font-style: normal;
                    160:                font-weight: bold;
                    161:                font-family: inherit; }
1.32      schwarze  162: .Fl {          font-style: normal;
1.24      schwarze  163:                font-weight: bold;
                    164:                font-family: inherit; }
1.32      schwarze  165: .Cm {          font-style: normal;
1.24      schwarze  166:                font-weight: bold;
                    167:                font-family: inherit; }
1.32      schwarze  168: .Ar {          font-style: italic;
1.16      schwarze  169:                font-weight: normal; }
1.32      schwarze  170: .Op {          display: inline; }
                    171: .Ic {          font-style: normal;
1.24      schwarze  172:                font-weight: bold;
                    173:                font-family: inherit; }
1.32      schwarze  174: .Ev {          font-style: normal;
1.10      schwarze  175:                font-weight: normal;
                    176:                font-family: monospace; }
1.32      schwarze  177: .Pa {          font-style: italic;
1.27      schwarze  178:                font-weight: normal; }
1.10      schwarze  179:
                    180: /* Semantic markup for function libraries. */
                    181:
1.32      schwarze  182: .Lb { }
1.24      schwarze  183: code.In {      font-style: normal;
                    184:                font-weight: bold;
                    185:                font-family: inherit; }
1.10      schwarze  186: a.In { }
1.32      schwarze  187: .Fd {          font-style: normal;
1.24      schwarze  188:                font-weight: bold;
                    189:                font-family: inherit; }
1.32      schwarze  190: .Ft {          font-style: italic;
1.16      schwarze  191:                font-weight: normal; }
1.32      schwarze  192: .Fn {          font-style: normal;
1.24      schwarze  193:                font-weight: bold;
                    194:                font-family: inherit; }
1.32      schwarze  195: .Fa {          font-style: italic;
1.16      schwarze  196:                font-weight: normal; }
1.32      schwarze  197: .Vt {          font-style: italic;
1.16      schwarze  198:                font-weight: normal; }
1.32      schwarze  199: .Va {          font-style: italic;
1.16      schwarze  200:                font-weight: normal; }
1.32      schwarze  201: .Dv {          font-style: normal;
1.10      schwarze  202:                font-weight: normal;
                    203:                font-family: monospace; }
1.32      schwarze  204: .Er {          font-style: normal;
1.10      schwarze  205:                font-weight: normal;
                    206:                font-family: monospace; }
                    207:
                    208: /* Various semantic markup. */
                    209:
1.32      schwarze  210: .An { }
                    211: .Lk { }
                    212: .Mt { }
                    213: .Cd {          font-style: normal;
1.24      schwarze  214:                font-weight: bold;
                    215:                font-family: inherit; }
1.32      schwarze  216: .Ad {          font-style: italic;
1.28      schwarze  217:                font-weight: normal; }
1.32      schwarze  218: .Ms {          font-style: normal;
1.29      schwarze  219:                font-weight: bold; }
1.32      schwarze  220: .St { }
                    221: .Ux { }
1.10      schwarze  222:
1.11      schwarze  223: /* Physical markup. */
1.7       schwarze  224:
1.26      schwarze  225: .Bf {          display: inline; }
1.11      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; }
1.7       schwarze  232: .Li {          font-style: normal;
                    233:                font-weight: normal;
                    234:                font-family: monospace; }
1.31      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.32      schwarze  241: .Sh, .Ss {     margin-left: 0em; }
1.33    ! schwarze  242: .Bd-indent {   margin-left: 2em; }
1.31      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: }

CVSweb