Skip to content

Commit

Permalink
fix(www):
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed Dec 19, 2024
1 parent 8de3d7a commit 9efbb43
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p align="center"><a href="https://mizu.sh"><img src="https://mizu.sh/logo.png" width="400"></a></p>
<p align="center"><a href="https://mizu.sh"><img src="https://mizu.sh/minu.png" width="400"></a></p>

<p align="center">
<a href="https://mizu.sh">
Expand Down
2 changes: 1 addition & 1 deletion www/html/mizu/logo.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<section class="hero centered">
<img class="logo" src="/logo.png" alt="mizu.js" />
<div class="catchphrase">
Supercharges your HTML with ease.
Supercharge your HTML!
</div>
</section>
16 changes: 10 additions & 6 deletions www/static/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -337,16 +337,10 @@ main :is(h1, h2, h3, h4, h5, h6, .hx)[id]::before {

/* Demo */
.demo {
transition: opacity var(--tr-duration);
opacity: 1;
background: transparent;
margin: 2rem 0 2rem;
}

.demo.loading {
opacity: 0;
}

.demo .dock {
display: flex;
justify-content: center;
Expand Down Expand Up @@ -389,6 +383,16 @@ main :is(h1, h2, h3, h4, h5, h6, .hx)[id]::before {
height: 600px;
}

.demo .dock, .demo [data-demo-tab] {
transition: opacity var(--tr-duration);
opacity: 1;
}

.demo.loading .dock, .demo.loading [data-demo-tab] {
opacity: 0.25;
cursor: wait !important;
}

/* App mockups. */
.mockup {
position: absolute;
Expand Down

0 comments on commit 9efbb43

Please sign in to comment.