mirror of
https://bjh21.me.uk/bedstead/.git
synced 2026-07-10 05:53:05 -04:00
38 lines
746 B
CSS
38 lines
746 B
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: condensed;
|
|
font-weight: inherit;
|
|
margin-top: 0.5em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
h1, h2 {
|
|
margin-left: -24px;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: Bedstead;
|
|
src: url(bedstead.otf) format("opentype");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: Bedstead;
|
|
font-stretch: condensed;
|
|
src: url(bedstead-con.otf) format("opentype");
|
|
}
|