Skip to content
Permalink
Browse files

doc: Resize TTI/TTN logo on TTS index page

  • Loading branch information
SebastienCHEVALIER committed Dec 12, 2019
1 parent d886009 commit 5d1662ae2829cac5eb4eef88f11407e2e7e80f03
Showing with 9 additions and 3 deletions.
  1. +2 −2 doc/content/_index.html
  2. +7 −1 doc/themes/the-things-stack/assets/css/theme.scss
@@ -96,7 +96,7 @@ <h1 class="title is-size-2">Use {{% tts %}} with:</h1>
<div class="card-content">
<div class="columns is-mobile">
<div class="column is-one-third">
<img src="{{< logo-url "TTN" >}}" alt="The Things Network">
<img class="image is-96x96 has-image-centered" src="{{< logo-url "TTN" >}}" alt="The Things Network">
</div>
<div class="column">
<div class="content">
@@ -117,7 +117,7 @@ <h1 class="title is-size-2">Use {{% tts %}} with:</h1>
<div class="card-content">
<div class="columns is-mobile">
<div class="column is-one-third">
<img src="{{< logo-url "TTI" >}}" alt="The Things Industries">
<img class="image is-96x96 has-image-centered" src="{{< logo-url "TTI" >}}" alt="The Things Industries">
</div>
<div class="column">
<div class="content">
@@ -47,6 +47,7 @@ $navbar-item-active-background-color: $white-bis;
$navbar-height: 4rem;

$card-shadow: 0 10px 20px 0 rgba($black, 0.1);
$card-content-padding:2rem;

$border: $white-ter;
$table-head-cell-border-width: 1px 1px 1px;
@@ -69,7 +70,7 @@ $table-cell-padding: 1.2em 0.75em;
@import "bulma/sass/elements/container.sass";
@import "bulma/sass/elements/content.sass";
@import "bulma/sass/elements/icon.sass";
// @import "bulma/sass/elements/image.sass";
@import "bulma/sass/elements/image.sass";
@import "bulma/sass/elements/notification.sass";
// @import "bulma/sass/elements/progress.sass";
@import "bulma/sass/elements/table.sass";
@@ -148,6 +149,11 @@ $table-cell-padding: 1.2em 0.75em;
margin-bottom: 3rem;
}

.has-image-centered {
margin-left: auto;
margin-right: auto;
}

.columns.has-same-height .column {
display: flex;
}

0 comments on commit 5d1662a

Please sign in to comment.
You can’t perform that action at this time.