From 7cb84d7d4835088abc53b9db625fc5dee3543b5f Mon Sep 17 00:00:00 2001 From: bakape Date: Sat, 6 May 2017 00:25:46 +0300 Subject: [PATCH 1/2] Somewhat mobile-friendly main table --- css/style.css | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/css/style.css b/css/style.css index e19ea3c3..02cada43 100644 --- a/css/style.css +++ b/css/style.css @@ -100,3 +100,26 @@ div.container div.blockBody:nth-of-type(2) table tr:first-of-type th:nth-of-type div.container div.blockBody:nth-of-type(2) table tr:first-of-type th:nth-of-type(4){width:19%;} div.container div.blockBody:nth-of-type(2) table tr:first-of-type th:last-of-type{width:6%;} tr.torrent-info td.hash,tr.torrent-info td.date{word-wrap:break-word;} + +/* Mobile-friendly main table */ +@media only screen and (max-width: 700px) { + table, thead, tbody, tr { + display: block; + } + + th { + display: none; + } + + td { + display: inline-block; + } + + td:nth-of-type(1), td:nth-of-type(2) { + display: block; + } + + .table > tbody > tr > td { + border: none; + } +} From 646e2966c7e78ae00232becdf88268f77a6de0f4 Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Sat, 6 May 2017 09:11:07 +1000 Subject: [PATCH 2/2] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 828247fd..364306f3 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,6 @@ The provided unit file uses options directly; if you prefer a config file, do th ## TODO * adding new magnet links * API improvement -* add rss link and generate link based on your current search * make renchon the favicon and official mascot * make sukebei db schema compatible with current code * comments in torrent view page