Add auto dark mode detection

This commit is contained in:
Late Night Defender 2023-08-11 14:34:22 +07:00
parent d3a1a20b3a
commit 19f0c23bb3
6 changed files with 244 additions and 135 deletions

View file

@ -11,7 +11,7 @@
<body>
<div class="header">
<img src="icons/ttt-org.png" alt="TTT Logo" width="64" height="64" style="margin-right: 10px;">
<h1>TechTransThai 🏳️‍⚧️</h1>
<h1 class="logo">TechTransThai 🏳️‍⚧️</h1>
</div>
<div class="grid-container">
@ -206,7 +206,8 @@
<div style="display: flex; margin-left: 0.5cm; align-items: center;">
<p>หมายเลข IP</p>
</div>
<img src="icons/right.svg">
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px" ><path fill="currentColor" d="m 4 0.996094 v 1 c 0 0.296875 0.125 0.558594 0.328125 0.742187 l 5.257813 5.257813 l -5.257813 5.261718 l -0.035156 0.03125 c -0.179688 0.183594 -0.292969 0.433594 -0.292969 0.707032 v 1 h 1 c 0.277344 0 0.527344 -0.109375 0.707031 -0.292969 l 0.035157 -0.03125 l 6.671874 -6.675781 l -6.671874 -6.671875 c -0.183594 -0.199219 -0.449219 -0.328125 -0.742188 -0.328125 z m 0 0"/></svg>
</a>
<div class="separator"></div>
@ -215,7 +216,7 @@
<div style="display: flex; margin-left: 0.5cm; align-items: center;">
<p>ข้อมูลเบราว์เซอร์</p>
</div>
<img src="icons/right.svg">
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px" ><path fill="currentColor" d="m 4 0.996094 v 1 c 0 0.296875 0.125 0.558594 0.328125 0.742187 l 5.257813 5.257813 l -5.257813 5.261718 l -0.035156 0.03125 c -0.179688 0.183594 -0.292969 0.433594 -0.292969 0.707032 v 1 h 1 c 0.277344 0 0.527344 -0.109375 0.707031 -0.292969 l 0.035157 -0.03125 l 6.671874 -6.675781 l -6.671874 -6.671875 c -0.183594 -0.199219 -0.449219 -0.328125 -0.742188 -0.328125 z m 0 0"/></svg>
</a>
</div>
@ -224,7 +225,7 @@
<div class="list">
<div class="inner-grid">
<div>
<img src="icons/latenightdef.png" alt="latenightdef" width="80" height="80" style="margin-left: 0.3cm; border-radius: 40px; box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.13);">
<img src="icons/latenightdef.png" alt="latenightdef" width="80" height="80" style="margin-left: 0.3cm; border-radius: 40px">
</div>
<div>
<div style="display: flex; margin-bottom: -5%; align-items: center;">