bedstead/bedstead.css
Ben Harris 0c31e0ef86 Set list-style-type in CSS.
It was obviously wrong that the <ul> on the Bedstead Web page had 
circular bullets.  The current CSS Lists and Counters working draft, 
<http://www.w3.org/TR/2014/WD-css-lists-3-20140320/>, allows for setting 
the bullet to a string, and Firefox 54 supports this, so use it in the 
CSS for Bedstead's Web page.
2017-07-15 23:25:36 +01:00

67 lines
1.3 KiB
CSS

/* Use Bedstead with proportional spacing for everything. */
body {
font-family: Bedstead;
font-size: 20px;
font-feature-settings: "palt";
font-synthesis: none;
margin-left: 24px;
}
/* Except where it's conventional to use a monospaced version. */
kbd, code, tt, pre {
font-family: Bedstead, monospace;
font-feature-settings: normal;
}
h2 {
font-size: 2em;
font-stretch: ultra-condensed;
font-weight: inherit;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
h1, h2 {
margin-left: -24px;
}
ul {
list-style-type: "\2022 ";
}
@font-face {
font-family: Bedstead;
font-stretch: expanded;
src: url(bedstead-extended.otf) format("opentype");
}
@font-face {
font-family: Bedstead;
font-stretch: normal;
src: url(bedstead.otf) format("opentype");
}
@font-face {
font-family: Bedstead;
font-stretch: semi-condensed;
src: url(bedstead-semicondensed.otf) format("opentype");
}
@font-face {
font-family: Bedstead;
font-stretch: condensed;
src: url(bedstead-condensed.otf) format("opentype");
}
@font-face {
font-family: Bedstead;
font-stretch: extra-condensed;
src: url(bedstead-extracondensed.otf) format("opentype");
}
@font-face {
font-family: Bedstead;
font-stretch: ultra-condensed;
src: url(bedstead-ultracondensed.otf) format("opentype");
}