Commit 0ebb91b25e

0ebb91b25e856e101f5729cbb5ffe4871cc984bb

parent: 1053846f95

Unsigned

cmc <hello@cleberg.net> · 2023-05-23 23:55 UTC

add dark mode

Layout: unified · split

ifconfig.php +6 −3
@@ -72,10 +72,13 @@ elseif (isset($query) && (($query=="text") || ($query=="all"))) {
72 } 72 }
73 .small, .small > a { 73 .small, .small > a {
74 font-size: 9pt; 74 font-size: 9pt;
75 color: #777;
76 text-align: center; 75 text-align: center;
77 text-decoration: none; 76 text-decoration: none;
78 } 77 }
78 @media (prefers-color-scheme: dark) {
79 body { background-color: #000; color: #ccc; }
80 a, a:visited { color: #0f0; }
81 }
79 </style> 82 </style>
80 </head> 83 </head>
81 <body> 84 <body>
@@ -106,8 +109,8 @@ elseif (isset($query) && (($query=="text") || ($query=="all"))) {
106 $date = date("Y"); 109 $date = date("Y");
107 echo <<<EOD 110 echo <<<EOD
108 <br> 111 <br>
109 <p class="small">Copyright &copy; {$date} <a href="{$site_owner_url}">{$site_owner_name}</a>.<br/> 112 <p><small>Copyright &copy; {$date} <a href="{$site_owner_url}">{$site_owner_name}</a>.
110 <a target="_blank" rel="noreferrer" href="{$source_repository}">Source Code</a></p> 113 <br><a target="_blank" rel="noreferrer" href="{$source_repository}">Source Code</a></small></p>
111 </body> 114 </body>
112 </html> 115 </html>
113 EOD; 116 EOD;