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