Skip to content

Commit 258f284

Browse files
authored
Style changes (#50)
- Changes GUI note style - Fixes unintended excessive padding to cards - Adds a flex grow to recommended pill
1 parent 95d34c3 commit 258f284

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

assets/scss/_bootstrap-variables.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ $container-max-widths: (
1313
xl: 1140px,
1414
);
1515

16-
$grid-gutter-width: 30px;
17-
1816
$spacer: 1rem;
1917
$spacers: ();
2018
$spacers: map-merge(

assets/scss/style.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,12 @@ body:after {
122122
border-bottom: none !important;
123123
}
124124

125+
@each $name, $value in $grays {
126+
.bg-#{$name} {
127+
background-color: $value;
128+
}
129+
}
130+
125131
:root {
126132
font-family: Inter, sans-serif;
127133
font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */

layouts/_default/download.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<div class="col-12">
77
<h1 class="title">{{.Title}}</h1>
88
<div class="content">
9-
<blockquote>
10-
<p><b>Note:</b> Stockfish is a <a target="_blank" href="https://official-stockfish.github.io/docs/stockfish-wiki/Stockfish-FAQ.html#executing-stockfish-opens-a-cmd-window">command line program</a>. You may want to use it in your own <a target="_blank" href="https://official-stockfish.github.io/docs/stockfish-wiki/Download-and-usage.html#download-a-chess-gui">chess GUI</a>.</p>
9+
<blockquote class="bg-800 py-1 rounded">
10+
<p class="mb-0"><b>Note:</b> Stockfish is a <a target="_blank" href="https://official-stockfish.github.io/docs/stockfish-wiki/Stockfish-FAQ.html#executing-stockfish-opens-a-cmd-window">command line program</a>. You may want to use it in your own <a target="_blank" href="https://official-stockfish.github.io/docs/stockfish-wiki/Download-and-usage.html#download-a-chess-gui">chess GUI</a>.</p>
1111
</blockquote>
1212

13-
<div id="download-cards" class="row">
13+
<div id="download-cards" class="row mx-n1">
1414
{{ $downloads := .Site.Data.downloads }}
1515

1616
<!-- Windows -->

layouts/partials/download-card.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<div class="card h-100 overflow-hidden rounded-lg border-dark">
1111
<div class="card-header d-flex align-items-center">
1212
<i class="{{ $icon }} mr-1"></i>
13-
<h2 class="fs-5 my-0">{{ $title }}{{ with $subtitle }} <small class="text-muted">{{ . }}</small>{{ end }}</h2>
13+
<h2 class="fs-5 my-0 flex-grow-1 flex-md-grow-0">{{ $title }}{{ with $subtitle }} <small class="text-muted">{{ . }}</small>{{ end }}</h2>
1414
</div>
1515
{{ if $osData }}
1616
<div class="card-body py-0">

0 commit comments

Comments
 (0)