mirror of
https://bjh21.me.uk/bedstead/.git
synced 2026-07-09 13:33:06 -04:00
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.
67 lines
1.3 KiB
CSS
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");
|
|
}
|