From 6de804561f5749a759f0213188272f945028c680 Mon Sep 17 00:00:00 2001 From: schrumpel Date: Sat, 7 May 2022 16:15:32 +0200 Subject: [PATCH 1/5] lul --- test.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 test.txt diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..907b308 --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +blah From 315770bf30d95c6a7a729593629c8973c3245e10 Mon Sep 17 00:00:00 2001 From: schrumpel Date: Sat, 7 May 2022 16:17:38 +0200 Subject: [PATCH 2/5] lul revert --- test.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 test.txt diff --git a/test.txt b/test.txt deleted file mode 100644 index 907b308..0000000 --- a/test.txt +++ /dev/null @@ -1 +0,0 @@ -blah From 2e0881b10965c31ea6ab010972b553812e8539d1 Mon Sep 17 00:00:00 2001 From: schrumpel Date: Sat, 7 May 2022 17:35:43 +0200 Subject: [PATCH 3/5] undo --- public/b/.empty | 0 public/s/css/f0ck.css | 33 +++++++++++++++++++++++++++++++++ views/search.html | 2 +- 3 files changed, 34 insertions(+), 1 deletion(-) delete mode 100755 public/b/.empty diff --git a/public/b/.empty b/public/b/.empty deleted file mode 100755 index e69de29..0000000 diff --git a/public/s/css/f0ck.css b/public/s/css/f0ck.css index 1243113..a851442 100644 --- a/public/s/css/f0ck.css +++ b/public/s/css/f0ck.css @@ -1790,3 +1790,36 @@ table img { .results { padding: 5px; } +/* fix for mobile table view in search! */ +@media screen and (max-width: 650px) { + table { + width:inherit; + } + thead { + display: none; + } + tr:nth-of-type(2n) { + background-color: inherit; + } + tr td:first-child { + float: right; + } + tbody td { + display: block; + box-shadow: 0px 1px 0px var(--accent); + } + tbody td:before { + content: attr(data-th); + display: block; + text-align:left; + } + table.table th, table.table td { + padding: 5px; + margin: 5px; + display: flex; + } + table.table td img{ + position: relative; + width: 100%; + } +} \ No newline at end of file diff --git a/views/search.html b/views/search.html index ab1b870..187d9c1 100644 --- a/views/search.html +++ b/views/search.html @@ -5,7 +5,7 @@
@if(result) -

{{ count }} f0cks given (page {{ pagination.page }} of {{ pagination.end }}):

+

{{ count }} f0cks given (page {{ pagination.page }} of {{ pagination.end }}):

From ac96827ad1f2338ec8049642b651cd77befb3d41 Mon Sep 17 00:00:00 2001 From: schrumpel Date: Sat, 7 May 2022 17:39:13 +0200 Subject: [PATCH 4/5] b/.empty --- public/b/.empty | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 public/b/.empty diff --git a/public/b/.empty b/public/b/.empty new file mode 100644 index 0000000..e69de29 From 1787a69143537c9465ed231a11762f6f32791037 Mon Sep 17 00:00:00 2001 From: schrumpel Date: Sat, 7 May 2022 17:40:39 +0200 Subject: [PATCH 5/5] hopefully foolproof --- .gitignore | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 443772a..0f8850d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ node_modules/ logs/*.log config.json -public/b/* -public/ca/* -public/t/* +public/b +public/ca +public/t tmp/*