From c4d83783a41f452d48bf4837178f01d484807f4f Mon Sep 17 00:00:00 2001 From: Kylart Date: Tue, 13 Dec 2016 02:08:43 +0900 Subject: [PATCH] Slightly improved seasonal anime page --- .idea/inspectionProfiles/Project_Default.xml | 3 +- app/style.css | 15 ++++---- index.html | 37 ++++++++++++-------- main.js | 4 ++- renderer.js | 6 +++- 5 files changed, 40 insertions(+), 25 deletions(-) diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 09fd7ff..ad33d15 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -26,7 +26,7 @@ diff --git a/app/style.css b/app/style.css index 9bcbb18..69c2b50 100644 --- a/app/style.css +++ b/app/style.css @@ -26,6 +26,7 @@ body margin: 0; } +/*noinspection CssOptimizeSimilarProperties*/ .mdl-layout__drawer { background-image: url('../resources/leftBackground.png'); @@ -34,6 +35,7 @@ body background-size: 100%; } +/*noinspection CssOptimizeSimilarProperties*/ #releases { background-image: url('../resources/indexBack.jpg'); @@ -55,6 +57,8 @@ body { margin: 2% 1.5% 2% 3.5%; white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; } .picture-container @@ -151,9 +155,8 @@ body width: 100%; height: 100%; display: none; - background-image: url("http://wallpapers.ws/large/201503/2280.jpg"); background-size: cover; - background-repeat: no-repeat; + background: url("http://wallpapers.ws/large/201503/2280.jpg") no-repeat; } #info-container .mdl-grid @@ -457,11 +460,7 @@ body .season-footer { - position: absolute; - bottom: 5px; - right: 5px; - width: 67%; - height: 23%; + margin-left: 36.5%; overflow: hidden; } @@ -503,4 +502,6 @@ body #ova .title-container h6 { width: 75%; + overflow: hidden; + text-overflow: ellipsis; } \ No newline at end of file diff --git a/index.html b/index.html index 5fa4619..6b3c79b 100644 --- a/index.html +++ b/index.html @@ -5,10 +5,10 @@ KawAnime - - + + @@ -46,7 +46,7 @@ Download an anime Recent releases Get news - Check seasons + Check animes from season Watch List @@ -56,6 +56,7 @@