diff --git a/public/css/main.css b/public/css/main.css index 987f4749..4e00f94a 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -644,7 +644,7 @@ html, body { height: 40px; } -/* holy fucking shit fuck responsive design */ +/* responsive design */ @media (min-width: 2560px) { @@ -670,6 +670,18 @@ html, body { .header .h-user>a.nav-btn { padding: 0!important; } } +/* Image category shrinking & padding lowering between 1050 & 860px, do not modify any of these values */ +@media (max-width: 1050px) { + .tr-cat { width: 8.7%; } + th, .home-td, .user-td { padding: 2px 0.25%; } +} + +@media (max-width: 860px) { + .tr-cat { width: 71px; } + th, .home-td, .user-td { padding: 2px 2px; } +} +/* end of category shrinking */ + @media (min-width: 960px) { .visible-md { display: none @@ -725,9 +737,6 @@ html, body { .box { padding: 7px; } - .tr-cat { - width: 71px; - } .torrent-preview-table .tr-cat { width: 74px; } @@ -741,9 +750,6 @@ html, body { .box { padding: 8px; } - th, .home-td, .user-td { - padding: 2px 2px; - } .torrent-hr { margin-bottom: 0; } }