krz/ifconfig.php

A private ifconfig service.

clone: git clone https://gitbay.org/krz/ifconfig.php.git

7bb4b04dac6d099b3c1abec80db7e5c2e6a0c914

unsigned

author: Christian Cleberg <hello@cleberg.net> · 2023-05-23T23:59:35Z

minify css
 ifconfig.php | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/ifconfig.php b/ifconfig.php
index 8f836d5..b70b72f 100644
--- a/ifconfig.php
+++ b/ifconfig.php
@@ -66,18 +66,12 @@ elseif (isset($query) && (($query=="text") || ($query=="all"))) {
 		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
 		<style>
 			pre { padding: 0.5rem; border: 1px solid black; }
-			p,a {
-				font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
-				line-height: 1em;
-			}
-			small, small > a {
-				font-size: 9pt;
-				text-align: center;
-				text-decoration: none;
-			}
+			p,a { font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace; }
+			small, small > a { font-size: 9pt; }
 			@media (prefers-color-scheme: dark) {
 				body { background-color: #000; color: #ccc; }
 				a, a:visited { color: #0f0; }
+				pre { border-color: #ccc; }
 			}
 		</style>
 	</head>