[MediaWiki-commits] [Gerrit] mediawiki...DuskToDawn[master]: Get rid of IE7 support for DuskToDawn

2016-12-27 Thread Jack Phoenix (Code Review)
Jack Phoenix has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/329359 )

Change subject: Get rid of IE7 support for DuskToDawn
..


Get rid of IE7 support for DuskToDawn

Also get rid of unnecessary vendor prefixes
and clean up CSS comments, along with basic
formatting.

Bug: T154198
Change-Id: Ief2c9bd5f4a149c2ca8954715bc7fc222c3d5d3d
---
M resources/print.css
M resources/style.css
2 files changed, 100 insertions(+), 82 deletions(-)

Approvals:
  Jack Phoenix: Verified; Looks good to me, approved



diff --git a/resources/print.css b/resources/print.css
index b366e28..2e6a35e 100644
--- a/resources/print.css
+++ b/resources/print.css
@@ -1,6 +1,7 @@
-/* Don't display the footer in printable mode
+/**
+ * Don't display the footer in printable mode
  * @see https://phabricator.wikimedia.org/T111434
  */
 #colophon {
display: none;
-}
\ No newline at end of file
+}
diff --git a/resources/style.css b/resources/style.css
index 472ef2e..3f76a1e 100644
--- a/resources/style.css
+++ b/resources/style.css
@@ -1,18 +1,24 @@
-/*
-Theme Name: Dusk To Dawn
-Theme URI: http://theme.wordpress.com/themes/dusk-to-dawn/
-Author: Automattic
-Author URI: http://automattic.com/
-Description: A dark theme that melds old-style organic ornaments with modern 
design and typography. It features a custom header, custom background, and a 
widget area in the sidebar. It comes with support for several post formats 
including aside, gallery, image, quote, link, chat, and audio.
-Version: 1.3
-License: GNU General Public License v2 or later
-License URI: http://www.gnu.org/licenses/gpl-2.0.html
-Tags: black, blue, purple, dark, two-columns, left-sidebar, right-sidebar, 
fixed-width, custom-background, custom-colors, custom-header, custom-menu, 
featured-images, full-width-template, microformats, post-formats, 
rtl-language-support, sticky-post, theme-options, translation-ready
-*/
+/**
+ * Theme Name: Dusk To Dawn
+ * Theme URI: http://theme.wordpress.com/themes/dusk-to-dawn/
+ * Author: Automattic
+ * Author URI: http://automattic.com/
+ * Description: A dark theme that melds old-style organic ornaments
+ * with modern design and typography. It features a custom header,
+ * custom background, and a widget area in the sidebar. It comes with
+ * support for several post formats including aside, gallery,
+ * image, quote, link, chat, and audio.
+ * Version: 1.3
+ * License: GNU General Public License v2 or later
+ * License URI: http://www.gnu.org/licenses/gpl-2.0.html
+ */
 
 
-/* =Reset default browser CSS. Based on work by Eric Meyer: 
http://meyerweb.com/eric/tools/css/reset/index.html
--- */
+/**
+ * Reset default browser CSS.
+ * Based on work by Eric Meyer:
+ * http://meyerweb.com/eric/tools/css/reset/index.html
+ */
 
 html, body, div, span, applet, object, iframe,
 h1, h2, h3, h4, h5, h6, p, blockquote, pre,
@@ -32,7 +38,8 @@
padding: 0;
vertical-align: baseline;
 }
-:focus {/* remember to define focus styles! */
+:focus {
+   /* remember to define focus styles! */
outline: 0;
 }
 body {
@@ -44,7 +51,8 @@
 ol, ul {
list-style: none;
 }
-table {/* tables still need 'cellspacing="0"' in the markup */
+table {
+   /* tables still need 'cellspacing="0"' in the markup */
border-collapse: separate;
border-spacing: 0;
 }
@@ -78,8 +86,7 @@
 }
 
 
-/* =Clear
--- */
+/* Clear */
 
 .clear {
clear: both;
@@ -93,8 +100,7 @@
visibility: hidden;
 }
 
-/* =Structure
--- */
+/* Structure */
 
 html,
 body {
@@ -181,7 +187,6 @@
 .screen-reader-text,
 .assistive-text {
position: absolute !important;
-   clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
 }
 /* Alignment */
@@ -201,24 +206,16 @@
 }
 
 
-/* =Global
--- */
+/* Global */
 
 #super-super-wrapper {
-   background: linear-gradient(bottom, rgb(255,203,112) 0%, 
rgb(107,138,169) 30%, rgb(1,44,87) 100%);
-   background: -o-linear-gradient(bottom, rgb(255,203,112) 0%, 
rgb(107,138,169) 30%, rgb(1,44,87) 100%);
-   background: -moz-linear-gradient(bottom, rgb(255,203,112) 0%, 
rgb(107,138,169) 30%, rgb(1,44,87) 100%);
-   background: -webkit-linear-gradient(bottom, rgb(255,203,112) 0%, 
rgb(107,138,169) 30%, rgb(1,44,87) 100%);
-   background: -ms-linear-gradient(bottom, rgb(255,203,112) 0%, 
rgb(107,138,169) 30%, rgb(1,44,87) 100%);
+   background: linear-gradient( bottom, rgb( 255,203,112 ) 0%, rgb( 
107,138,169 ) 30%, rgb( 1,44,87 ) 100% );
+   background: -o-linear-gradient( bottom, rgb( 255,203,112 ) 0%, rgb( 
107,138,169 ) 30%, rgb( 1,44,87 ) 100% );
+   background: -moz-linear-gradient( bottom, rgb( 2

[MediaWiki-commits] [Gerrit] mediawiki...DuskToDawn[master]: Get rid of IE7 support for DuskToDawn

2016-12-27 Thread SamanthaNguyen (Code Review)
SamanthaNguyen has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/329359 )

Change subject: Get rid of IE7 support for DuskToDawn
..

Get rid of IE7 support for DuskToDawn

Bug: T154198
Change-Id: Ief2c9bd5f4a149c2ca8954715bc7fc222c3d5d3d
---
M resources/print.css
M resources/style.css
2 files changed, 40 insertions(+), 45 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/DuskToDawn 
refs/changes/59/329359/1

diff --git a/resources/print.css b/resources/print.css
index b366e28..2e6a35e 100644
--- a/resources/print.css
+++ b/resources/print.css
@@ -1,6 +1,7 @@
-/* Don't display the footer in printable mode
+/**
+ * Don't display the footer in printable mode
  * @see https://phabricator.wikimedia.org/T111434
  */
 #colophon {
display: none;
-}
\ No newline at end of file
+}
diff --git a/resources/style.css b/resources/style.css
index 472ef2e..a0f605f 100644
--- a/resources/style.css
+++ b/resources/style.css
@@ -1,18 +1,24 @@
-/*
-Theme Name: Dusk To Dawn
-Theme URI: http://theme.wordpress.com/themes/dusk-to-dawn/
-Author: Automattic
-Author URI: http://automattic.com/
-Description: A dark theme that melds old-style organic ornaments with modern 
design and typography. It features a custom header, custom background, and a 
widget area in the sidebar. It comes with support for several post formats 
including aside, gallery, image, quote, link, chat, and audio.
-Version: 1.3
-License: GNU General Public License v2 or later
-License URI: http://www.gnu.org/licenses/gpl-2.0.html
-Tags: black, blue, purple, dark, two-columns, left-sidebar, right-sidebar, 
fixed-width, custom-background, custom-colors, custom-header, custom-menu, 
featured-images, full-width-template, microformats, post-formats, 
rtl-language-support, sticky-post, theme-options, translation-ready
-*/
+/**
+ * Theme Name: Dusk To Dawn
+ * Theme URI: http://theme.wordpress.com/themes/dusk-to-dawn/
+ * Author: Automattic
+ * Author URI: http://automattic.com/
+ * Description: A dark theme that melds old-style organic ornaments
+ * with modern design and typography. It features a custom header,
+ * custom background, and a widget area in the sidebar. It comes with
+ * support for several post formats including aside, gallery,
+ * image, quote, link, chat, and audio.
+ * Version: 1.3
+ * License: GNU General Public License v2 or later
+ * License URI: http://www.gnu.org/licenses/gpl-2.0.html
+ */
 
 
-/* =Reset default browser CSS. Based on work by Eric Meyer: 
http://meyerweb.com/eric/tools/css/reset/index.html
--- */
+/**
+ * Reset default browser CSS.
+ * Based on work by Eric Meyer:
+ * http://meyerweb.com/eric/tools/css/reset/index.html
+ */
 
 html, body, div, span, applet, object, iframe,
 h1, h2, h3, h4, h5, h6, p, blockquote, pre,
@@ -32,7 +38,8 @@
padding: 0;
vertical-align: baseline;
 }
-:focus {/* remember to define focus styles! */
+:focus {
+   /* remember to define focus styles! */
outline: 0;
 }
 body {
@@ -44,7 +51,8 @@
 ol, ul {
list-style: none;
 }
-table {/* tables still need 'cellspacing="0"' in the markup */
+table {
+   /* tables still need 'cellspacing="0"' in the markup */
border-collapse: separate;
border-spacing: 0;
 }
@@ -78,8 +86,7 @@
 }
 
 
-/* =Clear
--- */
+/* Clear */
 
 .clear {
clear: both;
@@ -93,8 +100,7 @@
visibility: hidden;
 }
 
-/* =Structure
--- */
+/* Structure */
 
 html,
 body {
@@ -201,8 +207,7 @@
 }
 
 
-/* =Global
--- */
+/* Global */
 
 #super-super-wrapper {
background: linear-gradient(bottom, rgb(255,203,112) 0%, 
rgb(107,138,169) 30%, rgb(1,44,87) 100%);
@@ -376,16 +381,13 @@
top: .5ex;
 }
 
-
-/* =Forms
--- */
+/* Forms */
 
 input[type=text],
 input[type=email],
 input[type=password],
 textarea {
background: #fafafa;
-   -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
border: 1px solid #e7d9b9;
border-radius: 3px;
@@ -434,8 +436,7 @@
 }
 
 
-/* =Header
--- */
+/* Header */
 
 #branding hgroup {
background-color: #0b0e18;
@@ -468,8 +469,7 @@
 }
 
 
-/* =Content
--- */
+/* Content */
 
 .sticky {
background-color: #f6f6f6;
@@ -754,8 +754,7 @@
 }
 
 
-/* =Post Formats
--- */
+/* Post Formats */
 
 .entry-format:after {
content: '\0020\2013';
@@ -814,7 +813,7 @@
 }
 
 /* =Images