1
0
Fork 0
mirror of https://github.com/mat-1/matdoesdev.git synced 2025-08-02 14:46:04 +00:00

fix noscript styling

This commit is contained in:
mat 2024-03-19 17:58:40 -05:00
parent 577a94cca4
commit 6064c585fc

View file

@ -107,6 +107,7 @@
<tr>
<td valign="top" class="left-sidebar-container" width="200">
<table class="left-sidebar" width="210" cellspacing="0">
<tbody>
<tr>
<td class="website-status-container">
<h3>Website status</h3>
@ -120,8 +121,8 @@
</div>
</td>
</tr>
<tr class="spacing"></tr>
<tr>
<tr class="spacing hidden-if-noscript"></tr>
<tr class="hidden-if-noscript">
<td class="current-time-cst-container">
<h3>Current time for me</h3>
<div class="current-time-cst-value">{currentTimeInCst}</div>
@ -151,9 +152,9 @@
<div class="time-ago">({hoursSinceLastComplaint} hours ago)</div>
</td>
</tr>
<tr class="spacing"></tr>
<tr class="spacing hidden-if-noscript"></tr>
<tr>
<td class="neko-status-container">
<td class="neko-status-container hidden-if-noscript">
<div class="neko-status-title-container">
<h3>Neko status</h3>
<div
@ -199,6 +200,7 @@
</div>
</td>
</tr>
</tbody>
</table>
</td>
<td valign="top">
@ -342,6 +344,14 @@
<tr><td><p class="last-updated">Page last updated: March 19, 2024</p></td></tr>
</table>
<noscript>
<style>
.hidden-if-noscript {
display: none;
}
</style>
</noscript>
<style>
.right-sidebar {
text-align: right;
@ -407,7 +417,7 @@
.left-sidebar-container {
width: 210px;
}
.left-sidebar > tr > td {
.left-sidebar > tbody > tr > td {
background-color: #000;
border: 2px solid #222;
border-radius: 8px;