From 96721e7658ad83731a8cfe68d1351f31d69defb0 Mon Sep 17 00:00:00 2001 From: v1s1t0r1sh3r3 Date: Tue, 23 Jul 2024 13:08:29 +0200 Subject: [PATCH] Make Evil Twin captive portal text to be centered from top to bottom. Better view for standard browsers on pcs --- airgeddon.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/airgeddon.sh b/airgeddon.sh index 76c5e5f36..037064465 100755 --- a/airgeddon.sh +++ b/airgeddon.sh @@ -11633,6 +11633,10 @@ function set_captive_portal_page() { echo -e "@media screen and (min-width: 1000px) {" echo -e "\t.content {" echo -e "\t\twidth: 50%;" + echo -e "\t\tposition: absolute;" + echo -e "\t\ttop: 50%;" + echo -e "\t\tleft: 50%;" + echo -e "\t\ttransform: translate(-50%, -50%);" echo -e "\t}" echo -e "}\n" } >> "${tmpdir}${webdir}${cssfile}"