2016-12-18 13:29:03 +01:00
|
|
|
# Specimen
|
2016-08-07 18:01:56 +02:00
|
|
|
|
|
|
|
## Typography
|
|
|
|
|
|
|
|
### Body copy
|
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras arcu libero,
|
|
|
|
mollis sed massa vel, *ornare viverra ex*. Mauris a ullamcorper lacus. Nullam
|
|
|
|
urna elit, malesuada eget finibus ut, ullamcorper ac tortor. Vestibulum sodales
|
|
|
|
pulvinar nisl, pharetra aliquet est. Quisque volutpat erat ac nisi accumsan
|
|
|
|
tempor.
|
2016-08-07 18:01:56 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
**Sed suscipit**, orci non pretium pretium, quam mi gravida metus, vel
|
|
|
|
venenatis justo est condimentum diam. Maecenas non ornare justo. Nam a ipsum
|
|
|
|
eros. [Nulla aliquam](/) orci sit amet nisl posuere malesuada. Proin aliquet
|
|
|
|
nulla velit, quis ultricies orci feugiat et. `Ut tincidunt sollicitudin`
|
|
|
|
tincidunt. Aenean ullamcorper sit amet nulla at interdum.
|
2016-08-07 18:01:56 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
### Headings
|
2016-11-05 23:26:07 +01:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
#### The 4th level
|
2016-08-07 18:01:56 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
##### The 5th level
|
2016-08-07 18:01:56 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
###### The 6th level
|
2016-08-07 18:01:56 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
### Headings <small>with secondary text</small>
|
2016-08-07 18:01:56 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
#### The 4th level <small>with secondary text</small>
|
2016-08-07 18:01:56 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
##### The 5th level <small>with secondary text</small>
|
2016-08-07 18:01:56 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
###### The 6th level <small>with secondary text</small>
|
2016-08-07 18:01:56 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
### Blockquotes
|
2016-12-03 05:54:08 +01:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
> Morbi eget dapibus felis. Vivamus venenatis porttitor tortor sit amet rutrum.
|
|
|
|
Pellentesque aliquet quam enim, eu volutpat urna rutrum a. Nam vehicula nunc
|
|
|
|
mauris, a ultricies libero efficitur sed. *Class aptent* taciti sociosqu ad
|
|
|
|
litora torquent per conubia nostra, per inceptos himenaeos. Sed molestie
|
|
|
|
imperdiet consectetur.
|
2016-12-03 05:54:08 +01:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
#### Blockquote nesting
|
2016-12-03 05:54:08 +01:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
> **Sed aliquet**, neque at rutrum mollis, neque nisi tincidunt nibh, vitae
|
|
|
|
faucibus lacus nunc at lacus. Nunc scelerisque, quam id cursus sodales, lorem
|
|
|
|
[libero fermentum](/) urna, ut efficitur elit ligula et nunc.
|
2016-12-03 05:54:08 +01:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
> > Mauris dictum mi lacus, sit amet pellentesque urna vehicula fringilla.
|
|
|
|
Ut sit amet placerat ante. Proin sed elementum nulla. Nunc vitae sem odio.
|
|
|
|
Suspendisse ac eros arcu. Vivamus orci erat, volutpat a tempor et, rutrum.
|
|
|
|
eu odio.
|
2016-08-07 18:01:56 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
> > > `Suspendisse rutrum facilisis risus`, eu posuere neque commodo a.
|
|
|
|
Interdum et malesuada fames ac ante ipsum primis in faucibus. Sed nec leo
|
|
|
|
bibendum, sodales mauris ut, tincidunt massa.
|
2016-09-23 11:56:25 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
#### Other content blocks
|
2016-09-23 11:56:25 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
> Vestibulum vitae orci quis ante viverra ultricies ut eget turpis. Sed eu
|
|
|
|
lectus dapibus, eleifend nulla varius, lobortis turpis. In ac hendrerit nisl,
|
|
|
|
sit amet laoreet nibh.
|
|
|
|
``` js hl_lines="8"
|
|
|
|
var _extends = function(target) {
|
|
|
|
for (var i = 1; i < arguments.length; i++) {
|
|
|
|
var source = arguments[i];
|
|
|
|
for (var key in source) {
|
|
|
|
target[key] = source[key];
|
|
|
|
}
|
2016-09-23 11:56:25 +02:00
|
|
|
}
|
2016-12-18 13:29:03 +01:00
|
|
|
return target;
|
|
|
|
};
|
|
|
|
```
|
2016-09-23 11:56:25 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
> > Praesent at `:::js return target`, sodales nibh vel, tempor felis. Fusce
|
|
|
|
vel lacinia lacus. Suspendisse rhoncus nunc non nisi iaculis ultrices.
|
|
|
|
Donec consectetur mauris non neque imperdiet, eget volutpat libero.
|
2016-09-23 11:56:25 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
### Lists
|
2016-09-23 11:56:25 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
#### Unordered lists
|
2016-09-23 11:56:25 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
* Sed sagittis eleifend rutrum. Donec vitae suscipit est. Nullam tempus tellus
|
|
|
|
non sem sollicitudin, quis rutrum leo facilisis. Nulla tempor lobortis orci,
|
|
|
|
at elementum urna sodales vitae. In in vehicula nulla, quis ornare libero.
|
2016-09-23 11:56:25 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
* Duis mollis est eget nibh volutpat, fermentum aliquet dui mollis.
|
|
|
|
* Nam vulputate tincidunt fringilla.
|
|
|
|
* Nullam dignissim ultrices urna non auctor.
|
2016-09-23 11:56:25 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
* Aliquam metus eros, pretium sed nulla venenatis, faucibus auctor ex. Proin ut
|
|
|
|
eros sed sapien ullamcorper consequat. Nunc ligula ante, fringilla at aliquam
|
|
|
|
ac, aliquet sed mauris.
|
2016-08-07 18:01:56 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
* Nulla et rhoncus turpis. Mauris ultricies elementum leo. Duis efficitur
|
|
|
|
accumsan nibh eu mattis. Vivamus tempus velit eros, porttitor placerat nibh
|
|
|
|
lacinia sed. Aenean in finibus diam.
|
2016-12-03 05:54:08 +01:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
#### Ordered lists
|
2016-12-03 05:54:08 +01:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
1. Integer vehicula feugiat magna, a mollis tellus. Nam mollis ex ante, quis
|
|
|
|
elementum eros tempor rutrum. Aenean efficitur lobortis lacinia. Nulla
|
|
|
|
consectetur feugiat sodales.
|
2016-12-03 05:54:08 +01:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
2. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur
|
|
|
|
ridiculus mus. Aliquam ornare feugiat quam et egestas. Nunc id erat et quam
|
|
|
|
pellentesque lacinia eu vel odio.
|
2016-08-07 18:01:56 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
1. Vivamus venenatis porttitor tortor sit amet rutrum. Pellentesque aliquet
|
|
|
|
quam enim, eu volutpat urna rutrum a. Nam vehicula nunc mauris, a
|
|
|
|
ultricies libero efficitur sed.
|
2016-08-07 18:01:56 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
1. Mauris dictum mi lacus
|
|
|
|
2. Ut sit amet placerat ante
|
|
|
|
3. Suspendisse ac eros arcu
|
2016-08-07 18:01:56 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
2. Morbi eget dapibus felis. Vivamus venenatis porttitor tortor sit amet
|
|
|
|
rutrum. Pellentesque aliquet quam enim, eu volutpat urna rutrum a. Sed
|
|
|
|
aliquet, neque at rutrum mollis, neque nisi tincidunt nibh.
|
2016-08-07 18:01:56 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
3. Pellentesque eget `:::js var _extends` ornare tellus, ut gravida mi.
|
|
|
|
``` js hl_lines="1"
|
|
|
|
var _extends = function(target) {
|
|
|
|
for (var i = 1; i < arguments.length; i++) {
|
|
|
|
var source = arguments[i];
|
|
|
|
for (var key in source) {
|
|
|
|
target[key] = source[key];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return target;
|
|
|
|
};
|
|
|
|
```
|
2016-08-07 18:01:56 +02:00
|
|
|
|
2016-12-18 13:29:03 +01:00
|
|
|
3. Vivamus id mi enim. Integer id turpis sapien. Ut condimentum lobortis
|
|
|
|
sagittis. Aliquam purus tellus, faucibus eget urna at, iaculis venenatis
|
|
|
|
nulla. Vivamus a pharetra leo.
|
|
|
|
|
|
|
|
### Code blocks
|
|
|
|
|
|
|
|
#### Inline
|
|
|
|
|
|
|
|
Morbi eget `dapibus felis`. Vivamus *`venenatis porttitor`* tortor sit amet
|
|
|
|
rutrum. Class aptent taciti sociosqu ad litora torquent per conubia nostra,
|
|
|
|
per inceptos himenaeos. [`Pellentesque aliquet quam enim`](/), eu volutpat urna
|
|
|
|
rutrum a.
|
|
|
|
|
|
|
|
Nam vehicula nunc `:::js return target` mauris, a ultricies libero efficitur
|
|
|
|
sed. Sed molestie imperdiet consectetur. Vivamus a pharetra leo. Pellentesque
|
|
|
|
eget ornare tellus, ut gravida mi. Fusce vel lacinia lacus.
|
|
|
|
|
|
|
|
#### Listing
|
|
|
|
|
|
|
|
#!js hl_lines="8"
|
|
|
|
var _extends = function(target) {
|
|
|
|
for (var i = 1; i < arguments.length; i++) {
|
|
|
|
var source = arguments[i];
|
|
|
|
for (var key in source) {
|
|
|
|
target[key] = source[key];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return target;
|
|
|
|
};
|
|
|
|
|
|
|
|
### Horizontal rules
|
|
|
|
|
|
|
|
Aenean in finibus diam. Duis mollis est eget nibh volutpat, fermentum aliquet
|
|
|
|
dui mollis. Nam vulputate tincidunt fringilla. Nullam dignissim ultrices urna
|
|
|
|
non auctor.
|
|
|
|
|
|
|
|
***
|
|
|
|
|
|
|
|
Integer vehicula feugiat magna, a mollis tellus. Nam mollis ex ante, quis
|
|
|
|
elementum eros tempor rutrum. Aenean efficitur lobortis lacinia. Nulla
|
|
|
|
consectetur feugiat sodales.
|
|
|
|
|
|
|
|
### Data tables
|
|
|
|
|
|
|
|
| Sollicitudo / Pellentesi | consectetur | adipiscing | elit | arcu | sed |
|
|
|
|
| ------------------------ | ----------- | ---------- | ------- | ---- | --- |
|
|
|
|
| Vivamus a pharetra | yes | yes | yes | yes | yes |
|
|
|
|
| Ornare viverra ex | yes | yes | yes | yes | yes |
|
|
|
|
| Mauris a ullamcorper | yes | yes | partial | yes | yes |
|
|
|
|
| Nullam urna elit | yes | yes | yes | yes | yes |
|
|
|
|
| Malesuada eget finibus | yes | yes | yes | yes | yes |
|
|
|
|
| Ullamcorper | yes | yes | yes | yes | yes |
|
|
|
|
| Vestibulum sodales | yes | - | yes | - | yes |
|
|
|
|
| Pulvinar nisl | yes | yes | yes | - | - |
|
|
|
|
| Pharetra aliquet est | yes | yes | yes | yes | yes |
|
|
|
|
| Sed suscipit | yes | yes | yes | yes | yes |
|
|
|
|
| Orci non pretium | yes | partial | - | - | - |
|
|
|
|
|
|
|
|
Sed sagittis eleifend rutrum. Donec vitae suscipit est. Nullam tempus tellus
|
|
|
|
non sem sollicitudin, quis rutrum leo facilisis. Nulla tempor lobortis orci,
|
|
|
|
at elementum urna sodales vitae. In in vehicula nulla, quis ornare libero.
|
|
|
|
|
|
|
|
| Left | Center | Right |
|
|
|
|
| :--------- | :------: | ------: |
|
|
|
|
| Lorem | *dolor* | `amet` |
|
|
|
|
| [ipsum](/) | **sit** | |
|
|
|
|
|
|
|
|
Vestibulum vitae orci quis ante viverra ultricies ut eget turpis. Sed eu
|
|
|
|
lectus dapibus, eleifend nulla varius, lobortis turpis. In ac hendrerit nisl,
|
|
|
|
sit amet laoreet nibh.
|
|
|
|
|
|
|
|
## Colors
|
|
|
|
|
|
|
|
### Primary colors
|
|
|
|
|
|
|
|
Click on a tile to change the primary color of the theme:
|
|
|
|
|
|
|
|
<button data-md-color-primary="red">Red</button>
|
|
|
|
<button data-md-color-primary="pink">Pink</button>
|
|
|
|
<button data-md-color-primary="purple">Purple</button>
|
|
|
|
<button data-md-color-primary="deep-purple">Deep Purple</button>
|
|
|
|
<button data-md-color-primary="indigo">Indigo</button>
|
|
|
|
<button data-md-color-primary="blue">Blue</button>
|
|
|
|
<button data-md-color-primary="light-blue">Light Blue</button>
|
|
|
|
<button data-md-color-primary="cyan">Cyan</button>
|
|
|
|
<button data-md-color-primary="teal">Teal</button>
|
|
|
|
<button data-md-color-primary="green">Green</button>
|
|
|
|
<button data-md-color-primary="light-green">Light Green</button>
|
|
|
|
<button data-md-color-primary="lime">Lime</button>
|
|
|
|
<button data-md-color-primary="yellow">Yellow</button>
|
|
|
|
<button data-md-color-primary="amber">Amber</button>
|
|
|
|
<button data-md-color-primary="orange">Orange</button>
|
|
|
|
<button data-md-color-primary="deep-orange">Deep Orange</button>
|
|
|
|
<button data-md-color-primary="brown">Brown</button>
|
|
|
|
<button data-md-color-primary="grey">Grey</button>
|
|
|
|
<button data-md-color-primary="blue-grey">Blue Grey</button>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
var buttons = document.querySelectorAll("button[data-md-color-primary]");
|
|
|
|
Array.prototype.forEach.call(buttons, function(button) {
|
|
|
|
button.addEventListener("click", function() {
|
|
|
|
document.body.dataset.mdColorPrimary = this.dataset.mdColorPrimary;
|
|
|
|
})
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
|
|
|
|
### Accent colors
|
|
|
|
|
|
|
|
Click on a tile to change the accent color of the theme:
|
|
|
|
|
|
|
|
<button data-md-color-accent="red">Red</button>
|
|
|
|
<button data-md-color-accent="pink">Pink</button>
|
|
|
|
<button data-md-color-accent="purple">Purple</button>
|
|
|
|
<button data-md-color-accent="deep-purple">Deep Purple</button>
|
|
|
|
<button data-md-color-accent="indigo">Indigo</button>
|
|
|
|
<button data-md-color-accent="blue">Blue</button>
|
|
|
|
<button data-md-color-accent="light-blue">Light Blue</button>
|
|
|
|
<button data-md-color-accent="cyan">Cyan</button>
|
|
|
|
<button data-md-color-accent="teal">Teal</button>
|
|
|
|
<button data-md-color-accent="green">Green</button>
|
|
|
|
<button data-md-color-accent="light-green">Light Green</button>
|
|
|
|
<button data-md-color-accent="lime">Lime</button>
|
|
|
|
<button data-md-color-accent="yellow">Yellow</button>
|
|
|
|
<button data-md-color-accent="amber">Amber</button>
|
|
|
|
<button data-md-color-accent="orange">Orange</button>
|
|
|
|
<button data-md-color-accent="deep-orange">Deep Orange</button>
|
|
|
|
<button data-md-color-accent="brown">Brown</button>
|
|
|
|
<button data-md-color-accent="grey">Grey</button>
|
|
|
|
<button data-md-color-accent="blue-grey">Blue Grey</button>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
var buttons = document.querySelectorAll("button[data-md-color-accent]");
|
|
|
|
Array.prototype.forEach.call(buttons, function(button) {
|
|
|
|
button.addEventListener("click", function() {
|
|
|
|
document.body.dataset.mdColorAccent = this.dataset.mdColorAccent;
|
|
|
|
})
|
|
|
|
})
|
|
|
|
</script>
|