From 649982237faac560a483bc47d427bafd79f44e2d Mon Sep 17 00:00:00 2001 From: Jonas Leder <git@jonasled.de> Date: Sun, 28 Mar 2021 00:24:45 +0100 Subject: [PATCH] remove inline css --- public/index.php | 2 +- scss/_home.scss | 5 +++++ scss/style.scss | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 scss/_home.scss diff --git a/public/index.php b/public/index.php index 6f87a0b..2bfec70 100644 --- a/public/index.php +++ b/public/index.php @@ -51,7 +51,7 @@ getHeader("Jonas Leder", "home"); <div id="banner"> <h2>Banner</h2> <a target="_blank" href="https://ipv6.he.net"><img src="<?php echo($heIMG); ?>" data-noPreview="true"></a> - <a target="_blank" href="https://www.abuseipdb.com/user/45130"><img style="width: 391px;background: #35c246 linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.3) 50%, rgba(0,0,0,.2) 51%, rgba(0,0,0,0));padding: 5px;" src="<?php echo($abuseIPIMG); ?>" style="width: 401px;" data-noPreview="true"></a> + <a target="_blank" href="https://www.abuseipdb.com/user/45130"><img class="abuseIpImg" src="<?php echo($abuseIPIMG); ?>" style="width: 401px;" data-noPreview="true"></a> </div> <br> <br> diff --git a/scss/_home.scss b/scss/_home.scss new file mode 100644 index 0000000..655e017 --- /dev/null +++ b/scss/_home.scss @@ -0,0 +1,5 @@ +.abuseIpImg{ + width: 391px; + background: #35c246 linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.3) 50%, rgba(0,0,0,.2) 51%, rgba(0,0,0,0)); + padding: 5px; +} \ No newline at end of file diff --git a/scss/style.scss b/scss/style.scss index 7101dcd..4f6d62c 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -14,4 +14,6 @@ @import "mobile"; @import "menuMobile"; @import "mobileSmall"; +@import "home"; + @import "../node_modules/basiclightbox/src/styles/main"; \ No newline at end of file -- GitLab