باختصار
فصل من كتاب مدرسي في الأحياء فيه ستة أنواع من الإطارات، مثل التحذيرات وملاحظات المختبر. لكل نوع لونه ورمزه، فيميّز الطلاب بينها بنظرة واحدة.
ما الذي ستنضده
يُفتتح الفصل 2 من Living Matter، وهو كتاب مدرسي في الأحياء للمرحلة الثانوية العليا على صفحة 210 × 280 مم، تحت رسم لخلية تقطعها الزاوية العليا للصفحة، ورقم الفصل في نواتها. ثم تأتي ستة أنواع من الإطارات بثلاثة ألوان، لكل منها علامة خاصة به، فيميّز الطالب الهدف من التحذير قبل أن يقرأه. الأرجواني يميّز أهداف التعلم، المنضدة على شريط عليه هدف، والتقييم الذاتي، الذي له بلاطة بعلامة صح خارج إطاره. والأخضر يميّز النصيحة الدراسية، المنضدة بجانب خط رفيع تعلوه شارة مصباح، وإطار المختبر برموز السلامة الثلاثة. والتحذير كهرماني، بشارة تحذير على زاويته الخارجية. وBOX 2.1 بلون الخزامى تحت لسان أسود ودورق. وتأخذ المصطلحات العريضة لون إطارها، الأرجواني في BOX 2.1.
تجيب هذه الوصفة عن
- كيف أصنع إطارات ملاحظة أو نصيحة أو تحذير بأيقونة وشريط ملوّن وزوايا مستديرة؟
- كيف أضيف لسانًا مرقّمًا («BOX 1-1»)، أو أيقونة في الزاوية، أو أيقونة في الهامش مع خط؟
- كيف ألوّن المصطلحات الرئيسية (العريضة أو المائلة) في المتن أو داخل الإطارات؟
الجواب المختصر
// box(id, hue, device) is the shared base: the hue colours the title, bullets and key terms.
const TAB = 5, BADGE = 7.4; // in mm: the tab's height (and offset), the warning badge's size
const calloutStyles = [
// The first style is also the one a missing or misspelt type falls back to.
box('objectives', 'band', { title: t({ en: 'In this chapter', es: 'En este capítulo' }),
background: col('tintBand'), stripe: { enabled: true, width: mm(7.5), color: col('band') },
icon: icon('target', 5) }), // on a side stripe (left by default) the icon is centred on it
box('feature', 'band', { background: col('mist'),
titleStyle: { fontFamily: 'Lexend', fontSize: pt(10.5), color: col('ink'), gap: mm(1.6) },
// Printed only where the fence has label="…": the tab, the flask beside it, a rule to them.
label: { fontFamily: LABEL, fontSize: pt(8), color: col('paper'), background: col('ink'),
position: 'top-left', // this verso's outer corner, above the badge ('top-right' by default)
height: mm(TAB), offset: mm(TAB), paddingX: mm(2.3), // offset = height: on the top edge
icon: { resourceId: 'flask', width: mm(4.4), gap: mm(1.2) },
rule: { enabled: true, color: col('ink'), width: pt(1.2) } } }),
box('warning', 'warnInk', { background: col('tintWarn'), borderRadius: mm(1.4),
border: { enabled: true, color: col('warn'), width: pt(0.75) },
// The badge hangs half past the outer corner: sides of half badge + GAP align the title.
padding: { top: mm(2.8), right: mm(BADGE / 2 + GAP), bottom: mm(3.2),
left: mm(BADGE / 2 + GAP) },
icon: icon('caution', BADGE, { position: 'corner', cornerSide: 'outer' }) }),
]; // straight into config(), followed by the 'more' styles
المكونات
- الميزات
- إطارات التنبيهألسنة الإطارات المرقّمةأيقونات الإطارات وشارات الزواياعمود العلامة بجانب الإطارأعمدة داخل الإطار أو النصإطارات بعرض الصفحةإطارات عائمةالغامق والمائل وألوانهمالوحة ألوان دلاليةصفحات افتتاح مصمَّمةشريط فصل بعرض الصفحةالصور في تصاميم الصفحةسمات العنوانفواصل الأسطر في العناوينالترويسات وأرقام الصفحاتهوامش متناظرةالأشكال والجداول بوصفها موارداستشهادات تضع الأشكالموضع الأشكالصفحات على اللوحة (Canvas)
- الخطوط
- Noto Serif, Lexend, Barlow Semi Condensed (SIL OFL 1.1)
- الأصول
- لا شيء: كل صورة مرسومة بالشيفرة
طريقة التحضير
#1 · أعطِ كل نوع من الإطارات لونًا
const palette = { ink: '#1f2430', paper: '#ffffff', // text; type on stripes and tabs
band: '#ab2e78', tintBand: '#fae3ef', // the chapter's magenta: opener, objectives, self-check
tip: '#25734a', tintTip: '#e2f0e7', // study tips and lab work
warn: '#e39422', tintWarn: '#fcefd8', warnInk: '#94540a', // frame and badge; tint; its type
mist: '#e8e3f0', rule: '#dccfd8', muted: '#675e66' }; // feature box; lines in drawings; heads
const col = (id) => ({ hex: palette[id], model: 'hex', paletteId: id });
// The engine's defaults link to 'main-color': point it at the band, so nothing prints blue.
const colorPalette = Object.entries({ ...palette, 'main-color': palette.band })
.map(([id, hex]) => ({ id, name: id, value: { hex, model: 'hex' } }));
تتشارك ستة أنواع من الإطارات ثلاث درجات لونية: الأرجواني للأهداف والتقييم الذاتي، والأخضر للنصيحة الدراسية والمختبر، والكهرماني للتحذير. ولـBOX 2.1 تعبئة بلون الخزامى، ويستعمل الأرجواني لمصطلحاته الأساسية. لكل درجة لونية مسحة باهتة للتعبئات، وكل إعداد لون مربوط بمدخل في لوحة الألوان، فتغيير درجة لونية يعني تعديل قيمة واحدة. والحروف بهذا الصغر تحتاج إلى تباين 4.5:1. يبلغ الأرجواني على الخزامى 4.9:1، أما الكهرماني على تعبئة التحذير فلا يبلغ إلا 2.2:1، لذا يحتفظ التحذير بالكهرماني لحدّه وشارته، ويُنضّد عنوانه ومصطلحاته الأساسية بـwarnInk، وهو كهرماني أغمق يبلغ 5.2:1.
#2 · شارِك كل ما عدا ذلك
const box = (id, hue, device) => ({ id, marginTop: pt(LEAD), marginBottom: pt(LEAD / 2),
padding: { top: mm(2.8), right: mm(3.4), bottom: mm(3.2), left: mm(3.4) },
titleStyle: { fontFamily: LABEL, fontSize: pt(8.5), color: col(hue), // bold by default
textTransform: 'uppercase', letterSpacing: pt(1.4), gap: mm(GAP) },
body: { fontFamily: LABEL, fontSize: pt(9.6), lineHeight: pt(12.6), color: col('ink'),
boldColor: col(hue), textAlign: 'left', firstLineIndent: pt(0), paragraphSpacing: true },
lists: { color: col(hue), gap: mm(2.2), itemSpacing: pt(2.4) }, // bullets and numbers
...device }); // the kind's title, fill and device: its spread wins over the base
// An SVG or bitmap resource, fitted into a square of that size (width × size with `width`).
const icon = (id, size, more) => ({ kind: 'resource', resourceId: id, size: mm(size), ...more });
يتضمّن box() الإعدادات التي تتشاركها كل الإطارات: الهوامش، والحشو، وحروف العنوان والمتن، وتباعد القوائم. ويلوّن الوسيطُ hue العنوانَ، والنقاط والأرقام، والمقاطع العريضة. يجعل body.boldColor عبارة fluid mosaic model أرجوانية في الأهداف وcell wall بنية كهرمانية في التحذير؛ ويبقى الأسود العريض في النص الجاري بلون الحبر (الطباعة داخل الإطار). والتصريح بـcalloutStyles يحل محل النمط الوحيد الذي يأتي مع المحرّك، وهو إطار رمادي اسمه note. وسطر الفتح الذي يغيب type فيه أو يُكتب خطأً يأخذ النمط الأول، لذا تبدأ القائمة بالأهداف، التي يحتويها كل فصل.
#3 · الشريط واللسان والشارة
الشيفرة هي الجواب المختصر أعلاه. عرض شريط الأهداف 7.5 مم وعرض هدفه 5 مم، فتقع الأيقونة داخل اللون وحولها متسع من الجانبين. وoffset اللسان يساوي height الخاص به، فيقف اللسان على الحافة العليا للإطار، بعيدًا عن العنوان. و'top-left' هي الزاوية الخارجية لهذه الصفحة الزوجية؛ يتبع الدورقُ اللسانَ، ويمتد الخط على الحافة العليا من الدورق إلى الزاوية البعيدة. ويعلّق position: 'corner' شارة التحذير بنصف عرضها خارج الحافة، ويرسلها cornerSide: 'outer' إلى جهة الحافة الأمامية، أي اليسار في هذه الصفحة الزوجية. وفي تلك الجهة يزيح المحرّك العنوان ليبتعد عن الشارة ما لم يغطِّ الحشو أصلًا نصف الشارة مضافًا إليه فراغ العنوان، لذا يحشو التحذير الجانبين بـBADGE / 2 + GAP فيصطف عنوانه مع نصه. ولا borderRadius إلا لهذا الإطار: فهو الوحيد ذو الحدّ، ونصف قطر 1.4 مم يليّن زواياه. ولو أُعطي إطار ذو شريط نصف قطر لاستدارت معه زوايا الشريط الخارجية (أنماط الإطارات).
#4 · ثلاث علامات أخرى
const BULB = 6.4; // the study tip's badge in mm: the text clears it
const moreStyles = [
box('tip', 'tip', { title: t({ en: 'Study tip', es: 'Para recordar' }),
backgroundEnabled: false, stripe: { enabled: true, width: pt(2.5), color: col('tip') },
// A stripe narrower than its icon: the badge sits on it at the top and hides it there.
padding: { top: mm(0.6), right: mm(0), bottom: mm(0.6), left: mm(BULB / 2 + 2) },
icon: icon('bulb', BULB) }),
box('safety', 'tip', { background: col('tintTip'), marginTop: pt(4), // under its heading
icon: icon('safety', 7, { width: mm(24.5), align: 'center' }) }), // 3 pictograms, 1 image
box('check', 'band', { background: col('tintBand'),
// Outside the frame: [marker][rule][gap][box], the rule as tall as the box.
marker: { kind: 'resource', resourceId: 'check', size: mm(7), align: 'top', gap: mm(3),
rule: { enabled: true, color: col('band'), width: pt(0.75) } } }),
];
عرض شريط النصيحة الدراسية 2.5 pt مقابل شارة مصباح قطرها 6.4 مم، فيُطبع خطًّا رفيعًا تعلو الشارة طرفه العلوي؛ ويبعد حشو أيسر بنصف الشارة زائد 2 مم النصَّ عن المصباح. ويُدخل icon.width الصورة في مستطيل عريض بدل مربع، فرموز السلامة الثلاثة، المرسومة صورة واحدة بعرض 24.5 مم، تصنع عمود أيقونة إطار المختبر، متوسطة على نصه. وتقع علامة التقييم الذاتي خارج الإطار، بالترتيب: العلامة، ثم الخط، ثم الفراغ، ثم الإطار. وبلاطتها المربعة على خط بسماكة 0.75 pt تميزها عن النصيحة الدراسية، التي شارتها مستديرة. ويُضاف في سطر الفتح span="page" placement="bottom" ليطفو التقييم الذاتي إلى أسفل الصفحة 29.
#5 · الأيقونات موارد
const svgResource = (id, width, height, extra) => ({ id, typeId: 'figure', kind: 'svg',
svg: { fileId: `${id}.svg`, width, height }, createdAt: 0, updatedAt: 0, ...extra });
const pageTop = { position: 'top', span: 'page' }; // a 'top' float opens the page after its :ref
const resources = [
// Uncited, so never placed as figures: the box styles and the opener use them by id.
...['target', 'bulb', 'caution', 'check'].map((id) => svgResource(id, 240, 240)),
svgResource('flask', 200, 240), svgResource('safety', 760, 240), svgResource('cell', 2000, 2000),
svgResource('mosaic', 3480, 1240, { placement: pageTop, caption: t({
en: 'The fluid mosaic: magenta phospholipids, green proteins, an amber carrier with its '
+ 'glucose, grey cholesterol, amber sugars.', // one line: the page is wide
es: 'El mosaico fluido: fosfolípidos magenta, proteínas verdes, transportadora ámbar con su '
+ 'glucosa, colesterol gris, azúcares ámbar.' }),
altText: t({ en: 'A cell membrane in section', es: 'Una membrana celular en sección' }) }),
svgResource('fusion', 1800, 500, { placement: { position: 'here' }, caption: t({
en: 'Mouse proteins in green, human proteins in magenta (the red dye): the two cells, the '
+ 'hybrid just after fusion and the same hybrid 40 minutes later.',
es: 'En verde, las proteínas de ratón; en magenta, las humanas (el colorante rojo): las dos '
+ 'células, el híbrido recién fusionado y el mismo híbrido 40 minutos después.' }),
altText: t({ en: 'Two cells fusing into a hybrid', es: 'Dos células que se fusionan' }) }),
svgResource('osmosis', 3480, 860, { placement: pageTop, caption: t({
en: 'Red blood cells in a hypertonic, an isotonic and a hypotonic solution. Arrows show the '
+ 'net flow of water.',
es: 'Glóbulos rojos en una disolución hipertónica, una isotónica y una hipotónica. Las flechas '
+ 'indican el flujo neto de agua.' }),
altText: t({ en: 'Blood cells in three solutions', es: 'Glóbulos rojos en tres medios' }) }),
];
كل أيقونة، والدورق بجانب اللسان، وخلية الافتتاح، موارد SVG مصرّح بها مع المحتوى ومسجلة بمعرّف الملف. يحدّدها النمط بمعرّف المورد، ولأن النص لا يستشهد بها أبدًا لا يصير أي منها شكلًا مرقمًا. كانت رموز مثل ✓ أو ☞ ستكون أقصر كتابةً، لكن ملفات Fontsource اللاتينية التي تستعملها الصفحات لا تحتويها: فكان الرسم على Canvas سيستعيرها من خط من خطوط النظام، وكان PDF سيُسقطها. وليس في الرسوم كلمات أيضًا: فالتعليقات هي التي تذكر الألوان، وهكذا يصلح الرسم الواحد للطبعتين.
#6 · افتتح الفصل بخلية
const text = (id, content, family, size, color, placement, extra) => ({ kind: 'text', id,
content, fontFamily: family, fontSize: pt(size), color: col(color), placement,
align: 'left', ...extra }); // an opener's texts wrap by default
const below = (id, y, width) => ({ anchor: { to: `#${id}`, edge: 'below' },
offset: { y: mm(y) }, size: { width: mm(width) } });
const chapter = t({ en: 'Chapter {chapterNumber}', es: 'Capítulo {chapterNumber}' });
const opener = { enabled: true, minHeight: mm(66), slot: { elements: [
{ kind: 'image', id: 'cell', resourceId: 'cell', placement: { anchor: { to: 'page',
edge: 'top-right' }, offset: { x: mm(58), y: mm(-71) }, size: { width: mm(150) } } },
text('numeral', '{chapterNumber}', 'Lexend', 118, 'paper', { anchor: { to: 'page',
edge: 'top-right' }, offset: { x: mm(-OUTER), y: mm(14) } },
{ fontWeight: 800, lineHeight: 1, align: 'right' }),
text('kicker', `${chapter} · {attr.unit}`, LABEL, 9, 'band', { anchor: { to: 'container',
edge: 'top-left' }, offset: { y: mm(3) } },
{ fontWeight: 700, letterSpacing: pt(1.8), textTransform: 'uppercase' }),
text('title', '{titleText}', 'Lexend', 34, 'ink', below('kicker', 2.5, 112),
{ fontWeight: 700, lineHeight: 1.04 }),
text('lead', '{attr.lead}', 'Noto Serif', 10.5, 'ink', below('title', 5, 98),
{ italic: true, lineHeight: 1.42 }),
] } };
الخلية عنصر صورة مربوط بالزاوية العليا اليمنى للصفحة ومدفوع خارجها، فلا يظهر في الغالب إلا ربعها السفلي الأيسر، ويقع الرقم في نواتها. ويبقى كلاهما داخل مسافة 66 مم التي يحجزها minHeight للافتتاح. ويأتي العنوان التمهيدي والمقدمة من سطر العنوان، # Cells and \\ Membranes {unit="The cell" lead="…"}، ولا يكسر \\ العنوان إلا في الافتتاح.
الوصفة كاملة
// ═══ Postext Cookbook · Nº 008 · A family of textbook boxes ═══════════════════════
// https://postext.dev/en/cookbook/textbook-box-family
// Code: MIT · Text: original (CC BY 4.0) · Drawings and icons: generated in code (CC BY 4.0)
// Fonts: Noto Serif, Lexend, Barlow Semi Condensed (SIL OFL 1.1) · Needs postext ≥ 1.25.0
import {
buildDocumentWithFonts, prepareFonts, renderPageToCanvas, registerResourceImage,
} from 'https://esm.sh/postext';
const LANG = 'en'; // @lang: the language of the sample document ('en' | 'es')
const RECIPE = 'textbook-box-family';
// ─── 1 · Design ─────────────────────────────────────────────────────────────
// #region palette: three hues for six kinds of box; everything links to an entry
const palette = { ink: '#1f2430', paper: '#ffffff', // text; type on stripes and tabs
band: '#ab2e78', tintBand: '#fae3ef', // the chapter's magenta: opener, objectives, self-check
tip: '#25734a', tintTip: '#e2f0e7', // study tips and lab work
warn: '#e39422', tintWarn: '#fcefd8', warnInk: '#94540a', // frame and badge; tint; its type
mist: '#e8e3f0', rule: '#dccfd8', muted: '#675e66' }; // feature box; lines in drawings; heads
const col = (id) => ({ hex: palette[id], model: 'hex', paletteId: id });
// The engine's defaults link to 'main-color': point it at the band, so nothing prints blue.
const colorPalette = Object.entries({ ...palette, 'main-color': palette.band })
.map(([id, hex]) => ({ id, name: id, value: { hex, model: 'hex' } }));
// #endregion
// Label face (box text and titles, tabs, captions, heads); leading in pt; outer margin in mm
const LABEL = 'Barlow Semi Condensed', LEAD = 13.4, OUTER = 16, GAP = 1.5; // GAP: title gap, mm
// #region base: what every box shares; each kind brings its colour and its one device
const box = (id, hue, device) => ({ id, marginTop: pt(LEAD), marginBottom: pt(LEAD / 2),
padding: { top: mm(2.8), right: mm(3.4), bottom: mm(3.2), left: mm(3.4) },
titleStyle: { fontFamily: LABEL, fontSize: pt(8.5), color: col(hue), // bold by default
textTransform: 'uppercase', letterSpacing: pt(1.4), gap: mm(GAP) },
body: { fontFamily: LABEL, fontSize: pt(9.6), lineHeight: pt(12.6), color: col('ink'),
boldColor: col(hue), textAlign: 'left', firstLineIndent: pt(0), paragraphSpacing: true },
lists: { color: col(hue), gap: mm(2.2), itemSpacing: pt(2.4) }, // bullets and numbers
...device }); // the kind's title, fill and device: its spread wins over the base
// An SVG or bitmap resource, fitted into a square of that size (width × size with `width`).
const icon = (id, size, more) => ({ kind: 'resource', resourceId: id, size: mm(size), ...more });
// #endregion
// #region answer: three devices: an icon on a wide stripe, a numbered tab, an outer badge
// box(id, hue, device) is the shared base: the hue colours the title, bullets and key terms.
const TAB = 5, BADGE = 7.4; // in mm: the tab's height (and offset), the warning badge's size
const calloutStyles = [
// The first style is also the one a missing or misspelt type falls back to.
box('objectives', 'band', { title: t({ en: 'In this chapter', es: 'En este capítulo' }),
background: col('tintBand'), stripe: { enabled: true, width: mm(7.5), color: col('band') },
icon: icon('target', 5) }), // on a side stripe (left by default) the icon is centred on it
box('feature', 'band', { background: col('mist'),
يعمل ملف script.js المجمّع كما هو: الصقه في سكربت الوحدة (module) لأي صفحة، أو افتح الوصفة على CodePen. مجلد الوصفة على GitHub ↗ (يفتح في تبويب جديد)
تنويعات
#مدّ إطارًا عبر العمودين
يمدّ span="page" في سطر الفتح أي نوع من الإطارات عبر العمودين؛ ويضم BOX 2.1 أيضًا مجموعة :::columns ليضع شكله بجانب نصه.
-:::callout{type="warning" title="Membrane or wall?"}
+:::callout{type="warning" title="Membrane or wall?" span="page"}#علّق الشارة في جهة الكعب
ينقل 'inner' الشارة إلى جهة الكعب، يسارًا في الصفحة الفردية ويمينًا في الزوجية؛ اترك في تلك الجهة متسعًا للنصف المعلق خارج الإطار.
- icon: icon('caution', BADGE, { position: 'corner', cornerSide: 'outer' }) }),
+ icon: icon('caution', BADGE, { position: 'corner', cornerSide: 'inner' }) }),#أوقف اللسان على الزاوية اليمنى
'top-right'، وهي القيمة الافتراضية، تعكس التسمية كلها: ينتقل اللسان إلى الزاوية اليمنى، والدورق إلى يساره، ويمتد الخط من اليسار إلى الداخل.
- position: 'top-left', // this verso's outer corner, above the badge ('top-right' by default)
+ position: 'top-right',أخطاء شائعة
خطأ شائع
ملفات Fontsource تغطي الحروف لا الرموز
تضمّن العُدّة ملف latin من Fontsource لكل خط، ومعه ملف latin-ext للحروف č وł و†، وملف greek للحروف α وχ (في عائلة تضمه: لا يضمه Lora ولا Gelasio)، حين يستعملها النص، على الشاشة وفي PDF. أما رموز مثل → و≈ و✓ و★ فليست في أي من هذه الملفات فتغيب عن PDF: ارسمها، أو اكتبها رياضيات، أو اختر خطًا تضمها ملفاته. الخطوط المضمَّنة في PDF →
خطأ شائع
العنصر العائم 'top' يذهب إلى الصفحة التالية لإحالته ما لم يُسمح له بتصدر صفحة الإحالة
افتراضيًا لا يصعد العنصر العائم أبدًا فوق الإحالة إليه، فالعنصر العائم 'top' الممتد بعرض الصفحة والمُحال إليه في الصفحة N يفتتح الصفحة N+1. اضبط placement.citingPage: true على المورد أو على defaultPlacement لنوعه (أو layout.floatsAtCitingPage للكتاب كله، منذ postext 1.25) فيتصدر الصفحة N بدلًا من ذلك، وينزل النص الذي فوق الإحالة تحته، إذا اتسع له المكان في حدود layout.maxTopFraction وبقي سطر الإحالة في تلك الصفحة. ولا يتصدر أبدًا الصفحة الأولى من فصل ولا صفحة بعد فاصل قسري: فهناك يظل يفتتح الصفحة التالية، ويمكن للموضع 'auto' أو 'bottom' أن يشغل أسفل صفحة الإحالة. موضع الأشكال →
خطأ شائع
الصفحة 1 فردية: خطّط الصفحات بأرقامها الفعلية
الصفحة 1 صفحة يمنى والصفحة 2 أول صفحة زوجية، فخطّط الصفحتين المتقابلتين بأرقام الصفحات الفعلية: الافتتاحية في صفحة زوجية تقابل الصفحة الفردية التي تليها. فواصل الصفحات والأعمدة →
تحذير الإخراج · unknownCalloutType
نوع إطار غير معروف
السبب. حاوية :::callout تذكر نوعًا لا تعرّفه calloutStyles، فيُطبَّق عليها النمط الأول دون أي تحذير.
الحل. عرّف النمط أو صحّح السمة type. التوثيق →
- لا يُطبع اللسان إلا حين يكون في سطر الفتح
label="BOX 2.1"وفي النمط كائنlabel. والنمط الخالي منه يتجاهل السمة. - لا يرقّم Postext الإطارات. التسمية هي النص الحرفي في سطر الفتح، فتكتب كل رقم، BOX 2.1 وBOX 2.2، بيدك.
- تتعلق شارة الزاوية بنصف عرضها خارج جانب الإطار، في الهامش على الجهة الخارجية من الصفحة. أما في العمود الآخر من الصفحة نفسها فتتعلق في الفاصل بين الأعمدة، لذا أبقِ الإطارات ذات الشارات في العمود الخارجي أو اترك لها متسعًا.
- يلوّن
lists.colorالخاص بالإطار نقاطه وأرقام قوائمه المرقمة على السواء، ولهذا تُطبع هنا الخطوات والأسئلة المرقمة بلون إطارها. ولتلوين نقاط إطار وحدها، اتركlists.colorخارج نمطه واضبطunorderedLists.colorللمستند؛ فتحتفظ الأرقام عندئذ بـorderedLists.color.
الحقوق
- الوصفة
- Ignacio Ferro
- النص
- نص أصلي, CC BY 4.0
- الخطوط
- Noto Serif (SIL OFL 1.1) · Lexend (SIL OFL 1.1) · Barlow Semi Condensed (SIL OFL 1.1)
- الشيفرة
- MIT، مثل Postext
حرّر هذا الشرح ↗ (يفتح في تبويب جديد)مجلد الوصفة على GitHub ↗ (يفتح في تبويب جديد)


