Skip to content

Commit 68a883a

Browse files
committed
adjusted styles
1 parent df2a49a commit 68a883a

File tree

8 files changed

+35
-19
lines changed

8 files changed

+35
-19
lines changed
223 KB
Binary file not shown.

src/partials/footer.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ <h5>Resources</h5>
2222
<h5>Links</h5>
2323
<ul class="list-unstyled text-small">
2424
<li><a class="link-secondary text-decoration-none" href="https://github.com/webosbrew/">
25-
<i class="bi bi-github me-2"></i>webosbrew on GitHub</a></li>
25+
<i class="bi bi-github me-2"></i>webosbrew</a></li>
2626
<li><a class="link-secondary text-decoration-none" href="https://github.com/OpenLGTV">
27-
<i class="bi bi-github me-2"></i>OpenLGTV on GitHub</a></li>
27+
<i class="bi bi-github me-2"></i>OpenLGTV</a></li>
2828
<li><a class="link-secondary text-decoration-none" href="https://discord.gg/xWqRVEm">
29-
<i class="bi bi-discord me-2"></i>openlgtv</a>
29+
<i class="bi bi-discord me-2"></i>Discord</a>
3030
</li>
3131
</ul>
3232
</div>

src/partials/rooted-vs-devmode.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h2>Rooted vs Dev Mode</h2>
2828
<tr>
2929
<th>No need for renewing developer mode per 1000 hours</th>
3030
<td></td>
31-
<td></td>
31+
<td><a class="text-decoration-none" href="#dev-timer-renew">ℹ️<sup>1</sup></a></td>
3232
</tr>
3333
<tr>
3434
<th>Ambient light setup with <a href="https://github.com/TBSniller/piccap">PicCap</a>/<a
@@ -47,6 +47,17 @@ <h2>Rooted vs Dev Mode</h2>
4747
<td></td>
4848
<td></td>
4949
</tr>
50+
<tr>
51+
<th>Install latest firmware updates</th>
52+
<td><a class="text-decoration-none" href="#root-fw-update">ℹ️<sup>2</sup></a></td>
53+
<td></td>
54+
</tr>
5055
</tbody>
5156
</table>
57+
<p>
58+
<sup id="dev-timer-renew">1</sup> Renew steps can be done automatically.
59+
<br>
60+
<sup id="root-fw-update">2</sup> Practically, rooted devices can install latest firmware updates.
61+
Theoretically, root can be persistent across updates. But it's not guaranteed.
62+
</p>
5263
</div>

src/scss/page/_sidebar.scss

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@
66
@import "bootstrap/scss/utilities";
77

88
aside.sidebar {
9-
@extend .mt-lg-3;
9+
@extend .py-lg-3;
1010
@extend .ms-lg-3;
1111

1212
width: min(300px, 80vw);
1313

1414
.sidebar-content > ul, ol {
1515

16+
@extend .ms-lg-n4;
17+
1618
> li {
1719
@extend .fw-semibold;
1820

@@ -28,8 +30,8 @@ aside.sidebar {
2830
list-style: none;
2931

3032
i.bi {
31-
margin-left: -1.5em;
32-
margin-right: .5em;
33+
@extend .ms-n4;
34+
@extend .me-2;
3335
@extend .text-primary-emphasis;
3436
}
3537

@@ -43,8 +45,8 @@ aside.sidebar {
4345
display: block;
4446
max-width: fit-content;
4547
text-decoration: none;
46-
padding: 0 calc(#{$spacer} * .5);
47-
margin: 0 calc(-#{$spacer} * .5);
48+
@extend .px-2;
49+
@extend .mx-n2;
4850

4951
@extend .text-body;
5052
@extend .rounded;
@@ -76,11 +78,7 @@ aside.sidebar {
7678
min-width: unset;
7779

7880
position: sticky;
79-
top: calc(1.5rem + var(--navbar-height));
80-
81-
.sidebar-content > ul, ol {
82-
margin-left: -1.5em;
83-
}
81+
top: var(--navbar-height);
8482
}
8583

8684
@include media-breakpoint-up(xl) {

src/scss/styles.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@import "bootstrap/scss/functions";
33
// Customize some defaults
44
$primary: #cf0652;
5+
$enable-negative-margins: true;
56

67
@import "bootstrap/scss/variables";
78
@import "bootstrap/scss/variables-dark";

src/views/index/index.hbs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@
3333
<img src="/img/screenshots/kodi-recently-added.jpg?as=webp" class="d-block w-100" alt="Kodi">
3434
</div>
3535
<div class="carousel-item" data-item-id="amblight">
36-
<video src="/img/screenshots/borealis.mp4" class="d-block w-100 amblight-src" muted loop
37-
preload="auto"></video>
36+
<video class="d-block w-100 amblight-src" muted loop preload="auto">
37+
<source src="/img/screenshots/borealis_av1.webm" type="video/webm; codecs=av01.0.05M.08"/>
38+
<source src="/img/screenshots/borealis.mp4" type="video/mp4"/>
39+
</video>
3840
</div>
3941
</div>
4042
</div>
@@ -215,7 +217,7 @@
215217
<h2 class="text-center">Get Started</h2>
216218
<div class="row g-3 mt-5">
217219
<div class="col-md-6">
218-
<div class="position-relative rounded-4 p-4 bg-hbchannel">
220+
<div class="position-relative h-100 rounded-4 p-4 bg-hbchannel">
219221
<img src="/img/icon32.svg?inline" width="48" height="48"
220222
class="position-absolute bottom-0 end-0 me-2 mb-2 opacity-75" alt="webOS Homebrew"/>
221223
<h5 class="card-title text-white">Root your TV</h5>
@@ -230,7 +232,7 @@
230232
</div>
231233
</div>
232234
<div class="col-md-6">
233-
<div class="position-relative rounded-4 p-4 bg-devmode">
235+
<div class="position-relative h-100 rounded-4 p-4 bg-devmode">
234236
<img src="/img/devmode32.svg" width="48" height="48"
235237
class="position-absolute bottom-0 end-0 me-2 mb-2 opacity-75" alt="Dev Mode"/>
236238
<h5 class="card-title text-white">Install via Dev Mode</h5>

src/views/index/index.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646
object-fit: fill;
4747
filter: blur(30px) saturate(300%) brightness(200%);
4848

49+
// This partially fixes the clipping issue on Safari
50+
backface-visibility: hidden;
51+
transform: translate3d(0, 0, 0);
52+
4953
opacity: 0;
5054
transition: opacity 0.5s ease-in-out;
5155

webpack.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ export default function (env, argv) {
226226
},
227227
// videos
228228
{
229-
test: /\.(mp4)$/i,
229+
test: /\.(mp4|avif|webm)$/i,
230230
type: 'asset/resource',
231231
generator: {
232232
filename: 'video/[name].[hash:8][ext]',

0 commit comments

Comments
 (0)