Skip to content

Commit

Permalink
Adding a simple customization to the main documentation page | Fixes l…
Browse files Browse the repository at this point in the history
  • Loading branch information
matuzalemsteles committed Mar 15, 2018
1 parent 4030286 commit f9335e0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/clayui.com/src/partials/ElectricAPI.soy
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,11 @@
{param project: $project /}
{/call}
{else}
<div class="row">
<div class="col-xs-16">
<h1 class="docs-home-top-title">{$project.ref}</h1>
<div class="docs-home-top">
<div class="row">
<div class="col-md-12">
<h1 class="docs-home-top-title">{$project.ref}</h1>
</div>
</div>
</div>
{/if}
Expand Down
19 changes: 19 additions & 0 deletions packages/clayui.com/src/styles/_api.scss
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,22 @@
background-color: #f3f3f3;
color: #6B6C7E;
}

.docs-home-top {
padding: 60px 0 72px;
}

@media (min-width: 960px) {
.docs-home-top {
padding: 96px 0 144px;
}
}

.docs-home-top-title {
font-weight: 700;
color: rgba(14, 20, 26, 0.8);
font-size: 3.42676rem;
line-height: calc(3rem * 1.5);
text-align: center;
margin: 0 0 12px;
}

0 comments on commit f9335e0

Please sign in to comment.