shell-topbar
Buneilimintí comhéadain Na cruthanna nach féidir le comhpháirt a bheith, mar go dtimpeallaíonn siad corp nach eol ach don ghlaoiteoir: cártaí, greillí sonraí, roghchláir agus creatlach na mblaosc féin.
Fráma féin an bhlaoisc barra barr, mar mharcáil. Is é layout-topbar an leathanach iomlán lena mbaineann sé, faoi Blaoscanna.
Tá gach sampla beo, ach ní théann a naisc áit ar bith. Taispeánann HTML an marcáil le cóipeáil.
<div rst-shell-topbar ="page" >
<a rst-skip href ="#main" >Léim chuig an ábhar</a >
<header rst-shell-bar >
<a rst-shell-up href ="/menu#nav-home" rel ="up" aria-label ="Ar ais chuig an Roghchlár" ><svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><path d ="m15 18-6-6 6-6" /></svg >Roghchlár</a >
<h1 rst-shell-title >
<span ><a rst-shell-brand href ="/" >Notes</a ></span ><span >Baile</span >
</h1 >
<a rst-shell-brand href ="/" >Notes</a >
<nav rst-shell-nav >
<a id ="nav-home" href ="/" aria-current ="page" >Baile</a >
<a id ="nav-archive" href ="/archive" >Cartlann</a >
</nav >
<details rst-dropdown rst-shell-account name ="rst-shell-menu" >
<summary >
<span rst-shell-avatar >
<span rst-person-av aria-hidden ="true" >A</span >
<span rst-person-name >Ada Lovelace</span >
</span >
<span rst-shell-account-label >Cuntas</span >
<span rst-caret aria-hidden ="true" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><path d ="m6 9 6 6 6-6" /></svg >
</span >
</summary >
<div rst-dropdown-menu >
<div rst-shell-who >
<span rst-person-av aria-hidden ="true" >A</span >
<span rst-person-name >Ada Lovelace</span >
<span rst-person-email >ada@example.com</span >
</div >
<div rst-menu-row >
<span rst-menu-row-label >Cuma</span >
<div rst-scheme ="icons" role ="group" aria-label ="Cuma" >
<form method ="post" action ="/_theme" >
<input type ="hidden" name ="scheme" value ="light" >
<input type ="hidden" name ="return" value ="/" >
<button type ="submit" aria-label ="Sorcha" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><circle cx ="12" cy ="12" r ="4" /><path d ="M12 2v2" /><path d ="M12 20v2" /><path d ="m4.93 4.93 1.41 1.41" /><path d ="m17.66 17.66 1.41 1.41" /><path d ="M2 12h2" /><path d ="M20 12h2" /><path d ="m6.34 17.66-1.41 1.41" /><path d ="m19.07 4.93-1.41 1.41" /></svg >
</button >
</form >
<form method ="post" action ="/_theme" >
<input type ="hidden" name ="scheme" value ="dark" >
<input type ="hidden" name ="return" value ="/" >
<button type ="submit" aria-label ="Dorcha" aria-current ="true" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><path d ="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401" /></svg >
</button >
</form >
<form method ="post" action ="/_theme" >
<input type ="hidden" name ="scheme" value ="system" >
<input type ="hidden" name ="return" value ="/" >
<button type ="submit" aria-label ="Córas" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><rect width ="20" height ="14" x ="2" y ="3" rx ="2" /><line x1 ="8" x2 ="16" y1 ="21" y2 ="21" /><line x1 ="12" x2 ="12" y1 ="17" y2 ="21" /></svg >
</button >
</form >
</div >
</div >
<div rst-menu-row >
<span rst-menu-row-label >Teanga</span ><button type ="button" popovertarget ="rst-language" >
<span lang ="en" >English</span ><span rst-caret aria-hidden ="true" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><path d ="m6 9 6 6 6-6" /></svg >
</span >
</button >
<details rst-dropdown name ="rst-menus" >
<summary >
<span lang ="en" >English</span >
<span rst-caret aria-hidden ="true" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><path d ="m6 9 6 6 6-6" /></svg >
</span >
</summary >
</details >
<div rst-locale popover id ="rst-language" >
<div rst-menu-row >
<h2 >Teanga</h2 >
<button type ="button" popovertarget ="rst-language" popovertargetaction ="hide" >Dún</button >
</div >
<a href ="/en/" lang ="en" dir ="ltr" aria-current ="true" >English</a ><a href ="/ga/" lang ="ga" dir ="ltr" >Gaeilge</a ><a href ="/zh-Hans/" lang ="zh-Hans" dir ="ltr" >简体中文</a ><a href ="/es/" lang ="es" dir ="ltr" >Español</a ><a href ="/hi/" lang ="hi" dir ="ltr" >हिन्दी</a ><a href ="/pt-PT/" lang ="pt-PT" dir ="ltr" >Português</a ><a href ="/bn/" lang ="bn" dir ="ltr" >বাংলা</a ><a href ="/ru/" lang ="ru" dir ="ltr" >Русский</a ><a href ="/ja/" lang ="ja" dir ="ltr" >日本語</a ><a href ="/yue/" lang ="yue" dir ="ltr" >廣東話</a ><a href ="/vi/" lang ="vi" dir ="ltr" >Tiếng Việt</a ><a href ="/ar/" lang ="ar" dir ="rtl" >العربية</a >
</div >
</div >
<a href ="/settings" >Socruithe</a >
</div >
</details >
</header >
<main rst-page id ="main" >Ábhar.</main >
<footer rst-shell-foot >Déanta le Fiesta</footer >
</div >
In aip, shroichfeadh sé seo /, /_theme, /ar/, /archive, /bn/, /en/, /es/, /ga/, /hi/, /ja/, /menu#nav-home, /pt-PT/, /ru/, /settings, /vi/, /yue/, /zh-Hans/. Anseo ní théann a naisc ná a fhoirmeacha áit ar bith.
Oscail taispeántas an bhlaoisc barrabharra, réamhamharc dá chuid féin. (osclaítear i gcluaisín nua)