invert more pictures and iprove dark theme

This commit is contained in:
aghArdeshir 2023-08-02 22:20:52 +02:00 committed by Alexandre Prokoudine
parent 9b6e7bd011
commit 96b8f3ccef
9 changed files with 68 additions and 10 deletions

View File

@ -331,7 +331,10 @@ The surface can be broken into 8 groups of controls:
</p>
<figure>
<img alt="X-Touch Mini MC mode layout" src="/images/xtouch-mini-mcp.png">
<img
alt="X-Touch Mini MC mode layout"
src="/images/xtouch-mini-mcp.png"
class="invert-in-dark">
<figcaption>
X-Touch Mini MC mode layout
</figcaption>

View File

@ -11,7 +11,11 @@
</p>
<figure>
<img width="300px" src="/images/aux_routing.png" alt="Aux signal routing">
<img
width="300px"
src="/images/aux_routing.png"
alt="Aux signal routing"
class="invert-in-dark">
<figcaption>
Aux signal routing
</figcaption>
@ -24,7 +28,11 @@
</p>
<figure>
<img width="300px" src="/images/subgroup_routes.png" alt="sub group signal routing">
<img
width="300px"
src="/images/subgroup_routes.png"
alt="sub group signal routing"
class="invert-in-dark">
<figcaption>
Sub group signal routing
</figcaption>

View File

@ -5,7 +5,11 @@
</p>
<figure>
<img style="width:75%;" src="/images/countourdesign-shuttle.svg" alt="ContourDesign ShuttlePRO v2 and ShuttleXpress">
<img
style="width:75%;"
src="/images/countourdesign-shuttle.svg"
alt="ContourDesign ShuttlePRO v2 and ShuttleXpress"
class="invert-in-dark">
<figcaption>
Contour Design ShuttlePRO v1 (left), ShuttlePRO v2 (middle), and
ShuttleXpress (right)

View File

@ -5,7 +5,11 @@
</p>
<figure>
<img style="width:75%;" src="/images/novation-launch-control-xl.svg" alt="Novation Launch Control XL">
<img
style="width:75%;"
src="/images/novation-launch-control-xl.svg"
alt="Novation Launch Control XL"
class="invert-in-dark">
<figcaption>
Novation Launch Control XL
</figcaption>

View File

@ -4,7 +4,11 @@
</p>
<figure>
<img style="width:75%;" src="/images/steinberg-cc121.svg" alt="Steinberg CC121">
<img
style="width:75%;"
src="/images/steinberg-cc121.svg"
alt="Steinberg CC121"
class="invert-in-dark">
<figcaption>
Steinberg CC121
</figcaption>

View File

@ -7,7 +7,11 @@
</p>
<figure>
<img style="width:75%;" src="/images/tascam-us-2400-device.svg" alt="TASCAM US-2400">
<img
style="width:75%;"
src="/images/tascam-us-2400-device.svg"
alt="TASCAM US-2400"
class="invert-in-dark">
<figcaption>
TASCAM US-2400
</figcaption>

View File

@ -4,7 +4,10 @@
<h3>External Monitoring</h3>
<figure class="right">
<img src="/images/external-monitoring.png" alt="External monitoring">
<img
src="/images/external-monitoring.png"
alt="External monitoring"
class="invert-in-dark">
<figcaption class="center">
External monitoring
</figcaption>
@ -20,7 +23,10 @@
<h3 class="clear">Audio driver Hardware Monitoring</h3>
<figure class="right">
<img src="/images/jack-monitoring.png" alt="Hardware Monitoring">
<img
src="/images/jack-monitoring.png"
alt="Hardware Monitoring"
class="invert-in-dark">
<figcaption class="center">
Hardware Monitoring
</figcaption>
@ -38,7 +44,10 @@
<h3 class="clear">Software Monitoring</h3>
<figure class="right">
<img src="/images/ardour-monitoring.png" alt="Software Monitoring">
<img
src="/images/ardour-monitoring.png"
alt="Software Monitoring"
class="invert-in-dark">
<figcaption class="center">
Software Monitoring
</figcaption>

View File

@ -98,6 +98,17 @@
if (localStorage.getItem('dark-theme') === 'true') {
changetheme();
}
// go to next page and previous page using arrow keys
window.addEventListener('keydown', e => {
if (e.target.tagName !== 'INPUT') {
if (e.key === 'ArrowRight') {
document.querySelector('.next a').click()
} else if (e.key === 'ArrowLeft') {
document.querySelector('.previous a').click()
}
}
})
</script>
</body>

View File

@ -309,6 +309,7 @@ p.subsection {
}
/* dark theme */
body.dark-theme,
body.dark-theme > .container-fluid {
background-color: #222222;
color: #f7f1ff;
@ -425,3 +426,13 @@ body.dark-theme #tree .active > a {
body.dark-theme .invert-in-dark {
filter: invert(1);
}
body.dark-theme pre {
background: #1f1f1f;
color: #9cdcfe;
}
body.dark-theme .well {
background: darkgrey;
color: black;
}