From bb395f92f57db8a3169aedcade765b9d300727f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ba=CC=81lint=20Szekeres?= Date: Sun, 7 Jul 2019 21:16:44 +0200 Subject: [PATCH] removed ads --- public/ads.txt | 1 - public/index.html | 50 +++++++++--------------- resources/scss/_ads.scss | 35 ----------------- resources/scss/_sidebar.scss | 73 +++++++++++++++++++++++++++--------- resources/scss/app.scss | 1 - 5 files changed, 72 insertions(+), 88 deletions(-) delete mode 100644 public/ads.txt delete mode 100644 resources/scss/_ads.scss diff --git a/public/ads.txt b/public/ads.txt deleted file mode 100644 index 77f6515..0000000 --- a/public/ads.txt +++ /dev/null @@ -1 +0,0 @@ -google.com, pub-6543577519725877, DIRECT, f08c47fec0942fa0 diff --git a/public/index.html b/public/index.html index eea6055..a0a5d55 100644 --- a/public/index.html +++ b/public/index.html @@ -29,13 +29,6 @@ -
- - -
-
Sites:
@@ -129,7 +122,7 @@
-
+
-
+
@@ -1160,23 +1156,10 @@
-
-
▾ advertisement ▾
- - -
Lovingly made by Bálint Szekeres
- + diff --git a/resources/scss/_ads.scss b/resources/scss/_ads.scss deleted file mode 100644 index 1927c88..0000000 --- a/resources/scss/_ads.scss +++ /dev/null @@ -1,35 +0,0 @@ -.adsbygoogle-container { - overflow: hidden; - - .adsbygoogle { - display: block; - position: relative; - background-color: #f8f8f8; - border: 1px solid #dee2e6; - - &[data-adsbygoogle-status="done"] { - background-color: transparent; - border: 0; - } - - aside.sidebar & { - height: 300px; - max-height: 300px; - } - - footer & { - height: 200px; - max-height: 200px; - } - } - - footer & { - margin-bottom: 1rem; - } - - .note { - text-align: center; - color: #444; - font-size: 0.6rem; - } -} diff --git a/resources/scss/_sidebar.scss b/resources/scss/_sidebar.scss index ffbf032..3f9ba7c 100644 --- a/resources/scss/_sidebar.scss +++ b/resources/scss/_sidebar.scss @@ -2,32 +2,69 @@ aside.sidebar { margin-top: 1rem; @include media-breakpoint-up(lg) { - margin-top: 0; + margin-top: 30px; } - @include media-breakpoint-up(xl) { - margin-top: 15px; - } + .github { + border: 1px solid #dee2e6; + border-radius: 0.25rem; + padding: 10px; + + .github-cover { + margin-bottom: 0.5rem; - .buttons { - text-align: center; - margin-top: 1.5rem; + .github-link { + text-align: center; + font-size: 1rem; + margin-bottom: 0.5rem; - .btn { - &.btn-download { - margin-bottom: 0.25rem; + a { + color: #212529; - img { - vertical-align: -2px; - margin-right: 0.1rem; - height: 1rem; + &.github-logo-link { + text-decoration: none; + + &:hover svg g { + fill: #000; + } + } + } + + small { + font-size: 90%; + } + + svg { + height: 70px; + margin-bottom: 0.75rem; + + g { + fill: #212529; + } } } + } + + .github-buttons { + @extend .clearfix; + font-size: 0; + text-align: center; + + > span { + display: inline-block; + margin: 0 0.25rem 0.25rem; + + @include media-breakpoint-up(xl) { + display: block; + margin: 0; + + &:first-child { + float: left; + } - &.btn-reset { - img { - vertical-align: -3px; - height: 0.9rem; + &:last-child { + float: right; + } } } } diff --git a/resources/scss/app.scss b/resources/scss/app.scss index 2f43b8a..5c8c3d0 100644 --- a/resources/scss/app.scss +++ b/resources/scss/app.scss @@ -15,5 +15,4 @@ @import 'footer'; @import 'utilities'; -@import 'ads';