From 9630016e4e30ba075ab73d9bee8d60da982d4cf0 Mon Sep 17 00:00:00 2001 From: sb745 <201226723+sb745@users.noreply.github.com> Date: Mon, 22 Dec 2025 06:03:58 +0200 Subject: [PATCH] Resolve conflict --- nyaa/static/css/main.css | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/nyaa/static/css/main.css b/nyaa/static/css/main.css index 1209500..4b8df55 100644 --- a/nyaa/static/css/main.css +++ b/nyaa/static/css/main.css @@ -577,3 +577,48 @@ mark, .mark { background-color: #fff6c9; padding: .2em; } + +/* Hide and resize some things on tiny screens to improve usability. */ +@media (max-width: 767px) { + .hdr-size, .hdr-date, .hdr-downloads, + table.torrent-list > tbody > tr > td:nth-child(4), + table.torrent-list > tbody > tr > td:nth-child(5), + table.torrent-list > tbody > tr > td:nth-child(8) { + display: none; + } + + table.torrent-list > tbody > tr > td:nth-child(7) { + border-right: 0; + } + + .table thead > tr > th { + border-right: none; + } + + table.torrent-list > tbody > tr > td:nth-child(3) > a { + display: block; + } + + .hdr-link { + width: 32px !important; + } + + .hdr-seeders, .hdr-leechers { + width: 48px !important; + } + + .hdr-category { + width: 20px !important; + overflow: hidden; + text-indent: -9999px; + } + + table.torrent-list > tbody > tr > td:first-child { + overflow: hidden; + } + + table.torrent-list > tbody > tr > td:first-child img { + width: 50px; + height: auto; + } +}