2017-08-24 12:54:16 +02:00
---
layout: page
sitemap: false
title: Style Guide
subtitle: Look sharp and stay consistent
description: Look sharp and stay consistent
css: page-styleguide
2017-08-24 13:47:28 +02:00
narrow: true
2017-08-24 12:54:16 +02:00
---
2017-08-30 12:52:30 +02:00
# Colors
< div class = "colors" >
{% for color in site.data.colors %}
< div class = "color color--{{ color.name }}" style = "background-color: #{{ color.hex }}" >
< span class = "color__meta color-name" > ${{ color.name }}< / span >
< span class = "color__meta color-hex" > #{{ color.hex }}< / span >
< / div >
{% endfor %}
< / div >
2017-08-24 12:54:16 +02:00
# Typography
2017-08-30 12:52:30 +02:00
## The blockchain database network for the decentralized stack
2017-08-25 00:16:33 +02:00
IPDB is a planetary-scale blockchain database built on [BigchainDB ](https://www.bigchaindb.com ). It’ s a ready-to-use public network with a focus on **strong governance** . It shares _all the features_ of BigchainDB to make developers’ lives easier.
2017-08-30 12:52:30 +02:00
### Maecenas sed diam eget risus
Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.
2017-08-25 00:16:33 +02:00
* Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.
* Est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.
* Maecenas sed diam eget risus varius blandit sit amet non magna.
1. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.
2. Est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.
3. Maecenas sed diam eget risus varius blandit sit amet non magna.
2017-08-24 12:54:16 +02:00
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
# Logo
2017-08-24 13:47:28 +02:00
Logo can be used with a base class and modifier classes for size & color:
< svg class = "logo logo--lg" aria-labelledby = "title" > < title > Logo IPDB< / title > < use xlink:href = "/assets/img/sprite.svg#logo" > < / use > < / svg >
2017-08-30 12:52:30 +02:00
`logo--lg` : large version
2017-08-24 13:47:28 +02:00
< svg class = "logo" aria-labelledby = "title" > < title > Logo IPDB< / title > < use xlink:href = "/assets/img/sprite.svg#logo" > < / use > < / svg >
2017-08-30 12:52:30 +02:00
`logo` : default logo
2017-08-24 13:47:28 +02:00
< svg class = "logo logo--sm" aria-labelledby = "title" > < title > Logo IPDB< / title > < use xlink:href = "/assets/img/sprite.svg#logo" > < / use > < / svg >
2017-08-30 12:52:30 +02:00
`logo--sm` : small version
2017-08-24 13:47:28 +02:00
< svg class = "logo logo--dark" aria-labelledby = "title" > < title > Logo IPDB< / title > < use xlink:href = "/assets/img/sprite.svg#logo" > < / use > < / svg >
2017-08-30 12:52:30 +02:00
`logo--dark` : dark version
2017-08-24 13:47:28 +02:00
< svg class = "logo logo--white" aria-labelledby = "title" > < title > Logo IPDB< / title > < use xlink:href = "/assets/img/sprite.svg#logo" > < / use > < / svg >
2017-08-30 12:52:30 +02:00
`logo--white` : white version
2017-08-24 13:47:28 +02:00
2017-08-24 12:54:16 +02:00
# Components
## Buttons
< a class = "button" href = "#" > Button< / a > < a class = "button button--small" href = "#" > Button< / a > < a class = "button button--large" href = "#" > Button< / a >
< a class = "button button--primary" href = "#" > Button< / a > < a class = "button button--primary button--small" href = "#" > Button< / a > < a class = "button button--primary button--large" href = "#" > Button< / a >
< a class = "button button--dark" href = "#" > Button< / a > < a class = "button button--dark button--small" href = "#" > Button< / a > < a class = "button button--dark button--large" href = "#" > Button< / a >
2017-08-24 17:18:17 +02:00
< a class = "button button--text" href = "#" > Button< / a > < a class = "button button--small button--text" href = "#" > Button< / a > < a class = "button button--large button--text" href = "#" > Button< / a >
2017-08-24 12:54:16 +02:00
## Forms
2017-08-30 15:58:38 +02:00
All `form__control` elements require an empty placeholder to make browser validation look properly.
< form class = "form" action = "#" >
< div class = "form__group required" >
< label class = "form__label" for = "name" > Your Name< / label >
< input class = "form__control" type = "text" id = "name" name = "name" required placeholder = " " >
< span class = "form__help" >
You know your name, I suppose.
< / span >
2017-08-24 12:54:16 +02:00
< / div >
2017-08-30 15:58:38 +02:00
< div class = "form__group" >
< label class = "form__label" for = "email" > Your Email< / label >
2017-08-30 16:37:05 +02:00
< input class = "form__control" type = "email" id = "email" name = "email" placeholder = "hello@whatever.com" >
2017-08-24 12:54:16 +02:00
< / div >
2017-08-30 15:58:38 +02:00
< div class = "form__group" >
< label class = "form__label" for = "phone" > Your Phone< / label >
< input class = "form__control" type = "tel" id = "phone" name = "phone" placeholder = " " >
2017-08-24 12:54:16 +02:00
< / div >
2017-08-30 15:58:38 +02:00
< div class = "form__group required" >
< label class = "form__label" for = "industry" > Industry< / label >
< select class = "form__control" id = "select" name = "select" required data-required = "true" >
2017-08-24 12:54:16 +02:00
< option value = "" > < / option >
< option value = "Automotive" > Automotive< / option >
< option value = "Banking" > Banking< / option >
< option value = "Consulting" > Consulting< / option >
< option value = "Data" > Data< / option >
< option value = "Automotive" > Automotive< / option >
< option value = "Banking" > Banking< / option >
< option value = "Consulting" > Consulting< / option >
< option value = "Data" > Data< / option >
< option value = "Automotive" > Automotive< / option >
< option value = "Banking" > Banking< / option >
< option value = "Consulting" > Consulting< / option >
< option value = "Data" > Data< / option >
< / select >
< / div >
2017-08-30 15:58:38 +02:00
< div class = "form__group" >
< label class = "form__label" for = "comment" > Autogrowing textarea< / label >
< textarea class = "form__control" id = "comment" name = "comment" rows = "1" placeholder = " " > < / textarea >
2017-08-24 12:54:16 +02:00
< / div >
2017-08-30 15:58:38 +02:00
< p class = "form__group form__help" >
Fields marked with an < span class = "required" > *< / span > are required.
2017-08-24 12:54:16 +02:00
< / p >
2017-08-30 15:58:38 +02:00
< div class = "form__group" >
< input class = "button button-primary" type = "submit" value = "Submit" >
2017-08-24 12:54:16 +02:00
< / div >
< / form >
2017-08-25 00:16:33 +02:00
2017-08-30 18:53:46 +02:00
< br >
< form class = "form" action = "#" >
< p > Combined form control & button input group.< / p >
< div class = "form__group required" >
< label class = "form__label" for = "email2" > Your Email< / label >
< div class = "input-group" >
< input class = "form__control" type = "email" id = "email2" name = "email2" required placeholder = " " >
< input class = "button button-primary button--small" type = "submit" value = "Subscribe" >
< / div >
< / div >
< / form >
2017-09-07 10:45:56 +02:00
## Alerts
< div class = "alert alert--info" >
< p >
< strong class = "alert__title" > Great to hear from you!< / strong >
We’ ll get in touch soon.
< / p >
< / div >
< div class = "alert alert--success" >
< p >
< strong class = "alert__title" > Great to hear from you!< / strong >
We’ ll get in touch soon.
< / p >
< / div >
< div class = "alert alert--danger" >
< p >
< strong class = "alert__title" > Oops, there was an error< / strong >
Would you mind trying again?
< / p >
< / div >
2017-08-25 00:16:33 +02:00
## Section header
< header class = "section__header" >
< h1 class = "section__title" > A planetary-scale blockchain database< / h1 >
< p class = "section__description" > IPDB relies on caretakers to run the BigchainDB nodes that store and validate transactions. The IPDB Caretakers are the members of the IPDB Foundation.< / p >
< / header >