Typography

Headings

h1. Bootstrap heading

h2. Bootstrap heading

h3. Bootstrap heading

h4. Bootstrap heading

h5. Bootstrap heading
h6. Bootstrap heading
<h1>h1. Bootstrap heading</h1>
<h2>h2. Bootstrap heading</h2>
<h3>h3. Bootstrap heading</h3>
<h4>h4. Bootstrap heading</h4>
<h5>h5. Bootstrap heading</h5>
<h6>h6. Bootstrap heading</h6>
MediaWiki content hyperlinks
<div class="te-mw-link" data-href="https://components.embassy.science/" data-target="_self">This is a link that
does not open a new page
</div>
<div class="te-mw-link" data-href="https://components.embassy.science/" data-target="_blank">This is a link that
opens a new page
</div>
<div class="te-mw-link" data-href="#" data-target="back">go back button wrapper</div>
Javascript module below:
/**
* Module to open links inside MediaWiki context
*/

$('.te-mw-link').on('click', function(e) {
e.preventDefault();

// does not do anything if href is undefined
if (this.dataset.href === undefined) {
return;
}

// specific to go back
if (this.dataset.href === '#' && this.dataset.target === 'back') {
window.history.back();
return;
}

// check if its target
if (this.dataset.target === '_self' || this.dataset.target === undefined) {
window.location.href = this.dataset.href;
} else if (
this.dataset.target === '_blank' ||
this.dataset.href !== undefined
) {
window.open(this.dataset.href);
}
});
Display

Display 1

Display 2

Display 3

Display 4

<h1 class="display-1">Display 1</h1>
<h1 class="display-2">Display 2</h1>
<h1 class="display-3">Display 3</h1>
<h1 class="display-4">Display 4</h1>
Inline text elements

You can use the mark tag to highlight text.

This line of text is meant to be treated as deleted text.

This line of text is meant to be treated as no longer accurate.

This line of text is meant to be treated as an addition to the document.

This line of text will render as underlined

This line of text is meant to be treated as fine print.

This line rendered as bold text.

This line rendered as italicized text.

<p>You can use the mark tag to
<mark>highlight</mark>
text.
</p>
<p>
<del>This line of text is meant to be treated as deleted text.</del>
</p>
<p><s>This line of text is meant to be treated as no longer accurate.</s></p>
<p>
<ins>This line of text is meant to be treated as an addition to the document.</ins>
</p>
<p><u>This line of text will render as underlined</u></p>
<p><small>This line of text is meant to be treated as fine print.</small></p>
<p><strong>This line rendered as bold text.</strong></p>
<p><em>This line rendered as italicized text.</em></p>
Lists
  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit
  • Integer molestie lorem at massa
  • Facilisis in pretium nisl aliquet
  • Faucibus porta lacus fringilla vel
  • Aenean sit amet erat nunc
  • Eget porttitor lorem
  1. Phasellus iaculis neque
  2. Purus sodales ultricies
  3. Vestibulum laoreet porttitor sem
  4. Ac tristique libero volutpat at
<ul>
<li>Lorem ipsum dolor sit amet</li>
<li>Consectetur adipiscing elit</li>
<li>Integer molestie lorem at massa</li>
<li>Facilisis in pretium nisl aliquet</li>
<li>Faucibus porta lacus fringilla vel</li>
<li>Aenean sit amet erat nunc</li>
<li>Eget porttitor lorem</li>
</ul>
<ol>
<li>Phasellus iaculis neque</li>
<li>Purus sodales ultricies</li>
<li>Vestibulum laoreet porttitor sem</li>
<li>Ac tristique libero volutpat at</li>
</ol>