diff --git a/index.php b/index.php index a4267a0..33f82cb 100644 --- a/index.php +++ b/index.php @@ -2,13 +2,14 @@ Binternet -
-

Binternet

-
-




- - -
-
+
+

Binternet

+

A privacy respecting Pinterest image search

+
+
+ + +
+
diff --git a/misc/footer.php b/misc/footer.php index eb52044..c3b0b88 100644 --- a/misc/footer.php +++ b/misc/footer.php @@ -1,24 +1,12 @@ - - +?> \ No newline at end of file diff --git a/misc/style-dark.css b/misc/style-dark.css index 0ed4d93..ba9ffe1 100644 --- a/misc/style-dark.css +++ b/misc/style-dark.css @@ -1,12 +1,38 @@ -::root { +:root { --inputColor: black; + --accent-color:#12e8b9; + --fg-color: white; } body { background-color: #2a2b2b; - color: white; + color: var(--fg-color); font-family: verdana, arial, sans-serif; overflow-x: hidden; + padding: 0; + margin: 0; + font-size: 16px; +} + + + + + +input:focus { + border: 1px solid rgb(97, 97, 97); +} + + +.centered { + position: absolute; + top: 40%; + left: 50%; + margin-right: -50%; + transform: translate(-50%, -50%); +} + +.hide{ + display: none; } span { @@ -14,8 +40,18 @@ span { } #bodyHeader { - margin-top: 10vh; - text-align: center; + margin: 0; +} + +.mainContainer p { + margin-bottom:30px; + margin-top: 5px; + +} + +.mainContainer h1 { + font-size: 50px; + } .bodyText { @@ -29,17 +65,22 @@ span { } footer { - text-align: center; + display: flex; align-items: center; + flex-wrap: wrap; justify-content: center; width: 100vw; - height: 10vh; + padding: 10px; color: white; background-color: #1f2120; - position: fixed; + position: fixed; bottom: 0; } +footer a{ + margin-right: 30px; +} + #footerText { margin: 10px; padding: 10px; @@ -51,34 +92,51 @@ footer { a { text-decoration: none; - color: #12e8b9; + color: var(--fg-color); +} + +footer a:hover{ + color: var(--accent-color); } #inputWrapper { + display: flex; align-items: center; text-align: center; justify-content: center; } -input, button { - outline: none; - color: white; - background-color: #1f2120; - border: 1px solid #1f2120; - height: 4vh; - border-radius: 10px; -} input { + width: 500px; outline: none; color: white; background-color: #1f2120; border: 1px solid #1f2120; - width: 35vw; - height: 4vh; - margin: 10px; + border-radius: 10px 0px 0px 10px; + padding: 15px; + font-size: inherit; + } +button { + padding: 15px; + background: #1f2120; + border: 1px solid #1f2120; + color: black; + background-color: var(--accent-color); + border: 0; + border-radius: 0px 10px 10px 0px; + cursor: pointer; + font-size: 15px; + font-weight: bold; +} + +/* button:hover{ + background-color: var(--accent-color); + color:white; +} */ + img { max-width: 25vw; max-height: 25vw; @@ -87,3 +145,26 @@ img { border-radius: 10px; box-shadow: 5px 5px 5px black; } + + +@media only screen and (max-width: 750px) { + + body{ + font-size: 14px; + } + + .mainContainer h1 { + font-size: 35px; + + } + + input{ + width: 100%; + } + + .centered { + width: 95%; +} + + +} \ No newline at end of file diff --git a/search.php b/search.php index a7f0b47..36dcc09 100644 --- a/search.php +++ b/search.php @@ -20,8 +20,7 @@ echo "value=\"$query\""; ?> -
-
+ >