mirror of
https://git.acl.cool/al/pages.git
synced 2026-02-10 16:58:09 -05:00
Compare commits
No commits in common. "95281c57207e0f9ed251ef10fa0912f56aa265b5" and "21d4514e130b00599fe8830e942db6ef2c75da99" have entirely different histories.
95281c5720
...
21d4514e13
2 changed files with 1 additions and 113 deletions
|
|
@ -1,46 +0,0 @@
|
|||
{.toaq-latin}
|
||||
:::
|
||||
|
||||
# Sá Chateikao Haqbai bâq Sairam
|
||||
|
||||
## Túq Baıpaq bâq Saıram
|
||||
|
||||
_Hê, ꝡä choq há nı́, nä haqbaı há sáq cenhe saıram da._
|
||||
|
||||
- **féfue garam** nueq begùobe gam
|
||||
- túq toese **gû** karatoq
|
||||
- túq toese **sâq** pıma nıq
|
||||
- túq gam nuı muoq **shı̂** kepa sao
|
||||
- **jó ꝡeu cı** paq bâq naho
|
||||
- **shı́ haqsupu** cıqke nıq, ꝡë gam jaq nuı hóa
|
||||
- **shı́ nhebıo** zeoseaı bebı̀tım kıa budùao po Tóaqgua
|
||||
- **gú haqsupu** shoju
|
||||
- **shı́ haqsupu** matu
|
||||
- **shı́ tısupu** kumıq puo
|
||||
- **shı́ tısupu** papıka puo, ꝡë luı goqloeq hóa
|
||||
- **shı́ tısupu** pıpa puo
|
||||
- **shı́ tısupu** kıqjıpoaı puo
|
||||
- **shí** lara
|
||||
- **shí peogù nhebıo** kıqjı, ꝡë luı botòedea hóa
|
||||
- **gú haqsupu** magonulı
|
||||
- **shı́ nhebıo** nao ro guobeze
|
||||
- **sá** keaqsaı
|
||||
- túq nuınuase po **shı́** lemoq
|
||||
- **shí** batata gam
|
||||
- shê, ꝡä nhoa loaımeoq ké haq, nä hao **sá** nıupuo bebàtata
|
||||
|
||||
## Ké Chateıdao Hamla lô Baıpaq
|
||||
|
||||
1. Suaı loeq ké rem lô nueq nı̂e sá tupa jaq loq ba.
|
||||
|
||||
2. Pımá rú képa rú cı́qke rú náho, nä sha nıe hóa túpa ba. Loeq hú shıqcaı nı̂e báq nulı nuı chôe, ꝡá huna ru peofuı képa ba.
|
||||
|
||||
3. Kúmıq rú pápıka rú pı́pa rú kı́qjıpoaı, nä loeq hóa nı̂e túpa dûo shı́ mınu néhera chôe, ꝡá hıq aısàla hóa ba.
|
||||
|
||||
4. Sha nıe zéoseaı túpa zûo, ꝡá shaı coe ké tıaq ké aımèırıe po túpa ba.
|
||||
|
||||
5. Jueqte túq seq kı́qjı seq hú lemoq ba. Hutúq, nä nıe hóa hú tupa nıepoa rú naoloeq tâmara hóa dûo shı́ roı shı peogù ꝡeu gu hora néhera chôe huna núeq ba.
|
||||
|
||||
6. Heqcheo hutúq róı kága kıqjı ba. Aısòa hû sá keaqsaı ho'u.
|
||||
|
||||
7. Namako lémoq rú gúom sá kıqjı nêo hú ramhaq ba. Gaq sá feaq hú saıram ba.
|
||||
|
|
@ -15,78 +15,12 @@
|
|||
document.documentElement.className = class_;
|
||||
// document.documentElement.className += ' invert'; // 'invert' to swap colors
|
||||
</script>
|
||||
<script defer>
|
||||
function fitH1ToContainer(h1) {
|
||||
const container = h1.closest(".container");
|
||||
if (!container || window.devicePixelRatio > 2) return;
|
||||
|
||||
const minFontSize = 8;
|
||||
const maxFontSize = parseFloat(h1.dataset.maxFontSize);
|
||||
|
||||
h1.style.whiteSpace = "nowrap";
|
||||
h1.style.display = "inline-block";
|
||||
|
||||
const style = getComputedStyle(container);
|
||||
const paddingLeft = parseFloat(style.paddingLeft);
|
||||
const paddingRight = parseFloat(style.paddingRight);
|
||||
|
||||
const availableWidth =
|
||||
container.getBoundingClientRect().width - paddingLeft - paddingRight;
|
||||
const containerWidth = availableWidth;
|
||||
|
||||
h1.style.fontSize = maxFontSize + "px";
|
||||
|
||||
if (h1.scrollWidth <= containerWidth) return;
|
||||
|
||||
let low = minFontSize;
|
||||
let high = maxFontSize;
|
||||
let best = minFontSize;
|
||||
|
||||
while (high - low > 0.1) {
|
||||
const mid = (low + high) / 2;
|
||||
h1.style.fontSize = mid + "px";
|
||||
|
||||
if (h1.scrollWidth <= containerWidth) {
|
||||
best = mid;
|
||||
low = mid;
|
||||
} else {
|
||||
high = mid;
|
||||
}
|
||||
}
|
||||
|
||||
h1.style.fontSize = best + "px";
|
||||
|
||||
if (h1.scrollWidth > containerWidth) {
|
||||
h1.style.whiteSpace = "normal";
|
||||
h1.style.display = "block";
|
||||
}
|
||||
}
|
||||
|
||||
function runFitText() {
|
||||
document.querySelectorAll("h1").forEach(fitH1ToContainer);
|
||||
}
|
||||
|
||||
function start() {
|
||||
document.fonts.ready.then(() => {
|
||||
// Store the original CSS font size on each h1
|
||||
document.querySelectorAll("h1").forEach(h1 => {
|
||||
h1.dataset.maxFontSize = getComputedStyle(h1).fontSize;
|
||||
});
|
||||
|
||||
runFitText();
|
||||
window.addEventListener("resize", runFitText);
|
||||
});
|
||||
}
|
||||
|
||||
window.addEventListener("DOMContentLoaded", start);
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main class="container">
|
||||
</main>
|
||||
<!-- <footer class="invert">
|
||||
<!-- <footer class="invert">
|
||||
<span class="container"
|
||||
style="display: block; padding-top: 1rem; padding-bottom: 1rem; display: flex; justify-content: space-between">
|
||||
<span><a href="/" class="er-color">take
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue