feat: made mobile screenshots appear on the mobile how-do-i page
This commit is contained in:
parent
5fa8ce75eb
commit
918b28c919
2 changed files with 12 additions and 8 deletions
|
@ -12,10 +12,11 @@ import "../styles/pages/how-do-i.scss";
|
|||
command.<br />Example:
|
||||
</p>
|
||||
<div class="imgwrapper">
|
||||
<img
|
||||
<img class="desktop"
|
||||
src="https://static.moonleay.net/img/lilJuddWeb/howdoi/featureexample.png"
|
||||
alt="A screenshot of the example in Discord."/>
|
||||
<p><code>/feature feature:Time Planning Feature set:Enable channel:#ich-kann-heute</code></p>
|
||||
<img class="mobile" src="https://static.moonleay.net/img/lilJuddWeb/howdoi/featureexamplemobile.png" alt="A screenshot of the example in Discord."/>
|
||||
<!--<p><code>/feature feature:Time Planning Feature set:Enable channel:#ich-kann-heute</code></p>-->
|
||||
</div>
|
||||
</section>
|
||||
<section class="section">
|
||||
|
@ -25,11 +26,12 @@ import "../styles/pages/how-do-i.scss";
|
|||
/>Example:
|
||||
</p>
|
||||
<div class="imgwrapper">
|
||||
<img
|
||||
<img class="desktop"
|
||||
src="https://static.moonleay.net/img/lilJuddWeb/howdoi/matchexample.png"
|
||||
alt="A screenshot of the example in Discord."
|
||||
/>
|
||||
<p><code>/match match:Ladder Match timestamp:24.12.2069 04:20 opponent:Forbidden</code></p>
|
||||
<img class="mobile" src="https://static.moonleay.net/img/lilJuddWeb/howdoi/matchexamplemobile.png" alt="A screenshot of the example in Discord."/>
|
||||
<!--<p><code>/match match:Ladder Match timestamp:24.12.2069 04:20 opponent:Forbidden</code></p>-->
|
||||
</div>
|
||||
</section>
|
||||
<section class="footernotesection">
|
||||
|
|
|
@ -18,21 +18,23 @@
|
|||
margin: auto;
|
||||
text-align: center;
|
||||
|
||||
img {
|
||||
.desktop {
|
||||
display: none;
|
||||
}
|
||||
|
||||
p, code {
|
||||
.mobile {
|
||||
display: flex;
|
||||
border-radius: 5px;
|
||||
max-width: 100%;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
img {
|
||||
.desktop {
|
||||
display: flex;
|
||||
border-radius: 5px;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
p, code {
|
||||
.mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue