mirror of
https://github.com/ipdb/website.git
synced 2024-11-22 01:26:52 +01:00
lots of spacing tweaks
This commit is contained in:
parent
da88c56b0e
commit
0d77b3a3d3
@ -1,4 +1,4 @@
|
|||||||
$edge-height: $spacer * 5;
|
$edge-height: $spacer * 4;
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
background: $brand-05;
|
background: $brand-05;
|
||||||
|
@ -1,8 +1,35 @@
|
|||||||
|
$edge-height-sm: $spacer * 2;
|
||||||
|
$edge-height: $spacer * 4;
|
||||||
|
|
||||||
.hero {
|
.hero {
|
||||||
background: $brand-03;
|
background: $brand-07;
|
||||||
padding-top: $spacer * 2;
|
padding-top: $spacer * 2;
|
||||||
padding-bottom: $spacer * 2;
|
padding-bottom: $spacer * 2;
|
||||||
min-height: 100vh;
|
min-height: calc(100vh - #{$edge-height-sm});
|
||||||
|
margin-bottom: $edge-height-sm;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
@media ($screen-sm) {
|
||||||
|
min-height: calc(100vh - #{$edge-height});
|
||||||
|
margin-bottom: $edge-height;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:after {
|
||||||
|
content: '';
|
||||||
|
width: 100%;
|
||||||
|
height: $edge-height-sm;
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
background: #b3d0da;
|
||||||
|
bottom: -($edge-height-sm);
|
||||||
|
clip-path: polygon(0 0, 100% 0, 100% 20%, 0% 100%);
|
||||||
|
|
||||||
|
@media ($screen-sm) {
|
||||||
|
height: $edge-height;
|
||||||
|
bottom: -($edge-height);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&,
|
&,
|
||||||
.hero__title,
|
.hero__title,
|
||||||
@ -11,11 +38,28 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.menu--main {
|
.menu--main {
|
||||||
background: transparent;
|
background: $brand-03;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
|
&:after {
|
||||||
|
content: '';
|
||||||
|
width: 100%;
|
||||||
|
height: $edge-height-sm;
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
background: $brand-03;
|
||||||
|
bottom: -($edge-height-sm);
|
||||||
|
clip-path: polygon(100% 0, 0 0, 0 100%);
|
||||||
|
|
||||||
|
@media ($screen-sm) {
|
||||||
|
height: $edge-height;
|
||||||
|
bottom: -($edge-height);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu__link {
|
.menu__link {
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
// Color modifiers
|
// Color modifiers
|
||||||
//
|
//
|
||||||
.logo--white {
|
.logo--white {
|
||||||
color: #fff;
|
fill: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo--dark {
|
.logo--dark {
|
||||||
|
@ -34,7 +34,11 @@
|
|||||||
|
|
||||||
.section__title {
|
.section__title {
|
||||||
font-size: $font-size-h1;
|
font-size: $font-size-h1;
|
||||||
margin-bottom: $spacer / 2;
|
margin-bottom: $spacer;
|
||||||
|
|
||||||
|
@media ($screen-sm) {
|
||||||
|
margin-bottom: $spacer / 2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.section__description {
|
.section__description {
|
||||||
@ -46,33 +50,47 @@
|
|||||||
//
|
//
|
||||||
// Section modifiers
|
// Section modifiers
|
||||||
//
|
//
|
||||||
$edge-height: $spacer * 5;
|
$edge-height-sm: $spacer * 2;
|
||||||
|
$edge-height: $spacer * 4;
|
||||||
|
|
||||||
.section--background {
|
.section--background {
|
||||||
background: $brand-05;
|
background: $brand-05;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-top: $edge-height;
|
margin-top: $edge-height-sm;
|
||||||
margin-bottom: $edge-height;
|
margin-bottom: $edge-height-sm;
|
||||||
|
|
||||||
|
@media ($screen-sm) {
|
||||||
|
margin-top: $edge-height;
|
||||||
|
margin-bottom: $edge-height;
|
||||||
|
}
|
||||||
|
|
||||||
&:before,
|
&:before,
|
||||||
&:after {
|
&:after {
|
||||||
content: '';
|
content: '';
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: $edge-height;
|
height: $edge-height-sm;
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
background: $brand-05;
|
background: $brand-05;
|
||||||
|
|
||||||
|
@media ($screen-sm) {
|
||||||
|
height: $edge-height;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
top: -($edge-height);
|
top: -($edge-height-sm);
|
||||||
clip-path: polygon(100% 0, 0% 100%, 100% 100%);
|
clip-path: polygon(100% 0, 0% 100%, 100% 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
top: auto;
|
top: auto;
|
||||||
bottom: -($edge-height);
|
bottom: -($edge-height-sm);
|
||||||
clip-path: polygon(100% 0, 0 0, 0 100%);
|
clip-path: polygon(100% 0, 0 0, 0 100%);
|
||||||
|
|
||||||
|
@media ($screen-sm) {
|
||||||
|
bottom: -($edge-height);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
@import 'variables';
|
@import 'variables';
|
||||||
|
|
||||||
.feature {
|
.feature {
|
||||||
padding-top: $spacer * 2;
|
padding-top: $spacer;
|
||||||
padding-bottom: $spacer * 2;
|
padding-bottom: $spacer;
|
||||||
min-height: 235px;
|
|
||||||
|
&:first-child {
|
||||||
|
padding-top: $spacer * 2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.feature__image {
|
.feature__image {
|
||||||
@ -28,3 +31,17 @@
|
|||||||
font-size: $font-size-h3;
|
font-size: $font-size-h3;
|
||||||
margin-bottom: $spacer / 2;
|
margin-bottom: $spacer / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.actions {
|
||||||
|
text-align: center;
|
||||||
|
margin-top: $spacer * 2;
|
||||||
|
|
||||||
|
.button:last-child {
|
||||||
|
margin-left: $spacer * 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.connect__title {
|
||||||
|
font-size: $font-size-h3;
|
||||||
|
margin-bottom: $spacer / 2;
|
||||||
|
}
|
||||||
|
@ -1 +1,11 @@
|
|||||||
@import 'variables';
|
@import 'variables';
|
||||||
|
|
||||||
|
.page--styleguide {
|
||||||
|
.logo {
|
||||||
|
margin-bottom: $spacer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo--white {
|
||||||
|
background: $brand-03;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -23,11 +23,27 @@ css: page-front
|
|||||||
<section class="section section--intro">
|
<section class="section section--intro">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<header class="section__header">
|
<header class="section__header">
|
||||||
<h1 class="section__title">{{ content.intro.title }}</h1>
|
<div class="grid grid--full grid-small--half grid-medium--columns grid--center grid--gutters">
|
||||||
<p class="section__description">{{ content.intro.description }}</p>
|
<div class="grid__col grid__col--4">
|
||||||
|
<h1 class="section__title">{{ content.intro.title }}</h1>
|
||||||
|
<p class="section__description">{{ content.intro.description }}</p>
|
||||||
|
</div>
|
||||||
|
<div class="grid__col grid__col--2">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
{{ content.intro.text | markdownify }}
|
<div class="grid grid--full grid-small--columns grid--center grid--gutters">
|
||||||
|
<div class="grid__col grid__col--4">
|
||||||
|
{{ content.intro.text | markdownify }}
|
||||||
|
</div>
|
||||||
|
<div class="grid__col grid__col--2">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<section class="features">
|
<section class="features">
|
||||||
{% for feature in content.intro.features %}
|
{% for feature in content.intro.features %}
|
||||||
@ -51,8 +67,10 @@ css: page-front
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<a class="hero__action button button--primary" href="{{ site.signup.link }}">{{ site.signup.button }}</a>
|
<footer class="actions">
|
||||||
<a href="" class="button button--text">Read IPDB Documentation</a>
|
<a class="hero__action button button--primary" href="{{ site.signup.link }}">{{ site.signup.button }}</a>
|
||||||
|
<a href="" class="button button--text">Read IPDB Documentation</a>
|
||||||
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@ -60,8 +78,15 @@ css: page-front
|
|||||||
<section class="section section--background section--foundation">
|
<section class="section section--background section--foundation">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<header class="section__header">
|
<header class="section__header">
|
||||||
<h1 class="section__title">{{ content.foundation.title }}</h1>
|
<div class="grid grid--full grid-small--half grid-medium--columns grid--center grid--gutters">
|
||||||
<p class="section__description">{{ content.foundation.description }}</p>
|
<div class="grid__col grid__col--4">
|
||||||
|
<h1 class="section__title">{{ content.foundation.title }}</h1>
|
||||||
|
<p class="section__description">{{ content.foundation.description }}</p>
|
||||||
|
</div>
|
||||||
|
<div class="grid__col grid__col--2">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@ -105,17 +130,23 @@ css: page-front
|
|||||||
<p class="section__description">{{ content.connect.description }}</p>
|
<p class="section__description">{{ content.connect.description }}</p>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="connect connect--blog">
|
<div class="grid grid--full grid-small--half grid--gutters">
|
||||||
<h2 class="connect__title">{{ content.connect.blog_title }}</h2>
|
<div class="grid__col">
|
||||||
<a href="https://blog.ipdb.io" class="button button--text">IPDB Blog</a>
|
<div class="connect connect--blog">
|
||||||
|
<h2 class="connect__title">{{ content.connect.blog_title }}</h2>
|
||||||
|
<a href="https://blog.ipdb.io" class="button button--text">IPDB Blog</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid__col">
|
||||||
|
<div class="connect connect--newsletter">
|
||||||
|
<h2 class="connect__title">{{ content.connect.newsletter_title }}</h2>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="connect connect--social">
|
||||||
|
<h2 class="connect__title">{{ content.connect.social_title }}</h2>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="connect connect--newsletter">
|
|
||||||
<h2 class="connect__title">{{ content.connect.newsletter_title }}</h2>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="connect connect--social">
|
|
||||||
<h2 class="connect__title">{{ content.connect.social_title }}</h2>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
@ -12,6 +12,15 @@ narrow: true
|
|||||||
|
|
||||||
# Typography
|
# Typography
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
# Heading 1
|
# Heading 1
|
||||||
|
|
||||||
@ -25,13 +34,6 @@ narrow: true
|
|||||||
|
|
||||||
###### Heading 6
|
###### Heading 6
|
||||||
|
|
||||||
* 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.
|
|
||||||
|
|
||||||
# Logo
|
# Logo
|
||||||
|
|
||||||
@ -104,9 +106,16 @@ Logo can be used with a base class and modifier classes for size & color:
|
|||||||
<label class="form-label" for="comment">Autogrowing textarea</label>
|
<label class="form-label" for="comment">Autogrowing textarea</label>
|
||||||
</div>
|
</div>
|
||||||
<p class="form-group text-dimmed mini">
|
<p class="form-group text-dimmed mini">
|
||||||
Fields marked with an <span class="required">*</span> are required.
|
Fields marked with an <span class="required"></span> are required.
|
||||||
</p>
|
</p>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input class="btn btn-primary" type="submit" value="Submit">
|
<input class="btn btn-primary" type="submit" value="Submit">
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
## 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>
|
||||||
|
Loading…
Reference in New Issue
Block a user