Update screenshots, clean tabs shortcode

This commit is contained in:
Alex Shpak 2019-05-24 14:48:17 +02:00
parent c70bef77a5
commit edf5b466e1
7 changed files with 7 additions and 20 deletions

View File

@ -60,6 +60,9 @@
// {{< columns >}}
.book-columns > {
div {
max-width: 50%;
}
div + div {
margin-left: $padding-16 * 2;
}

View File

@ -22,6 +22,7 @@ miseram excita suadent es pecudes iam. Concilio _quam_ velatus posset ait quod
nunc! Fragosis suae dextra geruntur functus vulgata.
{{< /columns >}}
## Tempora nisi nunc
Lorem **markdownum** emicat gestu. Cannis sol pressit ducta. **Est** Idaei,

View File

@ -1 +1 @@
{"Target":"book.min.551bfe022298d63e123dd11df19813a29be5c9309533e93956be85773f07d170.css","MediaType":"text/css","Data":{"Integrity":"sha256-VRv+AiKY1j4SPdEd8ZgTopvlyTCVM+k5Vr6Fdz8H0XA="}}
{"Target":"book.min.1009ab9f4daf8375016f8f76fc100311154512dbc6cc21faa1282132e83dad16.css","MediaType":"text/css","Data":{"Integrity":"sha256-EAmrn02vg3UBb492/BADERVFEtvGzCH6oSghMug9rRY="}}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 137 KiB

After

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 KiB

After

Width:  |  Height:  |  Size: 188 KiB

View File

@ -2,24 +2,6 @@
{{ $id := .Get 0 }}
{{ $group := printf "tabs-%s" $id }}
<!--
<div class="book-tabs">
<div class="book-tabs-head">
{{ range $index, $tab := .Scratch.Get $group }}
<label for="{{ printf "%s-%d" $group $index }}">
{{ $tab.Name }}
</label>
{{ end }}
</div>
{{ range $index, $tab := .Scratch.Get $group }}
<input type="radio" name="{{ $group }}" style="display: none;" id="{{ printf "%s-%d" $group $index }}" {{ if not $index }}checked="checked"{{ end }} />
<div class="book-tabs-content book-tabs-{{ $index }} markdown-inner">
{{ .Content | markdownify }}
</div>
{{ end }}
</div>
-->
<div class="book-tabs">
{{ range $index, $tab := .Scratch.Get $group }}
<input type="radio" name="{{ $group }}" style="display: none;" id="{{ printf "%s-%d" $group $index }}" {{ if not $index }}checked="checked"{{ end }} />
@ -31,3 +13,4 @@
</div>
{{ end }}
</div>
<p></p>