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 @@