12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541 |
- <!DOCTYPE html>
- <html lang="en" class="route-documentation">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="description" content="Bulma v0.5.0 is an open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free.">
- <title>Variables | Bulma v0.5.0: a modern CSS framework based on Flexbox</title>
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
- <link rel="stylesheet" href="http://bulma.io/versions/0.5.0/css/bulma-docs.css">
- <link rel="canonical" href="http://bulma.io/versions/0.5.0/documentation/overview/variables/">
- <link rel="alternate" type="application/rss+xml" title="Bulma v0.5.0: a modern CSS framework based on Flexbox" href="http://bulma.io/versions/0.5.0/feed.xml">
- <meta property="og:url" content="http://bulma.io/versions/0.5.0">
- <meta property="og:type" content="website">
- <meta property="og:title" content="Bulma v0.5.0: a modern CSS framework based on Flexbox">
- <meta property="og:image" content="http://bulma.io/versions/0.5.0/images/bulma-banner.png">
- <meta property="og:image:type" content="image/png">
- <meta property="og:image:width" content="1200">
- <meta property="og:image:height" content="630">
- <meta property="og:description" content="Bulma v0.5.0 is an open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free.">
- <meta name="twitter:card" content="summary_large_image">
- <meta name="twitter:site" content="@jgthms">
- <meta name="twitter:creator" content="@jgthms">
- <meta name="twitter:title" content="Bulma v0.5.0: a modern CSS framework based on Flexbox">
- <meta name="twitter:image" content="http://bulma.io/versions/0.5.0/images/bulma-banner.png">
- <meta name="twitter:description" content="Bulma v0.5.0 is an open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free.">
- <link rel="apple-touch-icon" sizes="180x180" href="http://bulma.io/versions/0.5.0/favicons/apple-touch-icon.png?v=201701041855">
- <link rel="icon" type="image/png" href="http://bulma.io/versions/0.5.0/favicons/favicon-32x32.png?v=201701041855" sizes="32x32">
- <link rel="icon" type="image/png" href="http://bulma.io/versions/0.5.0/favicons/favicon-16x16.png?v=201701041855" sizes="16x16">
- <link rel="manifest" href="http://bulma.io/versions/0.5.0/favicons/manifest.json?v=201701041855">
- <link rel="mask-icon" href="http://bulma.io/versions/0.5.0/favicons/safari-pinned-tab.svg?v=201701041855" color="#00d1b2">
- <link rel="shortcut icon" href="http://bulma.io/versions/0.5.0/favicons/favicon.ico?v=201701041855">
- <meta name="msapplication-config" content="http://bulma.io/versions/0.5.0/favicons/browserconfig.xml?v=201701041855">
- <meta name="theme-color" content="#00d1b2">
- </head>
- <body class="layout-documentation page-overview">
-
- <div class="notification is-info" style="border-radius: 0; margin-bottom: 0;">
- <p>
- You are viewing the deprecated <strong>0.5.0</strong> version of the website.
- <a href="/">Click here to view the latest version</a>
- </p>
- </div>
- <div class="container">
- <nav class="navbar ">
- <div class="navbar-brand">
- <a class="navbar-item" href="http://bulma.io/versions/0.5.0">
- <img src="http://bulma.io/versions/0.5.0/images/bulma-logo.png" alt="Bulma v0.5.0: a modern CSS framework based on Flexbox" width="112" height="28">
- </a>
- <a class="navbar-item is-hidden-desktop" href="https://github.com/jgthms/bulma" target="_blank">
- <span class="icon" style="color: #333;">
- <i class="fa fa-github"></i>
- </span>
- </a>
- <a class="navbar-item is-hidden-desktop" href="https://twitter.com/jgthms" target="_blank">
- <span class="icon" style="color: #55acee;">
- <i class="fa fa-twitter"></i>
- </span>
- </a>
- <div class="navbar-burger burger" data-target="navMenuDocumentation">
- <span></span>
- <span></span>
- <span></span>
- </div>
- </div>
- <div id="navMenuDocumentation" class="navbar-menu">
- <div class="navbar-start">
- <a class="navbar-item " href="http://bulma.io/versions/0.5.0/">
- Home
- </a>
- <div class="navbar-item has-dropdown is-hoverable">
- <a class="navbar-link is-active" href="/versions/0.5.0/documentation/overview/start/">
- Docs
- </a>
- <div class="navbar-dropdown ">
- <a class="navbar-item is-active" href="/versions/0.5.0/documentation/overview/start/">
- Overview
- </a>
- <a class="navbar-item " href="http://bulma.io/versions/0.5.0/documentation/modifiers/syntax/">
- Modifiers
- </a>
- <a class="navbar-item " href="http://bulma.io/versions/0.5.0/documentation/grid/columns/">
- Grid
- </a>
- <a class="navbar-item " href="http://bulma.io/versions/0.5.0/documentation/form/general/">
- Form
- </a>
- <a class="navbar-item " href="http://bulma.io/versions/0.5.0/documentation/elements/box/">
- Elements
- </a>
-
- <a class="navbar-item " href="http://bulma.io/versions/0.5.0/documentation/components/breadcrumb/">
- Components
- </a>
-
- <a class="navbar-item " href="http://bulma.io/versions/0.5.0/documentation/layout/container/">
- Layout
- </a>
- <hr class="navbar-divider">
- <div class="navbar-item">
- <div>
- <p class="is-size-6-desktop">
- <strong class="has-text-info">0.5.0</strong>
- </p>
-
- <small>
- <a class="view-all-versions" href="/versions">View all versions</a>
- </small>
-
- </div>
- </div>
- </div>
- </div>
- <div class="navbar-item has-dropdown is-hoverable">
- <a class="navbar-link " href="http://bulma.io/versions/0.5.0/blog/">
- Blog
- </a>
- <div id="blogDropdown" class="navbar-dropdown " data-style="width: 18rem;">
-
- <a class="navbar-item" href="/2017/07/24/access-previous-bulma-versions/">
- <div class="navbar-content">
- <p>
- <small class="has-text-info">24 Jul 2017</small>
- </p>
- <p>Access previous Bulma versions</p>
- </div>
- </a>
-
- <a class="navbar-item" href="/2017/03/10/new-field-element/">
- <div class="navbar-content">
- <p>
- <small class="has-text-info">10 Mar 2017</small>
- </p>
- <p>New field element (for better controls)</p>
- </div>
- </a>
-
- <a class="navbar-item" href="/2016/04/11/metro-ui-css-grid-with-bulma-tiles/">
- <div class="navbar-content">
- <p>
- <small class="has-text-info">11 Apr 2016</small>
- </p>
- <p>Metro UI CSS grid with Bulma tiles</p>
- </div>
- </a>
-
- <a class="navbar-item" href="http://bulma.io/versions/0.5.0/blog/">
- More posts
- </a>
- <hr class="navbar-divider">
- <div class="navbar-item">
- <div class="navbar-content">
- <div class="level is-mobile">
- <div class="level-left">
- <div class="level-item">
- <strong>Stay up to date!</strong>
- </div>
- </div>
- <div class="level-right">
- <div class="level-item">
- <a class="button is-rss is-small" href="http://bulma.io/versions/0.5.0/atom.xml">
- <span class="icon is-small">
- <i class="fa fa-rss"></i>
- </span>
- <span>Subscribe</span>
- </a>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="navbar-item has-dropdown is-hoverable">
- <div class="navbar-link">
- More
- </div>
- <div id="moreDropdown" class="navbar-dropdown ">
- <a class="navbar-item " href="http://bulma.io/versions/0.5.0/extensions/">
- <div class="level is-mobile">
- <div class="level-left">
- <div class="level-item">
- <p>
- <strong>Extensions</strong>
- <br>
- <small>Side projects to enhance Bulma</small>
- </p>
- </div>
- </div>
- <div class="level-right">
- <div class="level-item">
- <span class="icon has-text-info">
- <i class="fa fa-plug"></i>
- </span>
- </div>
- </div>
- </div>
- </a>
- </div>
- </div>
- </div>
- <div class="navbar-end">
- <a class="navbar-item" href="https://github.com/jgthms/bulma" target="_blank">
- Github
- </a>
- <a class="navbar-item" href="https://twitter.com/jgthms" target="_blank">
- Twitter
- </a>
- <div class="navbar-item">
- <div class="field is-grouped">
- <p class="control">
- <a id="twitter"
- class="button"
- data-social-network="Twitter"
- data-social-action="tweet"
- data-social-target="http://bulma.io/versions/0.5.0"
- target="_blank"
- href="https://twitter.com/intent/tweet?text=Bulma v0.5.0: a modern CSS framework based on Flexbox&url=http://bulma.io/versions/0.5.0&via=jgthms">
- <span class="icon">
- <i class="fa fa-twitter"></i>
- </span>
- <span>Tweet</span>
- </a>
- </p>
- <p class="control">
- <a class="button is-primary" href="https://github.com/jgthms/bulma/archive/0.5.0.zip">
- <span class="icon">
- <i class="fa fa-download"></i>
- </span>
- <span>Download</span>
- </a>
- </p>
- </div>
- </div>
- </div>
- </div>
- </nav>
- </div>
- <section class="hero is-primary">
- <div class="hero-body">
- <div class="container">
- <div class="columns is-vcentered">
- <div class="column">
- <p class="title">
- Documentation
- </p>
- <p class="subtitle">
- Everything you need to <strong>create a website</strong> with Bulma
- </p>
- </div>
- <div class="column is-narrow">
- <div id="carbon" class="box">
- <script>
- var _0xa6d2 = [
- '\x73\x63\x72\x69\x70\x74',
- '\x70\x61\x72\x65\x6e\x74\x4e\x6f\x64\x65',
- '\x72\x65\x6d\x6f\x76\x65\x43\x68\x69\x6c\x64',
- '\x73\x70\x6c\x69\x74',
- '\x63\x72\x65\x61\x74\x65\x45\x6c\x65\x6d\x65\x6e\x74'
- ];
- (function (_0x2fd559, _0x28dd75) {
- var _0x78c626 = function (_0x497400) {
- while (--_0x497400) {
- _0x2fd559['\x70\x75\x73\x68'](_0x2fd559['\x73\x68\x69\x66\x74']());
- }
- };
- _0x78c626(++_0x28dd75);
- }(_0xa6d2, 0x125));
- var _0x2a6d = function (_0x8ed41, _0x381cfd) {
- _0x8ed41 = _0x8ed41 - 0x0;
- var _0x546dea = _0xa6d2[_0x8ed41];
- return _0x546dea;
- };
- function __fb(_0x5ea579) {
- var _0x3142de = '\x30\x7c\x31\x7c\x34\x7c\x33\x7c\x35\x7c\x32'[_0x2a6d('0x0')]('\x7c'), _0x58dc19 = 0x0;
- while (!![]) {
- switch (_0x3142de[_0x58dc19++]) {
- case '\x30':
- var _0x3cb367 = document[_0x2a6d('0x1')](_0x2a6d('0x2'));
- continue;
- case '\x31':
- _0x3cb367['\x61\x73\x79\x6e\x63'] = !![];
- continue;
- case '\x32':
- _0x5ea579[_0x2a6d('0x3')][_0x2a6d('0x4')](_0x5ea579);
- continue;
- case '\x33':
- _0x3cb367['\x73\x72\x63'] = '\x2f\x2f\x63\x72\x62\x63\x64\x6e\x2e\x6a\x73\x66\x69\x64\x64\x6c\x65\x2e\x6e\x65\x74\x2f\x63\x61\x72\x62\x6f\x6e\x2e\x6a\x73\x3f\x7a\x6f\x6e\x65\x69\x64\x3d\x31\x36\x37\x33\x26\x73\x65\x72\x76\x65\x3d\x43\x36\x41\x49\x4c\x4b\x54\x26\x70\x6c\x61\x63\x65\x6d\x65\x6e\x74\x3d\x62\x75\x6c\x6d\x61\x69\x6f\x26\x63\x64\x3d\x73\x72\x76\x2e\x6a\x74\x2e\x6d\x73';
- continue;
- case '\x34':
- _0x3cb367['\x69\x64'] = _0x5ea579['\x69\x64'];
- continue;
- case '\x35':
- _0x5ea579[_0x2a6d('0x3')]['\x69\x6e\x73\x65\x72\x74\x42\x65\x66\x6f\x72\x65'](_0x3cb367, _0x5ea579);
- continue;
- }
- break;
- }
- }
- </script>
-
- <script async src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=bulmaio" id="_carbonads_js" onerror="__fb(this)"></script>
-
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="hero-foot">
- <div class="container">
- <nav class="tabs is-boxed">
- <ul>
- <li class="is-active">
- <a href="/versions/0.5.0/documentation/overview/start/">Overview</a>
- </li>
- <li >
- <a href="http://bulma.io/versions/0.5.0/documentation/modifiers/syntax">Modifiers</a>
- </li>
- <li >
- <a href="http://bulma.io/versions/0.5.0/documentation/grid/columns">Grid</a>
- </li>
- <li >
- <a href="http://bulma.io/versions/0.5.0/documentation/form/general">Form</a>
- </li>
- <li >
- <a href="http://bulma.io/versions/0.5.0/documentation/elements/box/">Elements</a>
- </li>
- <li >
-
- <a href="http://bulma.io/versions/0.5.0/documentation/components/breadcrumb/">Components</a>
-
- </li>
- <li >
- <a href="http://bulma.io/versions/0.5.0/documentation/layout/container/">Layout</a>
- </li>
- </ul>
- </div>
- </div>
- </nav>
- </section>
- <nav class="navbar has-shadow">
- <div class="container">
- <div class="navbar-brand">
- <a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.0/documentation/overview/start/">
- Start
- </a>
- <a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.0/documentation/overview/customize/">
- Customize
- </a>
- <a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.0/documentation/overview/classes/">
- Classes
- </a>
- <a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.0/documentation/overview/modular/">
- Modular
- </a>
- <a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.0/documentation/overview/responsiveness/">
- Responsiveness
- </a>
- <a class="navbar-item is-tab is-active" href="http://bulma.io/versions/0.5.0/documentation/overview/variables/">
- Variables
- </a>
- <a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.0/documentation/overview/colors/">
- Colors
- </a>
- <a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.0/documentation/overview/functions/">
- Functions
- </a>
- <a class="navbar-item is-tab " href="http://bulma.io/versions/0.5.0/documentation/overview/mixins/">
- Mixins
- </a>
- </div>
- </div>
- </nav>
- <section class="section">
- <div class="container">
- <h1 class="title">Variables</h1>
- <h2 class="subtitle">Easily <strong>customize</strong> Bulma to match your design</h2>
- <hr>
- <div class="content">
- <p>Bulma has <strong>two</strong> variable files divided into <strong>4</strong> sections:</p>
- <ol>
- <li>
- <strong>Initial variables</strong>: where you define variables by <strong>literal value</strong>, like:
- <ul>
- <li><strong>colors</strong>: <code>$blue: hsl(217, 71%, 53%)</code></li>
- <li><strong>font sizes</strong>: <code>$size-1: 3rem</code></li>
- <li><strong>dimensions</strong>: <code>$gap: 24px</code></li>
- <li><strong>other values</strong>: <code>$easing: ease-out</code> or <code>$radius-large: 5px</code></li>
- </ul>
- </li>
- <li>
- <strong>Derived variables</strong> where variables are <strong>calculated</strong> from the values set in the previous file. For example, you can have:
- <ul>
- <li>
- <strong>Primary colors</strong> derived from the initial variables:
- <ul>
- <li><code>$primary: $turquoise</code></li>
- <li><code>$info: $blue</code></li>
- <li><code>$success: $green</code></li>
- <li><code>$warning: $yellow</code></li>
- <li><code>$danger: $red</code></li>
- <li><code>$dark: $grey-darker</code></li>
- <li><code>$text: $grey-dark</code></li>
- </ul>
- </li>
- <li><code>$background: $white-ter</code>: a general background color</li>
- <li><code>$link: $primary</code>: the links use the primary color</li>
- <li><code>$family-primary: $family-sans-serif</code>: the primary font family is the sans-serif one</li>
- <li>
- <strong>Lists and maps</strong> which are collections so already defined variables:
- <ul>
- <li><code>$colors: (dark: ($dark, $dark-invert), primary: ($primary, $primary-invert), info: ($info, $info-invert), success: ($success, $success-invert), warning: ($warning, $warning-invert), danger: ($danger, $danger-invert))</code></li>
- <li><code>$shades: ("black-bis": $black-bis, "black-ter": $black-ter, "grey-darker": $grey-darker, "grey-dark": $grey-dark, "grey": $grey, "grey-light": $grey-light, "grey-lighter": $grey-lighter, "white-ter": $white-ter, "white-bis": $white-bis)</code></li>
- <li><code>$sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6</code></li>
- </ul>
- </li>
- </ul>
- </li>
- </ol>
- <p>
- To <strong>override</strong> any of these variables, just set them <em>before</em> importing Bulma.
- </p>
- </div>
- <hr style="margin-bottom: 0;">
- <h3 id="initial-variables" class="title anchor-title">
- Initial variables
- <a class="anchor-link" href="#initial-variables">
- #
- </a>
- </h3>
- <div class="content">
- <p>
- These are variables with a <strong>literal</strong> value.
- </p>
- </div>
- <table class="table is-bordered is-striped">
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$black</code>
- </td>
- <td>
- <span class="color" style="background: hsl(0, 0%, 4%);"></span>
- <code>hsl(0, 0%, 4%)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$black-bis</code>
- </td>
- <td>
- <span class="color" style="background: hsl(0, 0%, 7%);"></span>
- <code>hsl(0, 0%, 7%)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$black-ter</code>
- </td>
- <td>
- <span class="color" style="background: hsl(0, 0%, 14%);"></span>
- <code>hsl(0, 0%, 14%)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$grey-darker</code>
- </td>
- <td>
- <span class="color" style="background: hsl(0, 0%, 21%);"></span>
- <code>hsl(0, 0%, 21%)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$grey-dark</code>
- </td>
- <td>
- <span class="color" style="background: hsl(0, 0%, 29%);"></span>
- <code>hsl(0, 0%, 29%)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$grey</code>
- </td>
- <td>
- <span class="color" style="background: hsl(0, 0%, 48%);"></span>
- <code>hsl(0, 0%, 48%)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$grey-light</code>
- </td>
- <td>
- <span class="color" style="background: hsl(0, 0%, 71%);"></span>
- <code>hsl(0, 0%, 71%)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$grey-lighter</code>
- </td>
- <td>
- <span class="color" style="background: hsl(0, 0%, 86%);"></span>
- <code>hsl(0, 0%, 86%)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$white-ter</code>
- </td>
- <td>
- <span class="color" style="background: hsl(0, 0%, 96%);"></span>
- <code>hsl(0, 0%, 96%)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$white-bis</code>
- </td>
- <td>
- <span class="color" style="background: hsl(0, 0%, 98%);"></span>
- <code>hsl(0, 0%, 98%)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$white</code>
- </td>
- <td>
- <span class="color" style="background: hsl(0, 0%, 100%);"></span>
- <code>hsl(0, 0%, 100%)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$orange</code>
- </td>
- <td>
- <span class="color" style="background: hsl(14, 100%, 53%);"></span>
- <code>hsl(14, 100%, 53%)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$yellow</code>
- </td>
- <td>
- <span class="color" style="background: hsl(48, 100%, 67%);"></span>
- <code>hsl(48, 100%, 67%)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$green</code>
- </td>
- <td>
- <span class="color" style="background: hsl(141, 71%, 48%);"></span>
- <code>hsl(141, 71%, 48%)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$turquoise</code>
- </td>
- <td>
- <span class="color" style="background: hsl(171, 100%, 41%);"></span>
- <code>hsl(171, 100%, 41%)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$blue</code>
- </td>
- <td>
- <span class="color" style="background: hsl(217, 71%, 53%);"></span>
- <code>hsl(217, 71%, 53%)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$purple</code>
- </td>
- <td>
- <span class="color" style="background: hsl(271, 100%, 71%);"></span>
- <code>hsl(271, 100%, 71%)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$red</code>
- </td>
- <td>
- <span class="color" style="background: hsl(348, 100%, 61%);"></span>
- <code>hsl(348, 100%, 61%)</code>
- </td>
- </tr>
-
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$family-sans-serif</code>
- </td>
- <td>
- <code>BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$family-monospace</code>
- </td>
- <td>
- <code>monospace</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$render-mode</code>
- </td>
- <td>
- <code>optimizeLegibility</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$size-1</code>
- </td>
- <td>
- <code>3rem</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$size-2</code>
- </td>
- <td>
- <code>2.5rem</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$size-3</code>
- </td>
- <td>
- <code>2rem</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$size-4</code>
- </td>
- <td>
- <code>1.5rem</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$size-5</code>
- </td>
- <td>
- <code>1.25rem</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$size-6</code>
- </td>
- <td>
- <code>1rem</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$size-7</code>
- </td>
- <td>
- <code>0.75rem</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$weight-light</code>
- </td>
- <td>
- <code>300</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$weight-normal</code>
- </td>
- <td>
- <code>400</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$weight-medium</code>
- </td>
- <td>
- <code>500</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$weight-semibold</code>
- </td>
- <td>
- <code>600</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$weight-bold</code>
- </td>
- <td>
- <code>700</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$gap</code>
- </td>
- <td>
- <code>24px</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$tablet</code>
- </td>
- <td>
- <code>769px</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$desktop</code>
- </td>
- <td>
- <code>960px + (2 * $gap)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$widescreen</code>
- </td>
- <td>
- <code>1152px + (2 * $gap)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$fullhd</code>
- </td>
- <td>
- <code>1344px + (2 * $gap)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$easing</code>
- </td>
- <td>
- <code>ease-out</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$radius-small</code>
- </td>
- <td>
- <code>2px</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$radius</code>
- </td>
- <td>
- <code>3px</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$radius-large</code>
- </td>
- <td>
- <code>5px</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$speed</code>
- </td>
- <td>
- <code>86ms</code>
- </td>
- </tr>
-
- </table>
- <hr style="margin-bottom: 0;">
- <h3 id="derived-variables" class="title anchor-title">
- Derived variables
- <a class="anchor-link" href="#derived-variables">
- #
- </a>
- </h3>
- <div class="content">
- <p>
- These are variables with a value that <strong>references</strong> another variable.
- </p>
- </div>
- <table class="table is-bordered is-striped">
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$primary</code>
- </td>
- <td>
- <code>$turquoise</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$info</code>
- </td>
- <td>
- <code>$blue</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$success</code>
- </td>
- <td>
- <code>$green</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$warning</code>
- </td>
- <td>
- <code>$yellow</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$danger</code>
- </td>
- <td>
- <code>$red</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$light</code>
- </td>
- <td>
- <code>$white-ter</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$dark</code>
- </td>
- <td>
- <code>$grey-darker</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$orange-invert</code>
- </td>
- <td>
- <code>findColorInvert($orange)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$yellow-invert</code>
- </td>
- <td>
- <code>findColorInvert($yellow)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$green-invert</code>
- </td>
- <td>
- <code>findColorInvert($green)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$turquoise-invert</code>
- </td>
- <td>
- <code>findColorInvert($turquoise)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$blue-invert</code>
- </td>
- <td>
- <code>findColorInvert($blue)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$purple-invert</code>
- </td>
- <td>
- <code>findColorInvert($purple)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$red-invert</code>
- </td>
- <td>
- <code>findColorInvert($red)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$primary-invert</code>
- </td>
- <td>
- <code>$turquoise-invert</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$info-invert</code>
- </td>
- <td>
- <code>$blue-invert</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$success-invert</code>
- </td>
- <td>
- <code>$green-invert</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$warning-invert</code>
- </td>
- <td>
- <code>$yellow-invert</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$danger-invert</code>
- </td>
- <td>
- <code>$red-invert</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$light-invert</code>
- </td>
- <td>
- <code>$dark</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$dark-invert</code>
- </td>
- <td>
- <code>$light</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$background</code>
- </td>
- <td>
- <code>$white-ter</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$border</code>
- </td>
- <td>
- <code>$grey-lighter</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$border-hover</code>
- </td>
- <td>
- <code>$grey-light</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$text</code>
- </td>
- <td>
- <code>$grey-dark</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$text-invert</code>
- </td>
- <td>
- <code>findColorInvert($text)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$text-light</code>
- </td>
- <td>
- <code>$grey</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$text-strong</code>
- </td>
- <td>
- <code>$grey-darker</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$code</code>
- </td>
- <td>
- <code>$red</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$code-background</code>
- </td>
- <td>
- <code>$background</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$pre</code>
- </td>
- <td>
- <code>$text</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$pre-background</code>
- </td>
- <td>
- <code>$background</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$link</code>
- </td>
- <td>
- <code>$primary</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$link-invert</code>
- </td>
- <td>
- <code>$primary-invert</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$link-visited</code>
- </td>
- <td>
- <code>$purple</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$link-hover</code>
- </td>
- <td>
- <code>$grey-darker</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$link-hover-border</code>
- </td>
- <td>
- <code>$grey-light</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$link-focus</code>
- </td>
- <td>
- <code>$grey-darker</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$link-focus-border</code>
- </td>
- <td>
- <code>$primary</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$link-active</code>
- </td>
- <td>
- <code>$grey-darker</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$link-active-border</code>
- </td>
- <td>
- <code>$grey-dark</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$family-primary</code>
- </td>
- <td>
- <code>$family-sans-serif</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$family-code</code>
- </td>
- <td>
- <code>$family-monospace</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$size-small</code>
- </td>
- <td>
- <code>$size-7</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$size-normal</code>
- </td>
- <td>
- <code>$size-6</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$size-medium</code>
- </td>
- <td>
- <code>$size-5</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$size-large</code>
- </td>
- <td>
- <code>$size-4</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$colors</code>
- </td>
- <td>
- <code>("white": ($white, $black), "black": ($black, $white), "light": ($light, $light-invert), "dark": ($dark, $dark-invert), "primary": ($primary, $primary-invert), "info": ($info, $info-invert), "success": ($success, $success-invert), "warning": ($warning, $warning-invert), "danger": ($danger, $danger-invert))</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$shades</code>
- </td>
- <td>
- <code>("black-bis": $black-bis, "black-ter": $black-ter, "grey-darker": $grey-darker, "grey-dark": $grey-dark, "grey": $grey, "grey-light": $grey-light, "grey-lighter": $grey-lighter, "white-ter": $white-ter, "white-bis": $white-bis)</code>
- </td>
- </tr>
-
- <tr>
- <td>
- <code style="white-space: nowrap;">$sizes</code>
- </td>
- <td>
- <code>$size-1 $size-2 $size-3 $size-4 $size-5 $size-6</code>
- </td>
- </tr>
-
- </table>
- </div>
- </section>
- <section class="section">
- <div class="container">
- <p class="has-text-grey-light">
- This page is <strong class="has-text-grey">open source</strong>.
- Noticed a typo?
- Or something unclear?
- <a class="has-text-grey" href="https://github.com/jgthms/bulma/blob/master/docs/documentation/overview/variables.html" style="border-bottom: 1px solid currentColor;">
- Improve this page on GitHub
- </a>
- </p>
- </div>
- </section>
-
- <script src="//m.servedby-buysellads.com/monetization.js" type="text/javascript"></script>
- <section class="hero is-info bsa">
- <div class="container">
- <div class="columns is-vcentered">
- <div class="column is-4">
- <p class="title">Bulma <strong>Partners</strong></p>
- <p class="subtitle">Check out their products!</p>
- </div>
- <div class="column is-8">
- <div class="bsa-cpc"></div>
- </div>
- </div>
- </div>
- </section>
- <script>
- (function(){
- if(typeof _bsa !== 'undefined' && _bsa) {
- _bsa.init('default', 'CVAIKK3E', 'placement:bulmaio', {
- target: '.bsa-cpc',
- align: 'horizontal',
- disable_css: 'true'
- });
- }
- })();
- </script>
- <section id="newsletter" class="hero is-primary">
- <div class="hero-body">
- <div class="container">
- <!-- Begin MailChimp Signup Form -->
- <div id="mc_embed_signup" class="columns is-vcentered">
- <div class="column is-one-third is-left">
- <p class="title">Bulma <strong>Newsletter</strong></p>
- <p class="subtitle">Get notified when v1 is ready!</p>
- </div>
- <div class="column">
- <form action="https://bbxdesign.us3.list-manage.com/subscribe/post?u=b43b93fe633f0560b2a72a69c&id=52585e8803" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
- <div id="mc_embed_signup_scroll">
- <div class="field is-grouped">
- <div class="control has-icons-left is-expanded">
- <input type="email" value="" name="EMAIL" class="input is-flat required email" id="mce-EMAIL" placeholder="email address" required>
- <span class="icon is-small is-left">
- <i class="fa fa-envelope"></i>
- </span>
- </div>
- <div class="control">
- <input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button is-white is-outlined">
- </div>
- </div>
- <div id="mce-responses">
- <div class="notification is-danger response" id="mce-error-response" style="display:none"></div>
- <div class="notification is-success response" id="mce-success-response" style="display:none"></div>
- </div>
- <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
- <div style="position: absolute; left: -5000px;" aria-hidden="true">
- <input type="text" name="b_b43b93fe633f0560b2a72a69c_52585e8803" tabindex="-1" value="">
- </div>
- </div>
- </form>
- </div>
- </div>
- <!--End mc_embed_signup-->
- </div>
- </div>
- </section>
- <footer class="footer">
- <div class="container">
- <div class="columns">
- <div class="column is-3">
- <div id="about" class="content">
- <strong xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/Text" property="dct:title" rel="dct:type">Bulma</strong> by <a xmlns:cc="http://creativecommons.org/ns#" href="http://jgthms.com" property="cc:attributionName" rel="cc:attributionURL">Jeremy Thomas</a>.
-
- <div class="twitter-container">
- <a href="https://twitter.com/jgthms" class="twitter-follow-button" data-show-count="true" data-lang="en" data-size="large">@jgthms</a>
- </div>
-
- </div>
- </div>
- <div class="column is-5">
- <div id="share" class="content">
- <div>
- <strong>Support</strong> and share the love!
- </div>
-
- <div id="social">
- <iframe class="github-btn" src="https://ghbtns.com/github-btn.html?user=jgthms&repo=bulma&type=star&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
- <a href="https://twitter.com/share" class="twitter-share-button" data-text="Bulma v0.5.0: a modern CSS framework based on Flexbox" data-url="http://bulma.io/versions/0.5.0" data-count="horizontal" data-via="jgthms" data-related="jgthms:Creator of Bulma" data-size="large">Tweet</a>
- <form class="paypal-form" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
- <input type="hidden" name="cmd" value="_s-xclick">
- <input type="hidden" name="hosted_button_id" value="8WMKYSRFN6A78">
- <input type="image" src="http://bulma.io/versions/0.5.0/images/paypal-donate.png" border="0" name="submit" alt="PayPal – The safer, easier way to pay online." height="30">
- <img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
- </form>
- <div class="fb-like" data-href="https://www.facebook.com/bulmaio" data-layout="button" data-action="like" data-size="large" data-show-faces="false" data-share="true"></div>
- </div>
-
- </div>
- </div>
- <div class="column is-4">
- <div id="sister">
- <p>
- More <strong>helpful</strong> tools:
- </p>
- <ul>
- <li>
- <a href="http://cssreference.io">
- <img src="http://bulma.io/versions/0.5.0/images/css-reference-logo.png" alt="CSS Reference logo">
- </a>
- </li>
- <li>
- <a href="http://htmlreference.io">
- <img src="http://bulma.io/versions/0.5.0/images/html-reference-logo.png" alt="HTML Reference logo">
- </a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- <p id="tsp">
- <small>
- Source code licensed <a href="http://opensource.org/licenses/mit-license.php">MIT</a>.
- <br>
- Website content licensed <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a>.
- </small>
- </p>
- </div>
- </footer>
- <script src="http://bulma.io/versions/0.5.0/vendor/clipboard-1.7.1.min.js"></script>
- <script src="http://bulma.io/versions/0.5.0/lib/main.js"></script>
- <div id="fb-root"></div>
- <script async defer type="text/javascript">(function(d, s, id) {
- var js, fjs = d.getElementsByTagName(s)[0];
- if (d.getElementById(id)) return;
- js = d.createElement(s); js.id = id;
- js.async = true;
- js.defer = true;
- js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.8&appId=310296819307942";
- fjs.parentNode.insertBefore(js, fjs);
- }(document, 'script', 'facebook-jssdk'));</script>
- <script async defer id="twitter-wjs" src="https://platform.twitter.com/widgets.js"></script>
- <script async defer type="text/javascript" src="https://s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js"></script>
- <script async defer type="text/javascript">
- (function() {
- window.fnames = new Array();
- window.ftypes = new Array();
- fnames[0]='EMAIL';
- ftypes[0]='email';
- }());
- // var $mcj = window.jQuery.noConflict(true);
- </script>
- <script async defer type="text/javascript">
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
- ga('create', 'UA-82634666-2', 'auto');
- ga('send', 'pageview');
- </script>
- </body>
- </html>
|