Skip to content

Commit df208a8

Browse files
Updating samples index
1 parent 6b8b2c8 commit df208a8

File tree

2 files changed

+26
-22
lines changed

2 files changed

+26
-22
lines changed

_includes/android_sample_index.html

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
box-shadow: none;
172172
}
173173

174-
.filetree h3 {
174+
.filetree h2 {
175175
margin: 2em 0 1em 0;
176176
padding-bottom: 0.5em;
177177
color: #24292e;
@@ -180,8 +180,8 @@
180180
border-bottom: 2px solid #e1e4e8;
181181
}
182182

183-
.filetree h3:first-of-type {
184-
margin-top: 0.5em;
183+
.filetree h2:first-of-type {
184+
margin-top: 0;
185185
}
186186

187187
.filetree .file {
@@ -212,11 +212,11 @@
212212
margin-top: 0.6em;
213213
}
214214

215-
.filetree > .file:has(h3) {
215+
.filetree > .file:has(h2) {
216216
margin-top: 2em;
217217
}
218218

219-
.filetree > .file:has(h3):first-child {
219+
.filetree > .file:has(h2):first-child {
220220
margin-top: 0;
221221
}
222222

@@ -390,7 +390,7 @@
390390
}
391391

392392
/* Sample Count Badges */
393-
.filetree h3 .sample-count {
393+
.filetree h2 .sample-count {
394394
font-size: 0.75em;
395395
font-weight: 400;
396396
color: #586069;
@@ -445,6 +445,8 @@
445445
height: 96px;
446446
object-fit: contain;
447447
margin-top: auto;
448+
background-color: #000000;
449+
border-radius: 8px;
448450
}
449451

450452
/* Scenario Subtitle and Description */
@@ -675,7 +677,7 @@
675677

676678
<!-- Download Demo Section -->
677679
<div class="file">
678-
<h3>Download Demo</h3>
680+
<h2>Download Demo</h2>
679681
</div>
680682
<div style="display: flex; gap: 8px; margin: 1em 0 2em 0;">
681683
<a href="https://play.google.com/store/apps/details?id=com.dynamsoft.demo.dynamsoftbarcodereaderdemo" target="_blank">
@@ -688,12 +690,12 @@ <h3>Download Demo</h3>
688690

689691
<!-- Samples Section -->
690692
<div class="file">
691-
<h3>Samples</h3>
693+
<h2>Samples</h2>
692694
</div>
693695

694696
<!-- Develop with Barcode Scanner Component -->
695697
<div class="file">
696-
<h3>Develop with Barcode Scanner Component <span class="sample-count">(12)</span></h3>
698+
<h2>Develop with Barcode Scanner Component</h2>
697699
</div>
698700
<div class="children">
699701
<div class="file">Quick Start</div>
@@ -768,7 +770,7 @@ <h3>Develop with Barcode Scanner Component <span class="sample-count">(12)</span
768770

769771
<!-- Develop with Foundational APIs -->
770772
<div class="file">
771-
<h3>Develop with Foundational APIs</h3>
773+
<h2>Develop with Foundational APIs</h2>
772774
</div>
773775
<div class="children">
774776
<div class="file">
@@ -823,7 +825,7 @@ <h3>Develop with Foundational APIs</h3>
823825

824826
<!-- Other Use Cases for Barcode Scanning -->
825827
<div class="file">
826-
<h3>Other Use Cases for Barcode Scanning</h3>
828+
<h2>Other Use Cases for Barcode Scanning</h2>
827829
</div>
828830
<div class="children">
829831
<div class="file">

_includes/ios_sample_index.html

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
box-shadow: none;
172172
}
173173

174-
.filetree h3 {
174+
.filetree h2 {
175175
margin: 2em 0 1em 0;
176176
padding-bottom: 0.5em;
177177
color: #24292e;
@@ -180,8 +180,8 @@
180180
border-bottom: 2px solid #e1e4e8;
181181
}
182182

183-
.filetree h3:first-of-type {
184-
margin-top: 0.5em;
183+
.filetree h2:first-of-type {
184+
margin-top: 0;
185185
}
186186

187187
.filetree .file {
@@ -212,11 +212,11 @@
212212
margin-top: 0.6em;
213213
}
214214

215-
.filetree > .file:has(h3) {
215+
.filetree > .file:has(h2) {
216216
margin-top: 2em;
217217
}
218218

219-
.filetree > .file:has(h3):first-child {
219+
.filetree > .file:has(h2):first-child {
220220
margin-top: 0;
221221
}
222222

@@ -421,7 +421,7 @@
421421
}
422422

423423
/* Sample Count Badges */
424-
.filetree h3 .sample-count {
424+
.filetree h2 .sample-count {
425425
font-size: 0.75em;
426426
font-weight: 400;
427427
color: #586069;
@@ -476,6 +476,8 @@
476476
height: 96px;
477477
object-fit: contain;
478478
margin-top: auto;
479+
background-color: #000000;
480+
border-radius: 8px;
479481
}
480482

481483
/* Scenario Subtitle and Description */
@@ -706,7 +708,7 @@
706708

707709
<!-- Download Demo Section -->
708710
<div class="file">
709-
<h3>Download Demo</h3>
711+
<h2>Download Demo</h2>
710712
</div>
711713
<div class="featured-container" style="grid-template-columns: 1fr; justify-items: start;">
712714
<a href="https://apps.apple.com/us/app/barcode-scanner-x-dynamsoft/id1120581630" target="_blank" class="featured-box app-store">
@@ -716,12 +718,12 @@ <h3>Download Demo</h3>
716718

717719
<!-- Samples Section -->
718720
<div class="file">
719-
<h3>Samples</h3>
721+
<h2>Samples</h2>
720722
</div>
721723

722724
<!-- Develop with Barcode Scanner Component -->
723725
<div class="file">
724-
<h3>Develop with Barcode Scanner Component</h3>
726+
<h2>Develop with Barcode Scanner Component</h2>
725727
</div>
726728
<div class="children">
727729
<div class="file">Quick Start</div>
@@ -796,7 +798,7 @@ <h3>Develop with Barcode Scanner Component</h3>
796798

797799
<!-- Develop with Foundational APIs -->
798800
<div class="file">
799-
<h3>Develop with Foundational APIs</h3>
801+
<h2>Develop with Foundational APIs</h2>
800802
</div>
801803
<div class="children">
802804
<div class="file">
@@ -851,7 +853,7 @@ <h3>Develop with Foundational APIs</h3>
851853

852854
<!-- Other Use Cases for Barcode Scanning -->
853855
<div class="file">
854-
<h3>Other Use Cases for Barcode Scanning</h3>
856+
<h2>Other Use Cases for Barcode Scanning</h2>
855857
</div>
856858
<div class="children">
857859
<div class="file">

0 commit comments

Comments
 (0)