From 2e30a7be846f71baf3773b4b1327ada2f0a3aee5 Mon Sep 17 00:00:00 2001 From: Ricardo Ribeiro Date: Sat, 13 May 2017 14:06:32 +0100 Subject: [PATCH 1/2] Improve torrent view readibility on mobile --- nyaa/static/css/main.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nyaa/static/css/main.css b/nyaa/static/css/main.css index 6dede1b..46cc261 100644 --- a/nyaa/static/css/main.css +++ b/nyaa/static/css/main.css @@ -83,3 +83,9 @@ table.torrent-list thead th.sorting_desc:after { .panel-deleted > .panel-footer + .panel-collapse > .panel-body { border-bottom-color:#757575; } +@media (max-width: 991px){ + .col-md-5 { + margin-left: 20px; + margin-bottom: 10px; + } +} \ No newline at end of file From c14649bfb46f9e67a61cd880cc83f318da428e6c Mon Sep 17 00:00:00 2001 From: Ricardo Ribeiro Date: Sat, 13 May 2017 14:06:58 +0100 Subject: [PATCH 2/2] Remove torrent list bg color for odd rows --- nyaa/static/css/main.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nyaa/static/css/main.css b/nyaa/static/css/main.css index 46cc261..6ef8d78 100644 --- a/nyaa/static/css/main.css +++ b/nyaa/static/css/main.css @@ -88,4 +88,7 @@ table.torrent-list thead th.sorting_desc:after { margin-left: 20px; margin-bottom: 10px; } +} +.table-striped>tbody>tr:nth-of-type(odd) { + background-color: white; } \ No newline at end of file