From 9c795b4ec726103f22d6245283fedb30e95452f9 Mon Sep 17 00:00:00 2001 From: Juuso Lapinlampi Date: Sun, 25 Oct 2015 08:58:25 +0000 Subject: Remove commented style rules from CSS (leftovers) There are commented style rules in the CSS that do not appear to have been used in a long time, and have no reason to exist. Remove them for cleanup. --- css/pomf.css | 6 ------ 1 file changed, 6 deletions(-) (limited to 'css') diff --git a/css/pomf.css b/css/pomf.css index 051c9e7..8428985 100644 --- a/css/pomf.css +++ b/css/pomf.css @@ -297,9 +297,6 @@ nav > ul > li:last-child:after { border: 1px solid white; border-radius: 4px; box-shadow: 0 0 0 1px black; -/* box-shadow: 0 0 0 1px rgb(188, 228, 170); - box-shadow: 0 0 0 1px #468847; - box-shadow: 0 0 0 1px #B7D1A0;*/ color: transparent; display: inline-block; font-size: 0; @@ -312,9 +309,6 @@ nav > ul > li:last-child:after { } .progress-inner { background-color: black; -/* background-color: rgb(188, 228, 170); - background-color: #468847; - background-color: #B7D1A0;*/ height: 6px; margin: 0; width: 0; -- cgit v1.2.3 From 714b85663529df3eaee5ba2f4706038a8ab9e634 Mon Sep 17 00:00:00 2001 From: Juuso Lapinlampi Date: Sun, 25 Oct 2015 09:00:55 +0000 Subject: Remove unused POCKY~ style rules from CSS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pomf core nor moe panel have never used these POCKY~ style rules. They have no reason to exist. Remove them for cleanup. Reported-by: Luminarys --- css/pomf.css | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'css') diff --git a/css/pomf.css b/css/pomf.css index 8428985..9477ce8 100644 --- a/css/pomf.css +++ b/css/pomf.css @@ -314,17 +314,6 @@ nav > ul > li:last-child:after { width: 0; } -/** - * POCKY~ - */ -.pocky { - margin: 20px auto; - text-align: center; -} -.pocky img { - max-width: 100%; -} - /** * PAGE SPECIFIC STUFF */ -- cgit v1.2.3 From 6376b0365a9bd90bcd30f59b460784d896fac0f6 Mon Sep 17 00:00:00 2001 From: Juuso Lapinlampi Date: Sun, 25 Oct 2015 09:27:29 +0000 Subject: Remove unnecessary CSS border-box vendor prefixes border-box has been supported natively in web browsers since Chromium 10, Firefox 29.0, Internet Explorer 8, Opera 7, Safari (WebKit) 5.1. IE never also had a vendor prefix. As a guideline, as of today Firefox ESR (extended support release) is on version 38.3.0, so native support has been available for a long while. These vendor prefixes are no longer needed. This commit removes them. For future improvement, matching this rule against wildcard `*` should be re-considered and moved to body or some other rule to avoid expensive CSS calculations. --- css/pomf.css | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'css') diff --git a/css/pomf.css b/css/pomf.css index 9477ce8..3ab19bd 100644 --- a/css/pomf.css +++ b/css/pomf.css @@ -26,9 +26,7 @@ *, *:before, *:after { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; + box-sizing: border-box; } /** -- cgit v1.2.3 From e41a0b11fd386c487e15048aa829f471ceb4c1fa Mon Sep 17 00:00:00 2001 From: Juuso Lapinlampi Date: Tue, 27 Oct 2015 11:07:08 +0000 Subject: Stop placing #upload-input off-screen, don't display it Problems with placing #upload-input off-screen is that keyboard navigation (tab) will gain focus of the upload buttons twice. Hiding the other upload button (the element) off-screen makes no sense because no explanation is given. Hide it with `display: none;`. Considering screen reader users, the