HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URL's added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by Skypack, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ES6 import
usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<body>
<section class="embl-grid">
<h1 class="vf-heading vf-heading--display">Visual Framework 2.0 + Bootstrap</h1>
</section>
<section class="embl-grid embl-grid--labeled-with-sidebar vf-u-margin__bottom-regular">
<div>
<div class="vf-heading vf-heading--s">🏎 Go!</div>
</div>
<div>
<p class="vf-text vf-text--r">We've made the VF 2.0 with compatibility in mind.
</p>
<p class="vf-text vf-text--r">You can use your framework of choice (Bootstrap here) alongside and the VF won't contaminate your choices — you should still, however, be mindful that your Framework might unset some of the VF styles.
</p>
<p class="vf-text vf-text--r">**Important: this code is a very early proof of concept and does not necesarily reflect the finished product.
</p>
</div>
</section>
<section class="embl-grid embl-grid--labeled-with-sidebar vf-u-margin__bottom-regular">
<div>
<div class="vf-heading vf-heading--s">VF Grid</div>
</div>
<div>
<div class="vf-grid vf-grid--4col">
<div>A four col grid</div>
<div>Cell 2</div>
<div>Cell 3</div>
<div>Cell 4</div>
<div>Cell 5</div>
</div>
</div>
</section>
<section class="embl-grid embl-grid--labeled-with-sidebar vf-u-margin__bottom-regular">
<div>
<div class="vf-heading vf-heading--s">Bootstrap Grid</div>
</div>
<div>
<div class="container">
<div class="row">
<div class="col-sm">
One of three columns
</div>
<div class="col-sm">
One of three columns
</div>
<div class="col-sm">
One of three columns
</div>
</div>
</div>
</div>
</section>
<section class="embl-grid embl-grid--labeled-with-sidebar">
<div>
<div class="vf-heading vf-heading--s">Bootstrap tabs</div>
</div>
<div>
<nav>
<div class="nav nav-tabs" id="nav-tab" role="tablist">
<a class="nav-item nav-link active" id="nav-home-tab" data-toggle="tab" href="#nav-home" role="tab" aria-controls="nav-home" aria-selected="true">Home</a>
<a class="nav-item nav-link" id="nav-profile-tab" data-toggle="tab" href="#nav-profile" role="tab" aria-controls="nav-profile" aria-selected="false">Profile</a>
<a class="nav-item nav-link" id="nav-contact-tab" data-toggle="tab" href="#nav-contact" role="tab" aria-controls="nav-contact" aria-selected="false">Contact</a>
</div>
</nav>
<div class="tab-content" id="nav-tabContent">
<div class="tab-pane fade show active" id="nav-home" role="tabpanel" aria-labelledby="nav-home-tab">I'm a tab, and here's a <button type="button" class="btn btn-primary">Bootstrap button</button> or <button class="vf-button">a VF button</button>
</div>
<div class="tab-pane fade" id="nav-profile" role="tabpanel" aria-labelledby="nav-profile-tab">Content here</div>
<div class="tab-pane fade" id="nav-contact" role="tabpanel" aria-labelledby="nav-contact-tab">Some content</div>
</div>
</div>
</section>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
</body>
/*
*
* styles.css
* The Visual Framework kitchen sink of styles.
* Include this style sheet as a quick way to get *everything*,
* or follow the guide at https://git.embl.de/grp-stratcom/visual-framework-tooling-prototype/
* to learn how to build custom and optimised CSS.
*
*/
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
line-height: 1.15;
/* 1 */
-webkit-text-size-adjust: 100%;
/* 2 */ }
/* Sections
========================================================================== */
/**
* Remove the margin in all browsers.
*/
body {
margin: 0; }
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
font-size: 2em;
margin: 0.67em 0; }
/* Grouping content
========================================================================== */
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr {
box-sizing: content-box;
/* 1 */
height: 0;
/* 1 */
overflow: visible;
/* 2 */ }
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
font-family: monospace, monospace;
/* 1 */
font-size: 1em;
/* 2 */ }
/* Text-level semantics
========================================================================== */
/**
* Remove the gray background on active links in IE 10.
*/
a {
background-color: transparent; }
/**
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none;
/* 1 */
text-decoration: underline;
/* 2 */
text-decoration: underline dotted;
/* 2 */ }
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b,
strong {
font-weight: bolder; }
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
font-family: monospace, monospace;
/* 1 */
font-size: 1em;
/* 2 */ }
/**
* Add the correct font size in all browsers.
*/
small {
font-size: 80%; }
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline; }
sub {
bottom: -0.25em; }
sup {
top: -0.5em; }
/* Embedded content
========================================================================== */
/**
* Remove the border on images inside links in IE 10.
*/
img {
border-style: none; }
/* Forms
========================================================================== */
/**
* 1. Change the font styles in all browsers.
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
font-family: inherit;
/* 1 */
font-size: 100%;
/* 1 */
line-height: 1.15;
/* 1 */
margin: 0;
/* 2 */ }
/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input {
/* 1 */
overflow: visible; }
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select {
/* 1 */
text-transform: none; }
/**
* Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button; }
/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0; }
/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText; }
/**
* Correct the padding in Firefox.
*/
fieldset {
padding: 0.35em 0.75em 0.625em; }
/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box;
/* 1 */
color: inherit;
/* 2 */
display: table;
/* 1 */
max-width: 100%;
/* 1 */
padding: 0;
/* 3 */
white-space: normal;
/* 1 */ }
/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
vertical-align: baseline; }
/**
* Remove the default vertical scrollbar in IE 10+.
*/
textarea {
overflow: auto; }
/**
* 1. Add the correct box sizing in IE 10.
* 2. Remove the padding in IE 10.
*/
[type="checkbox"],
[type="radio"] {
box-sizing: border-box;
/* 1 */
padding: 0;
/* 2 */ }
/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto; }
/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type="search"] {
-webkit-appearance: textfield;
/* 1 */
outline-offset: -2px;
/* 2 */ }
/**
* Remove the inner padding in Chrome and Safari on macOS.
*/
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none; }
/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button;
/* 1 */
font: inherit;
/* 2 */ }
/* Interactive
========================================================================== */
/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/
details {
display: block; }
/*
* Add the correct display in all browsers.
*/
summary {
display: list-item; }
/* Misc
========================================================================== */
/**
* Add the correct display in IE 10+.
*/
template {
display: none; }
/**
* Add the correct display in IE 10.
*/
[hidden] {
display: none; }
/* The Page Grid
* -------------- // --------------
*
* All content except for a few design patterns are tied into a grid with a maximum
* width of 1300px. We use CSS grid layout on the `body` element to set a simple
* 3 column grid with the central grid set to a maximum of 81.25em (1300px).
*
* Because we are supporting IE11 we also need to include a similar page layout.
* We initially set up the page layout without using CSS grid layout and make use
* of `@supports` to invoke CSS grid layout on browsers that support it.
*
*/
html {
margin: 0 1.25em; }
body {
max-width: 81.25em;
margin: 0 auto; }
@supports (display: grid) {
html {
margin: unset; }
body {
max-width: unset;
margin: unset;
display: grid;
grid-template-columns: [full-start] minmax(1.25em, 1fr) [main-start] minmax(0, 81.25em) [main-end] minmax(1.25em, 1fr) [full-end]; } }
.vf-grid {
display: flex; }
.vf-grid > * {
flex: 1;
margin: 10px; }
[class*=vf-grid--] {
flex-wrap: wrap; }
.vf-grid--2col > * {
flex: 0 0 calc(50% - 20px); }
.vf-grid--3col > * {
flex: 0 0 calc(33.3333% - 20px); }
.vf-grid--4col > * {
flex: 0 0 calc(25% - 20px); }
.vf-grid--5col > * {
flex: 0 0 calc(16% - 20px); }
.vf-grid--6col > * {
flex: 0 0 calc(16.666666667% - 20px); }
@media (max-width: 1023px) {
.vf-grid {
flex-wrap: wrap; }
.vf-grid > *,
[class*=micro--] > * {
flex: 0 0 calc(50% - 20px); } }
@supports (display: grid) {
.vf-grid {
display: grid;
grid-column: main-start / main-end;
grid-column-gap: 1.25em; }
@media (max-width: 1023px) {
[class*=micro] {
grid-template-columns: 1fr 1fr !important; } }
@media (min-width: 1024px) {
.vf-grid {
grid-auto-flow: column; } }
@media (max-width: 1299px) {
.vf-grid {
grid-column: 1 / -1; } }
.vf-grid > * {
margin: 0; }
[class*=grid--] {
grid-auto-flow: unset; }
.vf-grid--1col > * + * {
padding-top: 32px;
border-top: 1px solid #b3b3b3; }
.vf-grid--1col > * + *:last-of-type {
margin-bottom: 0; }
.vf-grid--2col {
grid-template-columns: 1fr 1fr; }
.vf-grid--3col {
grid-template-columns: repeat(3, 1fr); }
.vf-grid--4col {
grid-template-columns: repeat(4, 1fr); }
.vf-grid--5col {
grid-template-columns: repeat(5, 1fr); }
.vf-grid--6col {
grid-template-columns: repeat(6, 1fr); } }
.embl-g-multicol {
column-gap: 40px; }
@media (min-width: 480px) {
.embl-g-multicol {
column-count: 2; } }
@media (min-width: 48em) {
.embl-g-multicol--2col {
column-count: 2; } }
@media (min-width: 48em) {
.embl-g-multicol--3col {
column-count: 3; } }
@media (min-width: 48em) {
.embl-g-multicol--4col {
column-count: 4; } }
html, button {
font-family: "IBM Plex Mono", Monaco, Consolas, "Lucida Console", monospace; }
/* All Visual Framework Elements */
.vf-heading {
margin: 0 0 16px 0; }
.vf-heading--xs {
font-size: 18px;
font-weight: 500;
line-height: 1.5; }
.vf-heading--s {
font-size: 21px;
font-weight: 500;
line-height: 1.29; }
.vf-heading--r {
font-size: 24px;
font-weight: 500;
line-height: 1.125; }
.vf-heading--l {
font-size: 28px;
font-weight: 500;
line-height: 1.32; }
.vf-heading--display {
font-size: 42px;
font-weight: 700;
line-height: 1.3; }
.vf-heading--invert {
background-color: black;
color: white;
display: inline-block;
padding: 4px 8px 4px 4px; }
.vf-tags {
font-size: 16px;
font-weight: 700;
line-height: 1;
background-color: #349bff;
border-radius: 15%/50%;
color: white;
letter-spacing: .05em;
padding: 4px 8px;
margin: 0 6px;
text-decoration: none;
text-transform: uppercase; }
.vf-text {
margin: 0 0 16px 0; }
.vf-text--xs {
font-size: 14px;
line-height: 1.29; }
.vf-text--s {
font-size: 16px;
line-height: 1.5; }
.vf-text--r {
font-size: 18px;
line-height: 1.5; }
.vf-text--l {
font-size: 19px;
line-height: 1.63; }
.vf-text--link {
font-size: 19px;
line-height: 1.63;
color: #349bff; }
.vf-link {
color: #298dd3; }
.vf-link:visited {
color: #4d4d4d; }
.vf-link:hover {
color: #349bff; }
.vf-link[disabled] {
color: gainsboro;
cursor: not-allowed; }
.vf-link--visited {
color: #4d4d4d; }
.vf-link--hover {
color: #349bff; }
button {
appearance: none;
border: 0;
cursor: pointer;
display: inline-block;
margin: 0;
text-decoration: none; }
.vf-button {
background-color: #298dd3;
border: 2px solid #298dd3;
color: white;
margin: 0 0 8px 0;
padding: 20px;
font-size: 16px;
font-weight: 700;
line-height: 1; }
.vf-button:visited {
background-color: #4d4d4d; }
.vf-button:hover {
background-color: #349bff;
border-color: #349bff; }
.vf-button[disabled] {
background-color: gainsboro;
cursor: not-allowed; }
.vf-button--ghost {
background-color: white;
color: #298dd3; }
.vf-button--ghost:visited {
background-color: #4d4d4d; }
.vf-button--ghost:hover {
background-color: #349bff;
border-color: #349bff;
color: white; }
.vf-button--ghost[disabled] {
background-color: gainsboro;
cursor: not-allowed; }
.vf-button--pill {
border-radius: 15%/50%; }
.vf-button--rounded {
border-radius: 16px; }
.vf-figure {
margin: 0; }
.vf-figure__image {
margin: 0 0 21px 0; }
.vf-figure__caption {
font-size: 16px;
line-height: 1.5;
color: #b3b3b3;
font-style: italic; }
.vf-list {
list-style-type: none;
margin: 0;
padding: 0 0 0 40px;
font-size: 18px;
line-height: 1.5; }
.vf-list__item {
margin-bottom: 16px; }
.vf-list--l {
font-size: 19px;
line-height: 1.63; }
.vf-list--ordered {
list-style-type: none;
margin: 0;
padding: 0 0 0 40px;
list-style-type: decimal;
padding-left: 40px; }
.vf-list--ordered__item {
margin-bottom: 16px; }
.vf-list--unordered {
list-style-type: none;
margin: 0;
padding: 0 0 0 40px;
padding-left: 40px;
list-style-type: disc; }
.vf-list--unordered__item {
margin-bottom: 16px; }
.vf-list--inline {
list-style-type: none;
margin: 0;
padding: 0 0 0 40px;
padding: 0; }
.vf-list--inline [class*=__item] {
display: inline; }
.vf-list--inline__item {
margin-bottom: 16px; }
.vf-list__link {
color: #298dd3; }
.vf-list__link:visited {
color: #4d4d4d; }
.vf-list__link:hover {
color: #349bff; }
.vf-list__link[disabled] {
color: gainsboro;
cursor: not-allowed; }
.vf-blockquote {
font-size: 19px;
line-height: 1.63;
margin: 0;
padding: 10px 8px 10px 32px;
position: relative; }
.vf-blockquote::before {
content: '';
border-left: 4px solid gainsboro;
position: absolute;
left: 12px;
height: 100%;
top: 0; }
.vf-divider {
background-color: #b3b3b3;
margin: 0 32px; }
/* All Visual Framework Blocks */
.vf-breadcrumbs__item {
font-size: 16px;
line-height: 1.5;
color: black;
margin-right: 16px;
position: relative; }
.vf-breadcrumbs__item:not(:last-of-type):after {
content: '>';
color: #b3b3b3;
position: absolute;
right: -8px; }
.vf-breadcrumbs__link {
color: black; }
.vf-factoid {
padding: 16px;
background-color: #298dd3;
box-sizing: border-box;
color: white; }
.vf-factoid :last-child {
margin: 0; }
.vf-snippet {
margin-bottom: 64px; }
.vf-snippet + .vf-snippet {
padding-top: 32px;
border-top: 1px solid #b3b3b3; }
.vf-snippet:last-of-type {
margin-bottom: 0; }
.vf-snippet__meta {
margin: 0 0 32px 0;
display: flex;
flex-direction: column; }
@media (min-width: 600px) {
.vf-snippet__meta {
align-items: center;
flex-direction: row; } }
.vf-snippet__author {
margin: 0; }
@media (min-width: 600px) {
.vf-snippet__date {
position: relative;
margin-right: 30px; }
.vf-snippet__date::after {
content: ' — ';
font-family: inherit;
font-size: inherit;
position: absolute;
right: -20px; }
.vf-snippet__author {
position: relative;
margin-right: 16px; }
.vf-snippet__author::after {
content: ',';
color: black;
font-family: inherit;
font-size: inherit;
position: absolute;
right: -8px; } }
.vf-snippet__link {
color: #298dd3; }
.vf-snippet__link:visited {
color: #4d4d4d; }
.vf-snippet__link:hover {
color: #349bff; }
.vf-snippet__link[disabled] {
color: gainsboro;
cursor: not-allowed; }
.vf-snippet__teaser:last-of-type {
margin: 0; }
.vf-snippet__read-more {
margin: 20px 0 0 0;
color: #298dd3;
display: block; }
.vf-snippet__read-more:visited {
color: #4d4d4d; }
.vf-snippet__read-more:hover {
color: #349bff; }
.vf-snippet__read-more[disabled] {
color: gainsboro;
cursor: not-allowed; }
.vf-page-header {
margin: 0 0 20px 0;
display: flex;
flex-direction: column-reverse; }
.vf-page-header__heading {
margin: 0; }
.vf-page-header__sub-heading {
margin: 0 0 4px 0;
color: #b3b3b3; }
.vf-links {
margin-bottom: 32px;
padding: 32px 16px; }
.vf-links__list {
list-style-type: none;
margin: 0;
padding: 0 0 0 40px; }
.vf-links__list__item {
margin-bottom: 16px; }
.vf-links__heading {
font-size: 24px;
font-weight: 500;
line-height: 1.125;
margin: 0 0 32px 0; }
.vf-links__item {
font-size: 19px;
line-height: 1.63;
margin: 0 0 20px 0; }
.vf-links__link {
color: #298dd3; }
.vf-links__link:visited {
color: #4d4d4d; }
.vf-links__link:hover {
color: #349bff; }
.vf-links__link[disabled] {
color: gainsboro;
cursor: not-allowed; }
.vf-section-header__heading {
margin: 0; }
/* All Visual Framework Containers */
.vf-masthead {
box-sizing: border-box;
background-size: cover;
background-position: top center;
display: grid;
grid-column: 1 / -1;
grid-template-columns: minmax(1em, 1fr) 58.1875em 21.8125em minmax(1em, 1fr);
height: 266px; }
.vf-masthead__title {
color: white;
display: grid;
grid-row: 2;
grid-column: 1 / -1;
grid-template-columns: minmax(1em, 1fr) 58.1875em 21.8125em minmax(1em, 1fr);
grid-template-areas: ". dave dave dave .";
margin-top: 48px;
position: relative; }
.vf-masthead__title:before {
position: absolute;
content: '';
grid-column: 1 / 2;
height: 100%;
width: 100%; }
.vf-masthead__title .vf-masthead__title-inner {
display: grid;
grid-column: 2 / -2;
grid-auto-columns: max-content; }
.vf-masthead__title h1, .vf-masthead__title h2 {
grid-area: dave;
margin: 0;
display: inline-block;
grid-auto-columns: max-content; }
.vf-masthead__title h1 {
grid-row: 2;
padding-right: 40px;
padding-bottom: 16px; }
.vf-masthead__title h2 {
grid-row: 1;
font-size: 12px;
font-weight: 500;
padding: 16px 0;
text-transform: uppercase; }
.vf-masthead__navigation--tertiary {
align-items: center;
background-color: #4d4d4d;
display: grid;
grid-row: 1;
grid-column: 1 / -1;
grid-template-columns: minmax(1em, 1fr) 58.1875em 21.8125em minmax(1em, 1fr);
grid-template-areas: ". peter peter peter .";
padding: 20px 0;
text-transform: uppercase; }
.vf-masthead__navigation--tertiary .vf-navigation {
align-content: center;
display: flex;
grid-area: peter; }
.vf-masthead__navigation--tertiary .vf-navigation .vf-navigation__heading {
color: gainsboro;
font-weight: 500;
margin: 0 40px 0 0;
text-transform: uppercase; }
.vf-masthead__navigation--secondary {
display: grid;
grid-column: 1 / -1;
grid-template-columns: minmax(1em, 1fr) 58.1875em 21.8125em minmax(1em, 1fr);
grid-template-areas: ". peter peter peter .";
background-color: black;
grid-row: 3;
height: 60px; }
.vf-masthead__navigation--secondary .vf-navigation {
grid-area: peter;
align-content: center;
padding: 20px 0; }
.vf-masthead .vf-list--inline {
align-self: center;
display: flex;
list-style: none;
margin: 0;
padding: 0; }
.vf-masthead .vf-list--inline a {
color: white;
text-decoration: none; }
.vf-masthead .vf-list--inline li:not(first-of-type) {
margin-right: 32px; }
.vf-masthead__form--search {
grid-row: 2;
grid-column: 3 / -2;
justify-content: flex-end;
align-self: flex-end;
margin-bottom: 12px;
z-index: 5150; }
.vf-masthead__form__item {
color: white;
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin-bottom: 6px; }
.vf-masthead__button {
align-items: flex-end;
background-color: #298dd3;
color: white;
padding: 8px 12px;
border: 0;
outline: 0;
margin-left: 8px; }
.vf-masthead__button svg {
fill: white;
width: 16px; }
.vf-masthead__form__label {
flex-grow: 0;
flex-shrink: 0;
flex-basis: 100%;
margin-bottom: 4px;
text-shadow: 1px 1px 3px black; }
.vf-masthead__form__input--text {
font-size: 18px;
padding: 8px;
flex-grow: 0;
flex-shrink: 0;
flex-basis: 79%;
font-style: italic; }
.search-examples {
font-size: 12px;
color: white;
text-shadow: 1px 1px 0px black; }
.search-examples a {
color: white;
text-shadow: 1px 1px 0px black; }
/* All Visual Framework Utility Classes */
.vf-u-type__body-l {
font-size: 19px;
font-weight: 400;
line-height: 1.63; }
.vf-u-type__body-r {
font-size: 18px;
font-weight: 400;
line-height: 1.5; }
.vf-u-type__body-s {
font-size: 16px;
font-weight: 400;
line-height: 1.5; }
.vf-u-type__body-xs {
font-size: 14px;
font-weight: 400;
line-height: 1.29; }
.vf-u-type__button-r {
font-size: 16px;
font-weight: 700;
line-height: 1; }
.vf-u-type__display-xl {
font-size: 42px;
font-weight: 700;
line-height: 1.3; }
.vf-u-type__heading-l {
font-size: 28px;
font-weight: 500;
line-height: 1.32; }
.vf-u-type__heading-r {
font-size: 24px;
font-weight: 500;
line-height: 1.125; }
.vf-u-type__heading-s {
font-size: 21px;
font-weight: 500;
line-height: 1.29; }
.vf-u-type__heading-xl {
font-size: 32px;
font-weight: 500;
line-height: 1.3; }
.vf-u-type__heading-xs {
font-size: 18px;
font-weight: 500;
line-height: 1.5; }
.vf-u-margin-none {
margin: 0; }
.vf-u-margin-extra-tight {
margin: 4px; }
.vf-u-margin-tight {
margin: 8px; }
.vf-u-margin-regular {
margin: 16px; }
.vf-u-margin-loose {
margin: 20px; }
.vf-u-margin-extra-loose {
margin: 24px; }
.vf-u-margin-extra-extra-loose {
margin: 32px; }
.vf-u-margin__bottom-none {
margin-bottom: 0; }
.vf-u-margin__bottom-extra-tight {
margin-bottom: 4px; }
.vf-u-margin__bottom-tight {
margin-bottom: 8px; }
.vf-u-margin__bottom-regular {
margin-bottom: 16px; }
.vf-u-margin__bottom-loose {
margin-bottom: 20px; }
.vf-u-margin__bottom-extra-loose {
margin-bottom: 24px; }
.vf-u-margin__bottom-extra-extra-loose {
margin-bottom: 32px; }
.vf-u-margin__top-none {
margin-top: 0; }
.vf-u-margin__top-extra-tight {
margin-top: 4px; }
.vf-u-margin__top-tight {
margin-top: 8px; }
.vf-u-margin__top-regular {
margin-top: 16px; }
.vf-u-margin__top-loose {
margin-top: 20px; }
.vf-u-margin__top-extra-loose {
margin-top: 24px; }
.vf-u-margin__top-extra-extra-loose {
margin-top: 32px; }
.vf-u-margin__left-none {
margin-left: 0; }
.vf-u-margin__left-extra-tight {
margin-left: 4px; }
.vf-u-margin__left-tight {
margin-left: 8px; }
.vf-u-margin__left-regular {
margin-left: 16px; }
.vf-u-margin__left-loose {
margin-left: 20px; }
.vf-u-margin__left-extra-loose {
margin-left: 24px; }
.vf-u-margin__left-extra-extra-loose {
margin-left: 32px; }
.vf-u-margin__right-none {
margin-right: 0; }
.vf-u-margin__right-extra-tight {
margin-right: 4px; }
.vf-u-margin__right-tight {
margin-right: 8px; }
.vf-u-margin__right-regular {
margin-right: 16px; }
.vf-u-margin__right-loose {
margin-right: 20px; }
.vf-u-margin__right-extra-loose {
margin-right: 24px; }
.vf-u-margin__right-extra-extra-loose {
margin-right: 32px; }
.vf-u-padding-none {
padding: 0; }
.vf-u-padding-extra-tight {
padding: 4px; }
.vf-u-padding-tight {
padding: 8px; }
.vf-u-padding-regular {
padding: 16px; }
.vf-u-padding-loose {
padding: 20px; }
.vf-u-padding-extra-loose {
padding: 24px; }
.vf-u-padding-extra-extra-loose {
padding: 32px; }
.vf-u-padding__bottom-none {
padding-bottom: 0; }
.vf-u-padding__bottom-extra-tight {
padding-bottom: 4px; }
.vf-u-padding__bottom-tight {
padding-bottom: 8px; }
.vf-u-padding__bottom-regular {
padding-bottom: 16px; }
.vf-u-padding__bottom-loose {
padding-bottom: 20px; }
.vf-u-padding__bottom-extra-loose {
padding-bottom: 24px; }
.vf-u-padding__bottom-extra-extra-loose {
padding-bottom: 32px; }
.vf-u-padding__top-none {
padding-top: 0; }
.vf-u-padding__top-extra-tight {
padding-top: 4px; }
.vf-u-padding__top-tight {
padding-top: 8px; }
.vf-u-padding__top-regular {
padding-top: 16px; }
.vf-u-padding__top-loose {
padding-top: 20px; }
.vf-u-padding__top-extra-loose {
padding-top: 24px; }
.vf-u-padding__top-extra-extra-loose {
padding-top: 32px; }
.vf-u-padding__left-none {
padding-left: 0; }
.vf-u-padding__left-extra-tight {
padding-left: 4px; }
.vf-u-padding__left-tight {
padding-left: 8px; }
.vf-u-padding__left-regular {
padding-left: 16px; }
.vf-u-padding__left-loose {
padding-left: 20px; }
.vf-u-padding__left-extra-loose {
padding-left: 24px; }
.vf-u-padding__left-extra-extra-loose {
padding-left: 32px; }
.vf-u-padding__right-none {
padding-right: 0; }
.vf-u-padding__right-extra-tight {
padding-right: 4px; }
.vf-u-padding__right-tight {
padding-right: 8px; }
.vf-u-padding__right-regular {
padding-right: 16px; }
.vf-u-padding__right-loose {
padding-right: 20px; }
.vf-u-padding__right-extra-loose {
padding-right: 24px; }
.vf-u-padding__right-extra-extra-loose {
padding-right: 32px; }
.vf-u-text-color-white {
color: white; }
.vf-u-text-color-off-white {
color: #fafafa; }
.vf-u-text-color-black {
color: black; }
.vf-u-text-color-gray {
color: #b3b3b3; }
.vf-u-text-color-gray-bright {
color: gainsboro; }
.vf-u-text-color-gray-dark {
color: #4d4d4d; }
.vf-u-text-color-green {
color: #19993b; }
.vf-u-text-color-green-bright {
color: #72b370; }
.vf-u-text-color-green-dark {
color: #008139; }
.vf-u-text-color-light-green {
color: #a7c600; }
.vf-u-text-color-light-green-bright {
color: #c3d469; }
.vf-u-text-color-light-green-dark {
color: #8d990b; }
.vf-u-text-color-ruby {
color: #dc0a28; }
.vf-u-text-color-ruby-bright {
color: #e7a89e; }
.vf-u-text-color-ruby-dark {
color: #b11e32; }
.vf-u-text-color-aquamarine {
color: #008293; }
.vf-u-text-color-aquamarine-bright {
color: #4395a2; }
.vf-u-text-color-aquamarine-dark {
color: #00707b; }
.vf-u-text-color-amethyst {
color: #845fa1; }
.vf-u-text-color-amethyst-bright {
color: #9385b7; }
.vf-u-text-color-amethyst-dark {
color: #5f4b8b; }
.vf-u-text-color-amber {
color: #e89300; }
.vf-u-text-color-amber-bright {
color: #edaa50; }
.vf-u-text-color-amber-dark {
color: #bf831c; }
.vf-u-text-color-azure {
color: #349bff; }
.vf-u-text-color-azure-bright {
color: #8dbfe2; }
.vf-u-text-color-azure-dark {
color: #298dd3; }
.vf-u-border-color-white {
border-color: white; }
.vf-u-border-color-off-white {
border-color: #fafafa; }
.vf-u-border-color-black {
border-color: black; }
.vf-u-border-color-gray {
border-color: #b3b3b3; }
.vf-u-border-color-gray-bright {
border-color: gainsboro; }
.vf-u-border-color-gray-dark {
border-color: #4d4d4d; }
.vf-u-border-color-green {
border-color: #19993b; }
.vf-u-border-color-green-bright {
border-color: #72b370; }
.vf-u-border-color-green-dark {
border-color: #008139; }
.vf-u-border-color-light-green {
border-color: #a7c600; }
.vf-u-border-color-light-green-bright {
border-color: #c3d469; }
.vf-u-border-color-light-green-dark {
border-color: #8d990b; }
.vf-u-border-color-ruby {
border-color: #dc0a28; }
.vf-u-border-color-ruby-bright {
border-color: #e7a89e; }
.vf-u-border-color-ruby-dark {
border-color: #b11e32; }
.vf-u-border-color-aquamarine {
border-color: #008293; }
.vf-u-border-color-aquamarine-bright {
border-color: #4395a2; }
.vf-u-border-color-aquamarine-dark {
border-color: #00707b; }
.vf-u-border-color-amethyst {
border-color: #845fa1; }
.vf-u-border-color-amethyst-bright {
border-color: #9385b7; }
.vf-u-border-color-amethyst-dark {
border-color: #5f4b8b; }
.vf-u-border-color-amber {
border-color: #e89300; }
.vf-u-border-color-amber-bright {
border-color: #edaa50; }
.vf-u-border-color-amber-dark {
border-color: #bf831c; }
.vf-u-border-color-azure {
border-color: #349bff; }
.vf-u-border-color-azure-bright {
border-color: #8dbfe2; }
.vf-u-border-color-azure-dark {
border-color: #298dd3; }
.vf-u-background-color-white {
background-color: white; }
.vf-u-background-color-off-white {
background-color: #fafafa; }
.vf-u-background-color-black {
background-color: black; }
.vf-u-background-color-gray {
background-color: #b3b3b3; }
.vf-u-background-color-gray-bright {
background-color: gainsboro; }
.vf-u-background-color-gray-dark {
background-color: #4d4d4d; }
.vf-u-background-color-green {
background-color: #19993b; }
.vf-u-background-color-green-bright {
background-color: #72b370; }
.vf-u-background-color-green-dark {
background-color: #008139; }
.vf-u-background-color-light-green {
background-color: #a7c600; }
.vf-u-background-color-light-green-bright {
background-color: #c3d469; }
.vf-u-background-color-light-green-dark {
background-color: #8d990b; }
.vf-u-background-color-ruby {
background-color: #dc0a28; }
.vf-u-background-color-ruby-bright {
background-color: #e7a89e; }
.vf-u-background-color-ruby-dark {
background-color: #b11e32; }
.vf-u-background-color-aquamarine {
background-color: #008293; }
.vf-u-background-color-aquamarine-bright {
background-color: #4395a2; }
.vf-u-background-color-aquamarine-dark {
background-color: #00707b; }
.vf-u-background-color-amethyst {
background-color: #845fa1; }
.vf-u-background-color-amethyst-bright {
background-color: #9385b7; }
.vf-u-background-color-amethyst-dark {
background-color: #5f4b8b; }
.vf-u-background-color-amber {
background-color: #e89300; }
.vf-u-background-color-amber-bright {
background-color: #edaa50; }
.vf-u-background-color-amber-dark {
background-color: #bf831c; }
.vf-u-background-color-azure {
background-color: #349bff; }
.vf-u-background-color-azure-bright {
background-color: #8dbfe2; }
.vf-u-background-color-azure-dark {
background-color: #298dd3; }
.embl-grid {
display: flex;
flex-wrap: wrap;
width: 100%; }
.embl-grid > * {
flex-basis: 100%; }
@supports (display: grid) {
.embl-grid {
display: grid;
grid-column: main-start / main-end;
grid-column-gap: 1.25em; }
.embl-grid > * {
align-self: flex-start; } }
@media (min-width: 63.9375em) {
@supports (display: grid) {
.embl-grid--labeled-with-sidebar {
grid-template-columns: 8.5fr minmax(350px, 3.5fr); }
.embl-grid--labeled-with-sidebar > *:nth-child(2) {
margin-right: 0; } } }
@media (max-width: 81.1875em) {
@supports (display: grid) {
.embl-grid--labeled-with-sidebar > *:first-child {
grid-column: 1 / -1; }
.embl-grid--labeled-with-sidebar > :nth-child(2) {
grid-column: 1; } } }
@media (min-width: 81.25em) {
@supports (display: grid) {
.embl-grid--labeled-with-sidebar {
grid-template-columns: minmax(250px, 2.5fr) 7fr minmax(350px, 3.5fr); }
.embl-grid--labeled-with-sidebar > *:nth-child(1) {
grid-column: 1; } } }
@media (min-width: 63.9375em) {
.embl-grid--with-sidebar > *:nth-child(1) {
flex: 8.5;
margin-right: 20px; }
.embl-grid--with-sidebar > *:nth-child(2) {
flex: 3.5; }
@supports (display: grid) {
.embl-grid--with-sidebar {
grid-template-columns: 8.5fr 350px; }
.embl-grid--with-sidebar > *:nth-child(1) {
margin-right: 0; } } }
@media (max-width: 81.1875em) {
.embl-grid--with-label > *:first-child {
grid-column: 1 / -1; } }
@media (min-width: 81.25em) {
.embl-grid--with-label > *:first-child {
grid-column: 1;
flex: 2.5;
margin-right: 20px; }
.embl-grid--with-label > *:nth-child(2) {
flex: 9.5; }
@supports (display: grid) {
.embl-grid--with-label {
grid-template-columns: 250px 9.5fr; }
.embl-grid--with-label > *:nth-child(1) {
margin-right: 0; } } }
Also see: Tab Triggers