UNPKG

gel-typography

Version:

A flexible code implementation of the GEL Typography

437 lines (417 loc) 28.9 kB
<!doctype html> <html class="no-js" lang="en-GB"> <head> <meta charset="utf-8" /> <title>GEL Typography Demo | BBC GEL</title> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <script> function hasTouchscreen() { if ('ontouchstart' in window) { return true; } if (window.hasOwnProperty && window.hasOwnProperty('ontouchstart')) { return true; } if (window.DocumentTouch && document instanceof DocumentTouch) { return true; } if (navigator.msMaxTouchPoints) { return true; } return false; } function toggleBold() { const updatedText = this.textContent == 'Toggle Bold Off' ? 'Toggle Bold On' : 'Toggle Bold Off'; const boldIsActive = updatedText !== 'Toggle Bold On'; const typeDemos = document.querySelectorAll('.gel-type-demo'); typeDemos.forEach((typeDemo) => { const typeClass = typeDemo.dataset.typeClass; const defaultClassname = 'gel-' + typeClass; const boldClassname = defaultClassname + '-bold'; if (boldIsActive) { typeDemo.classList.replace(defaultClassname, boldClassname); } else { typeDemo.classList.replace(boldClassname, defaultClassname); } }); this.textContent = updatedText; return false; } function toggleTouch() { const touchIsActive = document.documentElement.classList.contains('touch'); console.log(touchIsActive); if (touchIsActive) { document.documentElement.classList.replace('touch', 'no-touch'); } else { document.documentElement.classList.replace('no-touch', 'touch'); } this.textContent = touchIsActive ? 'Toggle Touch On' : 'Toggle Touch Off'; return false; } function initialised() { document.documentElement.classList.remove('no-js'); const boldTrigger = document.querySelector('#bold-toggle'); if (boldTrigger !== null) { boldTrigger.addEventListener('click', toggleBold, false); } const touchTrigger = document.querySelector('#touch-toggle'); if (touchTrigger !== null) { touchTrigger.addEventListener('click', toggleTouch, false); } if (!hasTouchscreen()) { document.documentElement.classList.add('no-touch'); touchTrigger.textContent = 'Toggle Touch On'; } } document.addEventListener('DOMContentLoaded', initialised); </script> <link rel="stylesheet" href="assets/css/gel-typography-demo.css" /> </head> <body> <!-- GEL Demos Header --> <div class="gel-demo"> <header class="gel-demo-header"> <div class="gel-demo-header__banner"> <div class="gel-wrap clearfix"> <div class="gel-layout gel-layout--center"> <div class="gel-layout__item gel-10/12@xxl"> <div class="gel-demo-header__brand"> <div class="gel-demo-header__brand-logo"> <svg viewBox="0 0 702 162" class="gel-masthead__svg"> <title>GEL - Global Experience Language</title> <g> <rect x="399.1" y="4.2" width="4.3" height="144.4"></rect> <g> <path d="M129.3,139.9c-4.6,2.4-9.8,4.5-15.6,6.3c-5.8,1.8-11.9,3.1-18.2,3.9c-6.3,0.9-12.7,1.3-19,1.3 c-11.7,0-22.3-1.7-31.6-5.2c-9.4-3.4-17.3-8.4-23.8-15c-6.5-6.5-11.5-14.4-15-23.7S1,87.8,1,76.1c0-11.4,1.8-21.8,5.5-31 c3.6-9.2,8.8-17.1,15.6-23.7c6.7-6.6,14.8-11.6,24.3-15.2c9.5-3.5,20.1-5.3,31.8-5.3c8.8,0,17.1,0.8,25.2,2.5 c8,1.7,15.4,4.1,22.1,7.4v28.7c-6.2-3.8-13-6.6-20.3-8.6C97.8,29,89.9,28,81.4,28c-10.2,0-18.9,1.9-26.1,5.7 C48.2,37.4,42.8,42.9,39,50c-3.8,7.1-5.7,15.8-5.7,26.1c0,15.6,3.9,27.6,11.7,36.1c7.8,8.4,19,12.6,33.5,12.6 c3.6,0,7.3-0.3,10.9-0.8c3.6-0.5,7.2-1.3,10.7-2.4V92.5H74.3V68h55V139.9z" ></path> <path d="M148.1,4h99.4v25.9h-68.3v31.3h60.6V87h-60.6v35.6h72.1v25.9H148.1V4z" ></path> <path d="M269.1,4h31.1v117.4h68.5v27.1h-99.6V4z"></path> </g> <g> <path d="M465.2,40.8c-1.2,0.6-2.5,1.2-4,1.6c-1.5,0.5-3.1,0.8-4.7,1c-1.6,0.2-3.3,0.3-4.9,0.3c-3,0-5.8-0.4-8.2-1.3 c-2.4-0.9-4.5-2.2-6.2-3.9c-1.7-1.7-3-3.7-3.9-6.1c-0.9-2.4-1.3-5.1-1.3-8.2c0-3,0.5-5.6,1.4-8c0.9-2.4,2.3-4.4,4-6.1 c1.7-1.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4,1.6-3.4,1.6-6c0-2.5-0.5-4.4-1.4-5.7C512.1,74.9,510.8,74.3,509,74.3z" ></path> <path d="M550.3,94.4c-2.7,1.4-5.9,2-9.5,2c-3,0-5.5-0.6-7.6-1.7c-2.1-1.1-3.8-2.7-4.9-4.8c-1.1-2.1-1.7-4.6-1.7-7.6 c0-2.2,0.3-4.2,0.9-5.9c0.6-1.8,1.5-3.3,2.6-4.5c1.1-1.3,2.5-2.2,4.1-2.9c1.6-0.7,3.4-1,5.4-1c3.8,0,6.7,1.2,8.7,3.5 c2,2.4,3,5.7,3,10.1v2.2h-17.2c0.3,2.2,1.1,3.8,2.3,4.9c1.3,1,3.1,1.6,5.5,1.6c1.6,0,3.1-0.2,4.4-0.5c1.3-0.3,2.6-0.9,3.9-1.7 V94.4z M539.5,73.6c-1.5,0-2.6,0.5-3.6,1.5c-0.9,1-1.5,2.4-1.8,4.3h10c-0.1-2-0.6-3.4-1.4-4.4C542.1,74.1,541,73.6,539.5,73.6z" ></path> <path d="M571.1,74.9c-2.6,0-4.7,1.1-6.4,3.3v17.6h-7.7V68.7h6.6l0.5,4.2c1.9-3.1,4.3-4.7,7.2-4.7 c0.7,0,1.3,0.1,1.8,0.2c0.5,0.1,1,0.3,1.5,0.5v7C573.6,75.2,572.5,74.9,571.1,74.9z" ></path> <path d="M582.5,56.7c1.4,0,2.5,0.4,3.3,1.1c0.8,0.7,1.2,1.7,1.2,3c0,1.2-0.4,2.2-1.2,2.9c-0.8,0.7-1.9,1.1-3.3,1.1 c-1.4,0-2.5-0.4-3.3-1.1c-0.8-0.7-1.2-1.7-1.2-2.9c0-1.3,0.4-2.2,1.2-3C580,57,581.1,56.7,582.5,56.7z M578.6,68.7h7.7v27.1h-7.7 V68.7z" ></path> <path d="M614.8,94.4c-2.7,1.4-5.9,2-9.5,2c-3,0-5.5-0.6-7.6-1.7c-2.1-1.1-3.8-2.7-4.9-4.8c-1.1-2.1-1.7-4.6-1.7-7.6 c0-2.2,0.3-4.2,0.9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.5-6-1.6c-1.7-1.1-3-2.6-3.9-4.6c-0.9-2-1.4-4.3-1.4-7c0-3,0.6-5.6,1.8-7.7 c1.2-2.1,2.9-3.7,5.1-4.9c2.2-1.1,5-1.7,8.2-1.7c1.7,0,3.5,0.2,5.2,0.6c1.7,0.4,3.6,1,5.6,1.9V148z M620.6,134.7 c0,2.3,0.5,4.1,1.4,5.4c0.9,1.3,2.3,1.9,4.1,1.9c1.9,0,3.5-0.7,4.9-2.2v-12c-0.6-0.2-1.2-0.4-1.8-0.5c-0.6-0.1-1.2-0.2-1.9-0.2 c-2.1,0-3.8,0.7-4.9,2C621.1,130.4,620.6,132.2,620.6,134.7z" ></path> <path d="M667,147.2c-2.7,1.4-5.9,2-9.5,2c-3,0-5.5-0.6-7.6-1.7c-2.1-1.1-3.8-2.7-4.9-4.8c-1.1-2.1-1.7-4.6-1.7-7.6 c0-2.2,0.3-4.2,0.9-5.9c0.6-1.8,1.5-3.3,2.6-4.5c1.1-1.3,2.5-2.2,4.1-2.9c1.6-0.7,3.4-1,5.4-1c3.8,0,6.7,1.2,8.7,3.5 c2,2.4,3,5.7,3,10.1v2.2h-17.2c0.3,2.2,1.1,3.8,2.3,4.9c1.3,1,3.1,1.6,5.5,1.6c1.6,0,3.1-0.2,4.4-0.5c1.3-0.3,2.6-0.9,3.9-1.7 V147.2z M656.3,126.4c-1.5,0-2.6,0.5-3.6,1.5c-0.9,1-1.5,2.4-1.8,4.3h10c-0.1-2-0.6-3.4-1.4-4.4 C658.8,126.9,657.7,126.4,656.3,126.4z" ></path> </g> </g> </svg> </div> </div> <a class="gel-demo-header__banner-button button gel-long-primer-bold" href="https://www.bbc.co.uk/gel" >Go to BBC GEL</a > </div> </div> </div> </div> <div class="gel-demo-header__intro"> <div class="gel-wrap"> <div class="gel-layout gel-layout--center"> <div class="gel-layout__item gel-10/12@xxl"> <div class="gel-layout"> <div class="gel-layout__item gel-3/4@l"> <h1 class="gel-demo-header__intro-title gel-canon-bold">Typography</h1> <p class="gel-demo-header__intro-summary"> This is a working demo of the <a href="https://www.bbc.co.uk/gel/guidelines/typography" >GEL Typography Guidelines</a >. This demo shows how our typographic styles are set across the BBC, online. </p> </div> </div> </div> </div> </div> </div> </header> <main class="gel-demo-content"> <div class="gel-wrap"> <div class="gel-layout gel-layout--center"> <div class="gel-layout__item gel-10/12@xxl"> <div class="gel-type-controls"> <p class="gel-type-controls__label gel-double-pica mb"> Your device is currently using: </p> <p class="gel-type-controls__group-name gel-great-primer"></p> <div class="gel-type-controls__toggle-controls gel-brevier-bold"> <button class="gel-type-controls__mode-toggle gel-type-controls__mode-toggle--bold" id="bold-toggle" > Toggle Bold On </button> <button class="gel-type-controls__mode-toggle gel-type-controls__mode-toggle--touch" id="touch-toggle" > Toggle Touch Off </button> </div> <p class="gel-type-controls__example-device gel-brevier"></p> </div> <div class="gel-type-demo-list"> <article class="gel-type-demo gel-canon" data-type-class="canon"> <div class="gel-type-demo__class gel-long-primer"> <h2 class="gel-type-demo__class-name gel-long-primer">Canon</h2> <p class="gel-type-demo__class-html gel-brevier">(<code>gel-canon</code>)</p> </div> <div class="gel-layout"> <div class="gel-layout__item gel-1/3@l"> <p class="gel-type-demo__sample-scale"> <span class="gel-type-demo__settings"></span> AaGg </p> </div> <div class="gel-layout__item gel-2/3@l"> <p> Final preparations have begun for the London Paralympics opening ceremony, heralding 11 days of competition for athletes with disabilities </p> </div> </div> </article> <article class="gel-type-demo gel-trafalgar" data-type-class="trafalgar"> <div class="gel-type-demo__class gel-long-primer"> <h2 class="gel-type-demo__class-name gel-long-primer">Trafalgar</h2> <p class="gel-type-demo__class-html gel-brevier"> (<code>gel-trafalgar</code>) </p> </div> <div class="gel-layout"> <div class="gel-layout__item gel-1/3@l"> <p class="gel-type-demo__sample-scale"> <span class="gel-type-demo__settings"></span> AaGg </p> </div> <div class="gel-layout__item gel-2/3@l"> <p> Final preparations have begun for the London Paralympics opening ceremony, heralding 11 days of competition for athletes with disabilities </p> </div> </div> </article> <article class="gel-type-demo gel-double-pica" data-type-class="double-pica"> <div class="gel-type-demo__class gel-long-primer"> <h2 class="gel-type-demo__class-name gel-long-primer">Double Pica</h2> <p class="gel-type-demo__class-html gel-brevier"> (<code>gel-double-pica</code>) </p> </div> <div class="gel-layout"> <div class="gel-layout__item gel-1/3@l"> <p class="gel-type-demo__sample-scale"> <span class="gel-type-demo__settings"></span> AaGg </p> </div> <div class="gel-layout__item gel-2/3@l"> <p> Final preparations have begun for the London Paralympics opening ceremony, heralding 11 days of competition for athletes with disabilities </p> </div> </div> </article> <article class="gel-type-demo gel-great-primer" data-type-class="great-primer"> <div class="gel-type-demo__class gel-long-primer"> <h2 class="gel-type-demo__class-name gel-long-primer">Great Primer</h2> <p class="gel-type-demo__class-html gel-brevier"> (<code>gel-great-primer</code>) </p> </div> <div class="gel-layout"> <div class="gel-layout__item gel-1/3@l"> <p class="gel-type-demo__sample-scale"> <span class="gel-type-demo__settings"></span> AaGg </p> </div> <div class="gel-layout__item gel-2/3@l"> <p> Final preparations have begun for the London Paralympics opening ceremony, heralding 11 days of competition for athletes with disabilities </p> </div> </div> </article> <article class="gel-type-demo gel-pica" data-type-class="pica"> <div class="gel-type-demo__class gel-long-primer"> <h2 class="gel-type-demo__class-name gel-long-primer">Pica</h2> <p class="gel-type-demo__class-html gel-brevier">(<code>gel-pica</code>)</p> </div> <div class="gel-layout"> <div class="gel-layout__item gel-1/3@l"> <p class="gel-type-demo__sample-scale"> <span class="gel-type-demo__settings"></span> AaGg </p> </div> <div class="gel-layout__item gel-2/3@l"> <p> Final preparations have begun for the London Paralympics opening ceremony, heralding 11 days of competition for athletes with disabilities </p> </div> </div> </article> <article class="gel-type-demo gel-long-primer" data-type-class="long-primer"> <div class="gel-type-demo__class gel-long-primer"> <h2 class="gel-type-demo__class-name gel-long-primer">Long Primer</h2> <p class="gel-type-demo__class-html gel-brevier"> (<code>gel-long-primer</code>) </p> </div> <div class="gel-layout"> <div class="gel-layout__item gel-1/3@l"> <p class="gel-type-demo__sample-scale"> <span class="gel-type-demo__settings"></span> AaGg </p> </div> <div class="gel-layout__item gel-2/3@l"> <p> Final preparations have begun for the London Paralympics opening ceremony, heralding 11 days of competition for athletes with disabilities </p> </div> </div> </article> <article class="gel-type-demo gel-brevier" data-type-class="brevier"> <div class="gel-type-demo__class gel-long-primer"> <h2 class="gel-type-demo__class-name gel-long-primer">Brevier</h2> <p class="gel-type-demo__class-html gel-brevier">(<code>gel-brevier</code>)</p> </div> <div class="gel-layout"> <div class="gel-layout__item gel-1/3@l"> <p class="gel-type-demo__sample-scale"> <span class="gel-type-demo__settings"></span> AaGg </p> </div> <div class="gel-layout__item gel-2/3@l"> <p> Final preparations have begun for the London Paralympics opening ceremony, heralding 11 days of competition for athletes with disabilities </p> </div> </div> </article> <article class="gel-type-demo gel-minion" data-type-class="minion"> <div class="gel-type-demo__class gel-long-primer"> <h2 class="gel-type-demo__class-name gel-long-primer">Minion</h2> <p class="gel-type-demo__class-html gel-brevier">(<code>gel-minion</code>)</p> </div> <div class="gel-layout"> <div class="gel-layout__item gel-1/3@l"> <p class="gel-type-demo__sample-scale"> <span class="gel-type-demo__settings"></span> AaGg </p> </div> <div class="gel-layout__item gel-2/3@l"> <p> Final preparations have begun for the London Paralympics opening ceremony, heralding 11 days of competition for athletes with disabilities </p> </div> </div> </article> <article class="gel-type-demo gel-type-demo--body-copy gel-body-copy" data-type-class="body-copy" > <div class="gel-type-demo__class gel-long-primer"> <h2 class="gel-type-demo__class-name gel-long-primer">Body Copy</h2> <p class="gel-type-demo__class-html gel-brevier"> (<code>gel-body-copy</code>) </p> </div> <div class="gel-layout"> <div class="gel-layout__item gel-1/3@l"> <p class="gel-type-demo__sample-scale"> <span class="gel-type-demo__settings"></span> AaGg </p> </div> <div class="gel-layout__item gel-2/3@l"> <p> To be used for article & story body copy only. Final preparations have begun for the London Paralympics opening ceremony, heralding 11 days of competition for athletes with disabilities </p> </div> </div> </article> </div> </div> </div> </div> </main> </div> </body> </html>