styles for lántas script stuff

This commit is contained in:
Rhiannon Morris 2021-04-29 12:03:39 +02:00
parent 0f22d15b2e
commit 30192588e6

View file

@ -125,6 +125,7 @@ pre {
.ipa, .lang, .ebnf-t {
font-family: var(--ipa-font);
letter-spacing: 0.025em;
font-feature-settings:
"ccmp", "calt", "liga", "loca", "mark", "mkmk", "ss01";
@ -146,6 +147,69 @@ pre {
font-weight: 500;
}
.scr {
height: 1.5em;
vertical-align: -40%;
padding-right: 0.5ex;
}
.gloss .scr {
height: 2em;
}
:is(.splash, .example) .scr {
height: unset;
display: block;
margin: auto;
}
.example {
margin: auto;
}
.example .text {
display: block;
text-align: center;
}
.letter-list {
margin: 1.25em auto 0;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
width: 75%;
row-gap: 0.5em;
column-gap: 1.5em;
}
.letter-list + .letter-list {
margin-top: 2.5em;
}
.letter-list .lang {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.letter-list .scr {
height: 3em;
margin-left: 0.5em;
}
.letter-list .text {
font-size: 125%;
}
main nav {
text-align: center;
font-size: 125%;
}
#toc > h2 {
font-size: 120%;
font-weight: 300;