Mholloway has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/282437

Change subject: WIP: Update bundled CSS, part the second
......................................................................

WIP: Update bundled CSS, part the second

This updates the CSS update script to grab additional modules, including
most notably a gallery module that improves presentation of in-article
image galleries.

Change-Id: Id043c42d8191ec8a548e2e353b3cf728321dac32
---
M app/src/main/assets/preview.css
M app/src/main/assets/styles.css
M scripts/make-css-assets.bash
3 files changed, 1,616 insertions(+), 138 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia 
refs/changes/37/282437/1

diff --git a/app/src/main/assets/preview.css b/app/src/main/assets/preview.css
index 8c85468..bb5c8b5 100644
--- a/app/src/main/assets/preview.css
+++ b/app/src/main/assets/preview.css
@@ -90,6 +90,476 @@
 }
 table {
   border-collapse: collapse;
+}html,
+body {
+  height: 100%;
+}
+#content {
+  border-top: 1px solid #cccccc;
+}
+.last-modified-bar {
+  background-color: transparent;
+  display: block;
+  color: #666666;
+  transition: background-color 0.2s ease, color 0.2s ease;
+}
+.last-modified-bar a,
+.last-modified-bar a:visited {
+  color: #666666;
+}
+.last-modified-bar a:nth-child(2),
+.last-modified-bar a:visited:nth-child(2) {
+  font-weight: bold;
+}
+.last-modified-bar #mw-mf-last-modified {
+  padding: 5px 16px;
+  background-color: #eeeeee;
+}
+.last-modified-bar.active {
+  color: #fff;
+}
+.last-modified-bar.active #mw-mf-last-modified {
+  background-color: #00af8b;
+}
+.last-modified-bar.active a {
+  color: #fff;
+}
+.header {
+  display: table;
+  width: 100%;
+  height: 3.35em;
+  white-space: nowrap;
+  border-top: 1px solid #cccccc;
+  margin-top: -1px;
+}
+.header > div {
+  width: 3.35em;
+  position: relative;
+}
+.header > form,
+.header > div {
+  vertical-align: middle;
+  display: table-cell;
+}
+.header > div a {
+  display: block;
+}
+.header > form {
+  padding: 0.15em 0.5em 0;
+  width: auto;
+  vertical-align: middle;
+}
+.header > .header-title {
+  vertical-align: middle;
+}
+@media all and (max-width: 280px) {
+  .header .search {
+    border: 1px solid #cccccc;
+    padding: .3em .1em;
+  }
+}
+/* Search */
+.client-use-basic-search .header .search,
+.client-nojs .header .search,
+.client-use-basic-search .header .fulltext-search,
+.client-nojs .header .fulltext-search {
+  float: left;
+}
+.client-use-basic-search .header .search,
+.client-nojs .header .search {
+  width: 80px;
+  margin-right: 8px;
+  border: 1px solid #cccccc;
+  padding: .5em .1em;
+}
+.client-use-basic-search .content h2,
+.client-nojs .content h2 {
+  border-bottom: solid 1px #e2e3e4;
+}
+input.search {
+  outline: 0;
+  width: 100%;
+  background-color: #fff !important;
+  /* remove fennec default background also see bug 36490 */
+  -webkit-appearance: none;
+}
+input.search::-webkit-search-cancel-button {
+  -webkit-appearance: none;
+}
+.search-box {
+  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
+}
+.content h1 .edit-page {
+  font-size: 0.58823529em;
+}
+.content h2 {
+  clear: both;
+}
+.content h2 .edit-page {
+  font-size: 0.66666667em;
+}
+.content h3 .edit-page {
+  font-size: 0.83333333em;
+}
+.content .edit-page {
+  display: inline-block;
+  visibility: hidden;
+}
+.content .open-block .edit-page {
+  visibility: visible;
+}
+.content .section-heading {
+  width: 100%;
+  border-bottom: solid 1px #e2e3e4;
+  margin-bottom: 0.5em;
+}
+.content .section-heading .indicator {
+  font-size: 0.4em;
+}
+.content .section-heading,
+.content .in-block {
+  display: table;
+}
+.content .section-heading .mw-headline,
+.content .in-block .mw-headline {
+  width: 100%;
+}
+.content .section-heading > span,
+.content .in-block > span {
+  display: table-cell;
+  vertical-align: middle;
+}
+.client-nojs .section-heading .indicator {
+  display: none;
+}
+.stable #language-switcher,
+.stable .languageSelector {
+  margin-top: 1em;
+}
+#page-secondary-actions {
+  clear: both;
+}
+#page-secondary-actions a {
+  margin: 10px 2px 2px 0;
+}
+.truncated-text {
+  white-space: nowrap;
+  overflow: hidden;
+  -webkit-text-overflow: ellipsis;
+  text-overflow: ellipsis;
+}
+.truncated-text.multi-line {
+  white-space: normal;
+  display: -webkit-box;
+  -webkit-box-orient: vertical;
+}
+.truncated-text.two-line {
+  -webkit-line-clamp: 2;
+  max-height: 2.6em;
+}
+.overlay #secondary-button.user-button,
+.header #secondary-button.user-button,
+.overlay .user-button,
+.header .user-button {
+  position: relative;
+}
+.overlay #secondary-button.user-button .label,
+.header #secondary-button.user-button .label,
+.overlay .user-button .label,
+.header .user-button .label {
+  visibility: hidden;
+}
+.overlay #secondary-button.user-button.loading span,
+.header #secondary-button.user-button.loading span,
+.overlay .user-button.loading span,
+.header .user-button.loading span {
+  display: none;
+}
+.notification-count {
+  text-indent: 0;
+  display: inline-block;
+  font-weight: bold;
+  color: #fff;
+  background: #c91f2c;
+  border-radius: 2px;
+  height: 1.2em;
+  line-height: 1.2em;
+  min-width: 1em;
+  margin: .6em .6em 0 0;
+  padding: 0 0.1em;
+  text-align: center;
+  position: absolute;
+  right: 0;
+  top: -.1em;
+}
+.notification-count.zero {
+  display: none;
+}
+.notification-count.max {
+  right: .2em;
+  width: 2em;
+  height: 2em;
+  line-height: 2em;
+  font-size: 0.7em;
+}
+.mw-ui-button-group {
+  text-align: center;
+}
+.mw-ui-button-group * {
+  float: none !important;
+}
+.mw-ui-button-group .mw-ui-block {
+  width: auto;
+}
+.transparent-shield,
+.navigation-drawer {
+  position: absolute;
+  z-index: 0;
+  visibility: hidden;
+}
+.content .nojs-edit {
+  display: inline-block;
+  float: right;
+}
+
+.client-nojs #ca-watch,
+.client-nojs #ca-edit,
+#ca-talk.selected {
+  display: none;
+}
+#page-actions .nojs-edit {
+  display: inline-block;
+}
+.heading-holder {
+  padding: 20px 0 25px;
+}
+.heading-holder h1 {
+  padding-right: 16px;
+}
+.heading-holder .tagline {
+  color: #555555;
+  font-size: 0.8em;
+  margin: 10px 0;
+}
+.heading-holder .tagline:first-letter {
+  text-transform: capitalize;
+}
+#section_0 {
+  padding-top: 0;
+  padding-bottom: 0;
+  border-bottom: none;
+}
+#page-actions {
+  font-size: 1.1em;
+  float: right;
+  border: none;
+  overflow: hidden;
+}
+#page-actions li {
+  display: block;
+  position: relative;
+  cursor: pointer;
+  margin-right: 0;
+  margin-bottom: 20px;
+}
+#page-actions li input {
+  opacity: 0;
+}
+#page-actions li input,
+#page-actions li a,
+#page-actions li span,
+#page-actions li button {
+  position: absolute;
+  display: block;
+  width: 100%;
+  height: 100%;
+  margin: 0 0 8px;
+}
+#page-actions li button {
+  text-indent: inherit;
+  outline: none;
+}
+#page-actions li:first-child {
+  margin-top: 3px;
+}
+@media all and (max-width: 280px) {
+  .client-nojs #page-actions {
+    display: none;
+  }
+  .client-nojs #section_0 {
+    border: none;
+  }
+}
+
+/* FOOTER
+initially moved from beta_common.css in
+Change-Id: I48bcdc43e72f2a9b60e6d1bfe877d79ad80b6d5d
+*/
+#footer {
+  padding: 2em 16px 1.5em 16px;
+  margin: 0 auto;
+  font-size: 0.9em;
+  clear: both;
+}
+#footer h2 {
+  display: inline;
+  font-weight: bold;
+  font-size: 1em;
+}
+#footer h2 img {
+  height: 1em;
+}
+#footer ul {
+  text-align: center;
+}
+#footer ul li {
+  line-height: 1.2;
+  padding: 0 0 .7em;
+}
+#footer ul ul {
+  display: inline;
+}
+#footer ul ul li,
+#footer ul.footer-places li {
+  display: inline;
+  padding: 0 8px;
+  border-right: 1px solid #aaaaaa;
+}
+#footer ul ul li:after,
+#footer ul.footer-places li:after {
+  content: ' ';
+  font-size: 0;
+}
+#footer ul ul li:last-child,
+#footer ul.footer-places li:last-child {
+  border: none;
+}
+.mw-mf-special #footer,
+.page-Main_Page #footer {
+  margin-top: 2em;
+  border-top: 1px solid #aaaaaa;
+}
+
+.cloaked-element {
+  opacity: 0;
+  position: absolute;
+  top: 0;
+  left: 0;
+  right: 0;
+  bottom: 0;
+}
+.view-border-box *,
+.view-border-box {
+  -moz-box-sizing: border-box;
+  -webkit-box-sizing: border-box;
+  box-sizing: border-box;
+}
+.mw-mf-image-replacement {
+  font-style: italic;
+  color: #777777;
+  text-decoration: underline;
+  border: dotted 1px #cccccc;
+  padding: 10px;
+  display: inline-block;
+}
+textarea {
+  padding: 5px 0 5px 5px;
+  width: 100%;
+  resize: none;
+}
+#toc,
+.client-js .no-js-only,
+.printfooter,
+.jsonly {
+  display: none;
+}
+.no-js-only,
+.client-js .jsonly {
+  display: inherit;
+}
+.position-fixed {
+  position: fixed !important;
+}
+.no-position-fixed .drawer {
+  bottom: 0;
+}
+.no-position-fixed .position-fixed {
+  position: absolute !important;
+}
+.touch-events :focus {
+  outline: 0;
+}
+.hidden {
+  display: none !important;
+}
+
+span.mw-ui-icon {
+  display: inline-block;
+}
+.open-block .mw-ui-icon-arrow:before {
+  -webkit-transform: scaleY(-1);
+  transform: scaleY(-1);
+}
+
+.lazy-image-placeholder {
+  display: inline-block;
+  background-color: #eeeeee;
+  border: 1px solid #bbbbbb;
+  box-sizing: border-box;
+  border-radius: 2px;
+  overflow: hidden;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+}
+.client-nojs .lazy-image-placeholder {
+  display: none;
+}
+.lazy-image-placeholder img {
+  opacity: 0;
+}
+.lazy-image-placeholder.loaded {
+  -webkit-animation: fadeOutContainer 0.3s ease-in;
+  animation: fadeOutContainer 0.3s ease-in;
+  background-color: transparent;
+  border: none;
+}
+.lazy-image-placeholder.loaded img {
+  -webkit-animation: fadeInImage 0.3s ease-in;
+  animation: fadeInImage 0.3s ease-in;
+  opacity: 1;
+}
+@-webkit-keyframes fadeInImage {
+  from {
+    opacity: 0;
+  }
+  to {
+    opacity: 1;
+  }
+}
+@keyframes fadeInImage {
+  from {
+    opacity: 0;
+  }
+  to {
+    opacity: 1;
+  }
+}
+@-webkit-keyframes fadeOutContainer {
+  from {
+    background-color: #eeeeee;
+  }
+  to {
+    background-color: transparent;
+  }
+}
+@keyframes fadeOutContainer {
+  from {
+    background-color: #eeeeee;
+  }
+  to {
+    background-color: transparent;
+  }
 }html {
   -webkit-text-size-adjust: none;
   font-size: 100%;
@@ -467,6 +937,286 @@
     display: block !important;
     width: auto !important;
   }
+}/*
+A file for css that optimises the Minerva skin on larger devices.
+*/
+@media all and (min-width: 720px) {
+  .content_block {
+    width: auto;
+    clear: none;
+  }
+  .heading-holder {
+    padding: 20px 0;
+  }
+  .heading-holder {
+    position: relative;
+  }
+  .heading-holder #section_0 {
+    border-bottom: none;
+    padding: 0 0 7px 0;
+    font-size: 2.6525em;
+  }
+  #page-actions {
+    padding: 18px 0 0 0;
+  }
+  #page-actions li {
+    display: inline-block;
+  }
+  #page-actions li:first-child {
+    margin-top: 0;
+  }
+  .pre-content,
+  .content,
+  .content-overlay,
+  .post-content {
+    max-width: 55.8em;
+    margin: 0 3.35em;
+  }
+  .content .thumb.tleft {
+    /* @noflip */
+    float: left;
+    /* @noflip */
+    clear: left;
+    /* @noflip */
+    margin-right: 1.4em;
+  }
+  .content .thumb.tright {
+    /* @noflip */
+    float: right;
+    /* @noflip */
+    clear: right;
+    /* @noflip */
+    margin-left: 1.4em;
+  }
+  .content blockquote {
+    padding-right: 35px;
+    padding-left: 40px;
+  }
+  .content table {
+    display: table;
+    width: auto !important;
+  }
+  .content table caption {
+    display: table-caption;
+  }
+  .content table tbody {
+    display: table-row-group;
+  }
+  #footer {
+    padding: 2em 3.35em 1.5em 3.35em;
+  }
+  #mw-mf-last-modified {
+    padding: 5px 0;
+  }
+  .last-modified-bar {
+    background-color: transparent;
+    padding-left: 0;
+    padding-right: 0;
+    font-size: 1em;
+  }
+  .last-modified-bar.active {
+    background-color: transparent;
+  }
+  .last-modified-bar.active #mw-mf-last-modified {
+    background-color: #00af8b;
+  }
+  .last-modified-bar #mw-mf-last-modified {
+    background-color: #eeeeee;
+    font-size: 0.9em;
+    padding-left: 16px;
+    padding-right: 16px;
+  }
+}
+@media all and (min-width: 62.5em) {
+  #mw-mf-page-center .mw-mf-banner,
+  .banner-container,
+  .header,
+  .page-header-bar,
+  .content-header,
+  .overlay-header,
+  .content,
+  .overlay-content,
+  .content-unstyled,
+  .pre-content,
+  .post-content,
+  .content-overlay,
+  #mw-mf-page-center .pointer-overlay {
+    margin-left: auto;
+    margin-right: auto;
+    max-width: 55.8em;
+  }
+  .header {
+    margin-top: -1px;
+  }
+  .main-menu-button {
+    left: -1em;
+  }
+  #secondary-button {
+    right: -1em;
+  }
+  #searchInput {
+    margin-left: -1em;
+  }
+}
+
+/*
+A file for css that corrects known rendering issues on known Wikimedia wikis 
ON TABLETS
+Many of them correct hacks in place in common/hacks.less
+
+It will become redundant when the following RFC is resolved:
+https://www.mediawiki.org/wiki/Requests_for_comment/Allow_styling_in_templates
+
+FIXME: Review all of these hacks to see if they still apply.
+*/
+/* Tablet specific styling */
+@media all and (min-width: 720px) {
+  table.infobox {
+    margin: .5em 0 1em 35px !important;
+    max-width: 320px;
+    width: auto !important;
+    float: right !important;
+    clear: right !important;
+  }
+  #mw-mf-page-center .mw-mf-banner {
+    background-clip: content-box !important;
+  }
+}@media print {
+       li.gallerybox {
+               vertical-align: top;
+               display: inline-block;
+       }
+       
+       ul.gallery, li.gallerybox {
+               zoom: 1;
+               *display: inline;
+       }
+       
+       ul.gallery {
+               margin: 2px;
+               padding: 2px;
+               display: block;
+       }
+       
+       li.gallerycaption {
+               font-weight: bold;
+               text-align: center;
+               display: block;
+               word-wrap: break-word;
+       }
+       
+       li.gallerybox div.thumb {
+               text-align: center;
+               border: 1px solid #ccc;
+               margin: 2px;
+       }
+       
+       div.gallerytext {
+               overflow: hidden;
+               font-size: 94%;
+               padding: 2px 4px;
+               word-wrap: break-word;
+       }}/* Galleries */
+/* These display attributes look nonsensical, but are needed to support IE and 
FF2 */
+/* Don't forget to update gallery-print.css */
+li.gallerybox {
+       vertical-align: top;
+       display: -moz-inline-box;
+       display: inline-block;
+}
+
+ul.gallery,
+li.gallerybox {
+       zoom: 1;
+       *display: inline;
+}
+
+ul.gallery {
+       margin: 2px;
+       padding: 2px;
+       display: block;
+}
+
+li.gallerycaption {
+       font-weight: bold;
+       text-align: center;
+       display: block;
+       word-wrap: break-word;
+}
+
+li.gallerybox div.thumb {
+       text-align: center;
+       border: 1px solid #ccc;
+       background-color: #f9f9f9;
+       margin: 2px;
+}
+
+li.gallerybox div.thumb img {
+       display: block;
+       margin: 0 auto;
+}
+
+div.gallerytext {
+       overflow: hidden;
+       font-size: 94%;
+       padding: 2px 4px;
+       word-wrap: break-word;
+}
+
+/* new gallery stuff */
+ul.mw-gallery-nolines li.gallerybox div.thumb {
+       background-color: transparent;
+       border: none;
+}
+
+ul.mw-gallery-nolines li.gallerybox div.gallerytext {
+       text-align: center;
+}
+
+/* height constrained gallery */
+
+ul.mw-gallery-packed li.gallerybox div.thumb,
+ul.mw-gallery-packed-overlay li.gallerybox div.thumb,
+ul.mw-gallery-packed-hover li.gallerybox div.thumb {
+       background-color: transparent;
+       border: none;
+}
+
+ul.mw-gallery-packed li.gallerybox div.thumb img,
+ul.mw-gallery-packed-overlay li.gallerybox div.thumb img,
+ul.mw-gallery-packed-hover li.gallerybox div.thumb img {
+       margin: 0 auto;
+}
+
+ul.mw-gallery-packed-hover li.gallerybox,
+ul.mw-gallery-packed-overlay li.gallerybox {
+       position: relative;
+}
+
+ul.mw-gallery-packed-hover div.gallerytextwrapper {
+       overflow: hidden;
+       height: 0;
+}
+
+ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper,
+ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper,
+ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused 
div.gallerytextwrapper {
+       position: absolute;
+       background: white;
+       background: rgba(255, 255, 255, 0.8);
+       padding: 5px 10px;
+       bottom: 0;
+       left: 0; /* Needed for IE */
+       height: auto;
+       font-weight: bold;
+       margin: 2px; /* correspond to style on div.thumb */
+}
+
+ul.mw-gallery-packed-hover,
+ul.mw-gallery-packed-overlay,
+ul.mw-gallery-packed {
+       text-align: center;
+}.mw-empty-li {
+       display: none;
 }/* Hide the stupid editlink */
 .edit-page {
   display: none;
diff --git a/app/src/main/assets/styles.css b/app/src/main/assets/styles.css
index ad191a6..6cdf6ae 100644
--- a/app/src/main/assets/styles.css
+++ b/app/src/main/assets/styles.css
@@ -90,6 +90,476 @@
 }
 table {
   border-collapse: collapse;
+}html,
+body {
+  height: 100%;
+}
+#content {
+  border-top: 1px solid #cccccc;
+}
+.last-modified-bar {
+  background-color: transparent;
+  display: block;
+  color: #666666;
+  transition: background-color 0.2s ease, color 0.2s ease;
+}
+.last-modified-bar a,
+.last-modified-bar a:visited {
+  color: #666666;
+}
+.last-modified-bar a:nth-child(2),
+.last-modified-bar a:visited:nth-child(2) {
+  font-weight: bold;
+}
+.last-modified-bar #mw-mf-last-modified {
+  padding: 5px 16px;
+  background-color: #eeeeee;
+}
+.last-modified-bar.active {
+  color: #fff;
+}
+.last-modified-bar.active #mw-mf-last-modified {
+  background-color: #00af8b;
+}
+.last-modified-bar.active a {
+  color: #fff;
+}
+.header {
+  display: table;
+  width: 100%;
+  height: 3.35em;
+  white-space: nowrap;
+  border-top: 1px solid #cccccc;
+  margin-top: -1px;
+}
+.header > div {
+  width: 3.35em;
+  position: relative;
+}
+.header > form,
+.header > div {
+  vertical-align: middle;
+  display: table-cell;
+}
+.header > div a {
+  display: block;
+}
+.header > form {
+  padding: 0.15em 0.5em 0;
+  width: auto;
+  vertical-align: middle;
+}
+.header > .header-title {
+  vertical-align: middle;
+}
+@media all and (max-width: 280px) {
+  .header .search {
+    border: 1px solid #cccccc;
+    padding: .3em .1em;
+  }
+}
+/* Search */
+.client-use-basic-search .header .search,
+.client-nojs .header .search,
+.client-use-basic-search .header .fulltext-search,
+.client-nojs .header .fulltext-search {
+  float: left;
+}
+.client-use-basic-search .header .search,
+.client-nojs .header .search {
+  width: 80px;
+  margin-right: 8px;
+  border: 1px solid #cccccc;
+  padding: .5em .1em;
+}
+.client-use-basic-search .content h2,
+.client-nojs .content h2 {
+  border-bottom: solid 1px #e2e3e4;
+}
+input.search {
+  outline: 0;
+  width: 100%;
+  background-color: #fff !important;
+  /* remove fennec default background also see bug 36490 */
+  -webkit-appearance: none;
+}
+input.search::-webkit-search-cancel-button {
+  -webkit-appearance: none;
+}
+.search-box {
+  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
+}
+.content h1 .edit-page {
+  font-size: 0.58823529em;
+}
+.content h2 {
+  clear: both;
+}
+.content h2 .edit-page {
+  font-size: 0.66666667em;
+}
+.content h3 .edit-page {
+  font-size: 0.83333333em;
+}
+.content .edit-page {
+  display: inline-block;
+  visibility: hidden;
+}
+.content .open-block .edit-page {
+  visibility: visible;
+}
+.content .section-heading {
+  width: 100%;
+  border-bottom: solid 1px #e2e3e4;
+  margin-bottom: 0.5em;
+}
+.content .section-heading .indicator {
+  font-size: 0.4em;
+}
+.content .section-heading,
+.content .in-block {
+  display: table;
+}
+.content .section-heading .mw-headline,
+.content .in-block .mw-headline {
+  width: 100%;
+}
+.content .section-heading > span,
+.content .in-block > span {
+  display: table-cell;
+  vertical-align: middle;
+}
+.client-nojs .section-heading .indicator {
+  display: none;
+}
+.stable #language-switcher,
+.stable .languageSelector {
+  margin-top: 1em;
+}
+#page-secondary-actions {
+  clear: both;
+}
+#page-secondary-actions a {
+  margin: 10px 2px 2px 0;
+}
+.truncated-text {
+  white-space: nowrap;
+  overflow: hidden;
+  -webkit-text-overflow: ellipsis;
+  text-overflow: ellipsis;
+}
+.truncated-text.multi-line {
+  white-space: normal;
+  display: -webkit-box;
+  -webkit-box-orient: vertical;
+}
+.truncated-text.two-line {
+  -webkit-line-clamp: 2;
+  max-height: 2.6em;
+}
+.overlay #secondary-button.user-button,
+.header #secondary-button.user-button,
+.overlay .user-button,
+.header .user-button {
+  position: relative;
+}
+.overlay #secondary-button.user-button .label,
+.header #secondary-button.user-button .label,
+.overlay .user-button .label,
+.header .user-button .label {
+  visibility: hidden;
+}
+.overlay #secondary-button.user-button.loading span,
+.header #secondary-button.user-button.loading span,
+.overlay .user-button.loading span,
+.header .user-button.loading span {
+  display: none;
+}
+.notification-count {
+  text-indent: 0;
+  display: inline-block;
+  font-weight: bold;
+  color: #fff;
+  background: #c91f2c;
+  border-radius: 2px;
+  height: 1.2em;
+  line-height: 1.2em;
+  min-width: 1em;
+  margin: .6em .6em 0 0;
+  padding: 0 0.1em;
+  text-align: center;
+  position: absolute;
+  right: 0;
+  top: -.1em;
+}
+.notification-count.zero {
+  display: none;
+}
+.notification-count.max {
+  right: .2em;
+  width: 2em;
+  height: 2em;
+  line-height: 2em;
+  font-size: 0.7em;
+}
+.mw-ui-button-group {
+  text-align: center;
+}
+.mw-ui-button-group * {
+  float: none !important;
+}
+.mw-ui-button-group .mw-ui-block {
+  width: auto;
+}
+.transparent-shield,
+.navigation-drawer {
+  position: absolute;
+  z-index: 0;
+  visibility: hidden;
+}
+.content .nojs-edit {
+  display: inline-block;
+  float: right;
+}
+
+.client-nojs #ca-watch,
+.client-nojs #ca-edit,
+#ca-talk.selected {
+  display: none;
+}
+#page-actions .nojs-edit {
+  display: inline-block;
+}
+.heading-holder {
+  padding: 20px 0 25px;
+}
+.heading-holder h1 {
+  padding-right: 16px;
+}
+.heading-holder .tagline {
+  color: #555555;
+  font-size: 0.8em;
+  margin: 10px 0;
+}
+.heading-holder .tagline:first-letter {
+  text-transform: capitalize;
+}
+#section_0 {
+  padding-top: 0;
+  padding-bottom: 0;
+  border-bottom: none;
+}
+#page-actions {
+  font-size: 1.1em;
+  float: right;
+  border: none;
+  overflow: hidden;
+}
+#page-actions li {
+  display: block;
+  position: relative;
+  cursor: pointer;
+  margin-right: 0;
+  margin-bottom: 20px;
+}
+#page-actions li input {
+  opacity: 0;
+}
+#page-actions li input,
+#page-actions li a,
+#page-actions li span,
+#page-actions li button {
+  position: absolute;
+  display: block;
+  width: 100%;
+  height: 100%;
+  margin: 0 0 8px;
+}
+#page-actions li button {
+  text-indent: inherit;
+  outline: none;
+}
+#page-actions li:first-child {
+  margin-top: 3px;
+}
+@media all and (max-width: 280px) {
+  .client-nojs #page-actions {
+    display: none;
+  }
+  .client-nojs #section_0 {
+    border: none;
+  }
+}
+
+/* FOOTER
+initially moved from beta_common.css in
+Change-Id: I48bcdc43e72f2a9b60e6d1bfe877d79ad80b6d5d
+*/
+#footer {
+  padding: 2em 16px 1.5em 16px;
+  margin: 0 auto;
+  font-size: 0.9em;
+  clear: both;
+}
+#footer h2 {
+  display: inline;
+  font-weight: bold;
+  font-size: 1em;
+}
+#footer h2 img {
+  height: 1em;
+}
+#footer ul {
+  text-align: center;
+}
+#footer ul li {
+  line-height: 1.2;
+  padding: 0 0 .7em;
+}
+#footer ul ul {
+  display: inline;
+}
+#footer ul ul li,
+#footer ul.footer-places li {
+  display: inline;
+  padding: 0 8px;
+  border-right: 1px solid #aaaaaa;
+}
+#footer ul ul li:after,
+#footer ul.footer-places li:after {
+  content: ' ';
+  font-size: 0;
+}
+#footer ul ul li:last-child,
+#footer ul.footer-places li:last-child {
+  border: none;
+}
+.mw-mf-special #footer,
+.page-Main_Page #footer {
+  margin-top: 2em;
+  border-top: 1px solid #aaaaaa;
+}
+
+.cloaked-element {
+  opacity: 0;
+  position: absolute;
+  top: 0;
+  left: 0;
+  right: 0;
+  bottom: 0;
+}
+.view-border-box *,
+.view-border-box {
+  -moz-box-sizing: border-box;
+  -webkit-box-sizing: border-box;
+  box-sizing: border-box;
+}
+.mw-mf-image-replacement {
+  font-style: italic;
+  color: #777777;
+  text-decoration: underline;
+  border: dotted 1px #cccccc;
+  padding: 10px;
+  display: inline-block;
+}
+textarea {
+  padding: 5px 0 5px 5px;
+  width: 100%;
+  resize: none;
+}
+#toc,
+.client-js .no-js-only,
+.printfooter,
+.jsonly {
+  display: none;
+}
+.no-js-only,
+.client-js .jsonly {
+  display: inherit;
+}
+.position-fixed {
+  position: fixed !important;
+}
+.no-position-fixed .drawer {
+  bottom: 0;
+}
+.no-position-fixed .position-fixed {
+  position: absolute !important;
+}
+.touch-events :focus {
+  outline: 0;
+}
+.hidden {
+  display: none !important;
+}
+
+span.mw-ui-icon {
+  display: inline-block;
+}
+.open-block .mw-ui-icon-arrow:before {
+  -webkit-transform: scaleY(-1);
+  transform: scaleY(-1);
+}
+
+.lazy-image-placeholder {
+  display: inline-block;
+  background-color: #eeeeee;
+  border: 1px solid #bbbbbb;
+  box-sizing: border-box;
+  border-radius: 2px;
+  overflow: hidden;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+}
+.client-nojs .lazy-image-placeholder {
+  display: none;
+}
+.lazy-image-placeholder img {
+  opacity: 0;
+}
+.lazy-image-placeholder.loaded {
+  -webkit-animation: fadeOutContainer 0.3s ease-in;
+  animation: fadeOutContainer 0.3s ease-in;
+  background-color: transparent;
+  border: none;
+}
+.lazy-image-placeholder.loaded img {
+  -webkit-animation: fadeInImage 0.3s ease-in;
+  animation: fadeInImage 0.3s ease-in;
+  opacity: 1;
+}
+@-webkit-keyframes fadeInImage {
+  from {
+    opacity: 0;
+  }
+  to {
+    opacity: 1;
+  }
+}
+@keyframes fadeInImage {
+  from {
+    opacity: 0;
+  }
+  to {
+    opacity: 1;
+  }
+}
+@-webkit-keyframes fadeOutContainer {
+  from {
+    background-color: #eeeeee;
+  }
+  to {
+    background-color: transparent;
+  }
+}
+@keyframes fadeOutContainer {
+  from {
+    background-color: #eeeeee;
+  }
+  to {
+    background-color: transparent;
+  }
 }html {
   -webkit-text-size-adjust: none;
   font-size: 100%;
@@ -467,26 +937,296 @@
     display: block !important;
     width: auto !important;
   }
-}/* Loading animation in pure CSS
-   Thanks to http://dabblet.com/gist/7708654 */
-.loading {
-  border: 4px solid rgba(0, 0, 0, 0.1);
-  border-top: 4px solid rgba(0, 0, 0, 0.4);
-  border-radius: 100%;
-  -webkit-animation: rot .6s infinite linear;
-}
-@-webkit-keyframes rot {
-  from {
-    -webkit-transform: rotate(0deg);
+}/*
+A file for css that optimises the Minerva skin on larger devices.
+*/
+@media all and (min-width: 720px) {
+  .content_block {
+    width: auto;
+    clear: none;
   }
-  to {
-    -webkit-transform: rotate(359deg);
+  .heading-holder {
+    padding: 20px 0;
+  }
+  .heading-holder {
+    position: relative;
+  }
+  .heading-holder #section_0 {
+    border-bottom: none;
+    padding: 0 0 7px 0;
+    font-size: 2.6525em;
+  }
+  #page-actions {
+    padding: 18px 0 0 0;
+  }
+  #page-actions li {
+    display: inline-block;
+  }
+  #page-actions li:first-child {
+    margin-top: 0;
+  }
+  .pre-content,
+  .content,
+  .content-overlay,
+  .post-content {
+    max-width: 55.8em;
+    margin: 0 3.35em;
+  }
+  .content .thumb.tleft {
+    /* @noflip */
+    float: left;
+    /* @noflip */
+    clear: left;
+    /* @noflip */
+    margin-right: 1.4em;
+  }
+  .content .thumb.tright {
+    /* @noflip */
+    float: right;
+    /* @noflip */
+    clear: right;
+    /* @noflip */
+    margin-left: 1.4em;
+  }
+  .content blockquote {
+    padding-right: 35px;
+    padding-left: 40px;
+  }
+  .content table {
+    display: table;
+    width: auto !important;
+  }
+  .content table caption {
+    display: table-caption;
+  }
+  .content table tbody {
+    display: table-row-group;
+  }
+  #footer {
+    padding: 2em 3.35em 1.5em 3.35em;
+  }
+  #mw-mf-last-modified {
+    padding: 5px 0;
+  }
+  .last-modified-bar {
+    background-color: transparent;
+    padding-left: 0;
+    padding-right: 0;
+    font-size: 1em;
+  }
+  .last-modified-bar.active {
+    background-color: transparent;
+  }
+  .last-modified-bar.active #mw-mf-last-modified {
+    background-color: #00af8b;
+  }
+  .last-modified-bar #mw-mf-last-modified {
+    background-color: #eeeeee;
+    font-size: 0.9em;
+    padding-left: 16px;
+    padding-right: 16px;
   }
 }
-#loading_sections {
-  margin: 8px auto;
-  height: 24px;
-  width: 24px;
+@media all and (min-width: 62.5em) {
+  #mw-mf-page-center .mw-mf-banner,
+  .banner-container,
+  .header,
+  .page-header-bar,
+  .content-header,
+  .overlay-header,
+  .content,
+  .overlay-content,
+  .content-unstyled,
+  .pre-content,
+  .post-content,
+  .content-overlay,
+  #mw-mf-page-center .pointer-overlay {
+    margin-left: auto;
+    margin-right: auto;
+    max-width: 55.8em;
+  }
+  .header {
+    margin-top: -1px;
+  }
+  .main-menu-button {
+    left: -1em;
+  }
+  #secondary-button {
+    right: -1em;
+  }
+  #searchInput {
+    margin-left: -1em;
+  }
+}
+
+/*
+A file for css that corrects known rendering issues on known Wikimedia wikis 
ON TABLETS
+Many of them correct hacks in place in common/hacks.less
+
+It will become redundant when the following RFC is resolved:
+https://www.mediawiki.org/wiki/Requests_for_comment/Allow_styling_in_templates
+
+FIXME: Review all of these hacks to see if they still apply.
+*/
+/* Tablet specific styling */
+@media all and (min-width: 720px) {
+  table.infobox {
+    margin: .5em 0 1em 35px !important;
+    max-width: 320px;
+    width: auto !important;
+    float: right !important;
+    clear: right !important;
+  }
+  #mw-mf-page-center .mw-mf-banner {
+    background-clip: content-box !important;
+  }
+}@media print {
+       li.gallerybox {
+               vertical-align: top;
+               display: inline-block;
+       }
+       
+       ul.gallery, li.gallerybox {
+               zoom: 1;
+               *display: inline;
+       }
+       
+       ul.gallery {
+               margin: 2px;
+               padding: 2px;
+               display: block;
+       }
+       
+       li.gallerycaption {
+               font-weight: bold;
+               text-align: center;
+               display: block;
+               word-wrap: break-word;
+       }
+       
+       li.gallerybox div.thumb {
+               text-align: center;
+               border: 1px solid #ccc;
+               margin: 2px;
+       }
+       
+       div.gallerytext {
+               overflow: hidden;
+               font-size: 94%;
+               padding: 2px 4px;
+               word-wrap: break-word;
+       }}/* Galleries */
+/* These display attributes look nonsensical, but are needed to support IE and 
FF2 */
+/* Don't forget to update gallery-print.css */
+li.gallerybox {
+       vertical-align: top;
+       display: -moz-inline-box;
+       display: inline-block;
+}
+
+ul.gallery,
+li.gallerybox {
+       zoom: 1;
+       *display: inline;
+}
+
+ul.gallery {
+       margin: 2px;
+       padding: 2px;
+       display: block;
+}
+
+li.gallerycaption {
+       font-weight: bold;
+       text-align: center;
+       display: block;
+       word-wrap: break-word;
+}
+
+li.gallerybox div.thumb {
+       text-align: center;
+       border: 1px solid #ccc;
+       background-color: #f9f9f9;
+       margin: 2px;
+}
+
+li.gallerybox div.thumb img {
+       display: block;
+       margin: 0 auto;
+}
+
+div.gallerytext {
+       overflow: hidden;
+       font-size: 94%;
+       padding: 2px 4px;
+       word-wrap: break-word;
+}
+
+/* new gallery stuff */
+ul.mw-gallery-nolines li.gallerybox div.thumb {
+       background-color: transparent;
+       border: none;
+}
+
+ul.mw-gallery-nolines li.gallerybox div.gallerytext {
+       text-align: center;
+}
+
+/* height constrained gallery */
+
+ul.mw-gallery-packed li.gallerybox div.thumb,
+ul.mw-gallery-packed-overlay li.gallerybox div.thumb,
+ul.mw-gallery-packed-hover li.gallerybox div.thumb {
+       background-color: transparent;
+       border: none;
+}
+
+ul.mw-gallery-packed li.gallerybox div.thumb img,
+ul.mw-gallery-packed-overlay li.gallerybox div.thumb img,
+ul.mw-gallery-packed-hover li.gallerybox div.thumb img {
+       margin: 0 auto;
+}
+
+ul.mw-gallery-packed-hover li.gallerybox,
+ul.mw-gallery-packed-overlay li.gallerybox {
+       position: relative;
+}
+
+ul.mw-gallery-packed-hover div.gallerytextwrapper {
+       overflow: hidden;
+       height: 0;
+}
+
+ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper,
+ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper,
+ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused 
div.gallerytextwrapper {
+       position: absolute;
+       background: white;
+       background: rgba(255, 255, 255, 0.8);
+       padding: 5px 10px;
+       bottom: 0;
+       left: 0; /* Needed for IE */
+       height: auto;
+       font-weight: bold;
+       margin: 2px; /* correspond to style on div.thumb */
+}
+
+ul.mw-gallery-packed-hover,
+ul.mw-gallery-packed-overlay,
+ul.mw-gallery-packed {
+       text-align: center;
+}.mw-empty-li {
+       display: none;
+}#issues_container div.hatnote {
+  display: none;
+}
+a.disambig_button {
+  text-decoration: none;
+  color: #555555;
+  float: left;
+}
+a.disambig_button:active {
+  color: #b0b0b0;
 }
 
 a.edit_section_button {
@@ -564,107 +1304,6 @@
   /* Flip it! */
   -webkit-transform: scaleX(-1);
   transform: scaleX(-1);
-}
-
-div.issues_container {
-  margin-top: -0.2em;
-  margin-bottom: 2.2em;
-  padding-top: 1px;
-  padding-bottom: 1px;
-  width: 100%;
-  display: block;
-  font-size: .9em;
-  letter-spacing: 0.02em;
-  color: #555555;
-}
-span.issues_separator {
-  padding-left: 0.6em;
-  padding-right: 0.6em;
-  float: left;
-}
-a.issues_button {
-  text-decoration: none;
-  color: #555555;
-  float: left;
-}
-a.issues_button:active {
-  color: #b0b0b0;
-}
-
-#issues_container div.hatnote {
-  display: none;
-}
-a.disambig_button {
-  text-decoration: none;
-  color: #555555;
-  float: left;
-}
-a.disambig_button:active {
-  color: #b0b0b0;
-}
-
-.content table.infobox {
-  font-size: 100%;
-}
-table.infobox caption {
-  text-align: center;
-  font-weight: bold;
-}
-.app_table_container {
-  width: 100%;
-  margin-top: 14px;
-  margin-bottom: 14px;
-  border-radius: 2px;
-  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.12), 0 0 1px 0 rgba(0, 0, 0, 0.18);
-}
-.app_table_collapsed_container {
-  padding-left: 12px;
-  padding-right: 48px;
-  padding-top: 12px;
-  padding-bottom: 12px;
-  line-height: 120%;
-  background-color: #f8f8f8;
-  background-repeat: no-repeat;
-  background-position: 95% 50%;
-  background-size: 16px 16px;
-}
-.app_table_collapsed_open {
-  border-radius: 2px;
-  background-image: 
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwQAADsEBuJFr7QAAABh0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4zjOaXUAAAAoZJREFUaEPtmE1uE0EQhceEn1NwFEtwALL0CSzbe2+9QQgJAoKI8BeF8I8ImCQCIRCSxVk4QNhkxwZ4z+qOespvPNMzYxCiS/ricVVX1evpnukkWbJkyZIlS5Ys2f9ss9lsTr/fPz8ajV4Mh8Nv4Dv4OhgMLvr43wKaLkDLF3BEbdRIrT4+/wGhlxA8Br8MPxG74gf/adD7OjUYTeSYmjkmw5d18CMILoBZ37DFVw0E3lFaAqh5nROYBs5CUPC2arQCOuh1T2kQTLNer3cGF4cmIOFdEQ3bhOIfqt6CQ2qfJ7pJHJgBEt4dNgqatgXF76iegn1qZt5JgclkchqBd2ZgEdts6HOb0u12T+E52xV9FFNq9bm5Qm4Sb01CEY/YOMyvgxP/VNRfAOPehOJJrhjhAA5UBQRPmkwC+WvoxbNH1c6B7fUan2u2Ru6LhwNdgixmeA4WCpfBHPDK1SiD42SPBYeHCS5RFbQUNlC4rboX5BfiVqiwtnR6mIiVeBkWXMKe3Z+KmOcMvZ+VbVHpDGEBFOM2kU0MuTeExb2u901OEZWeL+m0xLwpwIF/R4c48ZUOTPTarfpykE4FC2JJH6uGgvfgrM/lNfjgYktBjx3kVD5jpLMItxJVD5yP4/H4HOG1iRURfUBKZwkxR/4n8Nn4JLgxD1jb9CpFOivQQdNtK6IuuCG1f7+Szop0eNeUoEi2RO3KSGcEXIn7RlAMm6JmFNIZC1birhC3FOTcUrVikc46YB+X/Ql4AsbeVDXqIJ11gbhNK1awoXLrIp1N4NYQoucgdk3lNEE6m8ItIsRfVWObIp1tANEbXjwmtLL/LUlnW3DLYAKXVawtkiVLlixZsn/Ysuw35enU+iMlJaQAAAAASUVORK5CYII=);
-  background-image: 
url(/w/extensions/MobileApp/images/table_expand.png?1f7f0)!ie;
-}
-.app_table_collapse_close {
-  border-radius: 2px 2px 0px 0px;
-}
-.app_table_collapse_icon {
-  background-image: 
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwQAADsEBuJFr7QAAABh0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4zjOaXUAAAAoBJREFUaEPtmE1uE0EQhW3Mzyk4iiU4AFn6BJbtvbfeIIQEAUEUCEnE/58ImCQCIRCSxVk4AGyyYwN5L+qOxuXXM90zthCiS/ricXV11avunhkrrWzZsmXLlu2fttlstjJGo9GN4XB4VY0tC+lcBhC+Dv6QwWBwTcUsA+lsCgTf9uI92I3rKrYp0tkECL1jxXt4pNScJkhnXSByw4oWrKu5dZHOOuDYbAqxEh4xlaMO0pkKjsZ9JbQMHjWVKxXpTKANMQ+suAQ2RM4kpDOSNlZxW4hK5Z7IHY10RsCV3zVCaoN7Yos5TY0opLOCNgo+VEIEn8EX45NwN5nb1KpEOkN0u90zKPRYCRB8Go/HFwivzViIXdRJakI6FRSPlX8iiio+gPN+Lq/BRzdWCncXc6KbkE6LW/lnqqDgoNfrnbM56MPYoYmVcJdZ0+ZQSGcRJkLSF7ZIgOlkMjmr8hDXxL6ZE+JpTBPS6UGSDrb0lUkcYq9MvIcxiH1n5kpQ+3lVE9JJkKADXhcTlsC4jsqjcE3sFeYHwXF6ic9gbunkBHT/ppioBB6vaPEezgGNF2jBwdVB129NghBR5zQE5nfcCqvcc7gFXWhi7kvK+QSPmoj3MEfsE44La++z0wsn/r2dFCD5hVOGayL2BTn3pDv54x5vByZQgq2s/bulgpSfKPv+XZP0gkGBTVN02bCJHVVbcEjtvJGmZkCCxHdFwVXAJraUBsGUDayBXwXnAjift0ShlcLdVloKUPOaD76CL0eFQc9vjK3sfzpVoPZNajCayBE1M+Y0uN/vX3TP5O/gJ/iGoMt+/G8BTZeg5Sv4QW3USK1+PFu2bNmyZcuW7f+1VusYzYvU+uNoBCAAAAAASUVORK5CYII=);
-  background-image: 
url(/w/extensions/MobileApp/images/table_collapse.png?d3e42)!ie;
-}
-.app_span_collapse_text {
-  color: #808080;
-}
-.app_table_collapsed_bottom {
-  color: #808080;
-  padding-left: 12px;
-  padding-right: 48px;
-  padding-top: 12px;
-  padding-bottom: 12px;
-  line-height: 120%;
-  border-radius: 0px 0px 2px 2px;
-  background-color: #f8f8f8;
-  background-repeat: no-repeat;
-  background-position: 95% 50%;
-  background-size: 16px 16px;
-}
-
-.ipa_button {
-  display: inline-block;
-  margin-bottom: -3px;
-  background-image: 
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAAgCAYAAABHA7voAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAABBRJREFUWEfdWflPFkEM5U9HQUGj0WiMmnhrRBMVUeOt4fQG8cALBU8OEUEURK7aN06Xbr/Z/Wb59hd5yYtZ253Zt+203Y+6je0kpHVEp4mI6tajOGEiMGRMePkN0YHesK0M3hrixygRem1GvsDd94gWl4mWV4jufyba2h32WytPPXMP4bDCe2QxhDwfWZ+RL/DxqHNKMP2baMfdsG9RbmBmPXwWYt1lD0a2QAhZWHJOCYaniBo6wv5FWVRcEcgejGyBN945hxSO9ad9dt8n2lRQMNK8VnHVbpe9GNkCR386hwS4blD2zZ1EE7NEIzNEB/vS9+YRZ9oCgucX/YXBWt6F7MUIC9zFxQWFRePaYNqn9aU3MOD7gItQc1fax/Iwv4gYLAdeQgwkM2Q/Rlhg2ytnTAABEK19Pv/wRo/ZBaJtPWmfEMd++Rs81hKhapC9GGGBvSPOmACpqO04ezbCne/TPkhhfa3ZxtFHynfwPXYdAaIhzIO2R0fQRqd/LG2/9NobPPCQ6Jlih7gxFnD9LVFjlSLUMewXKQFRAlEVf/5xxgSoqNqnz0R4nNNO28+98AYGInUopwgdf+IdFfCgS9yiwCKIEtjEhWLJOwrODKR9Pkx7g0c/DwTa/pQjrjE9H24nONc6xWKQ5y/FSdZnVApEobA4rvofWsU3PpMa7Zxmeg3bYh5+SduFUzwZlYmoCGKCsTj8eNWOSeb7nDd43FQpjBdg7Rioxa55+vm/9EfVRpac5dS+yOf7PBch2Fr5Gi/HvrAsRAkMRVBPMBAwaQTcNgJGzAOhKmu7UA8OIWJexb+2tQB5qSr3MyoFolnb0o23qX0+mSr7yAh4Ys7g4GTaboXh2okJnNMLpifHnFm5l1EpcBOXeDRtjatmink27g0eaCvajnQD8KJ6Pub3RKEVfZSz5grvm9Un8yBrMCoFgtWKBPqbBubL7WqKgaD3/OVxgluAvs+ykf1a+Jtw3wNek88izmov7zVgXqBGzREEbZnHQK3t+x9WbmSjXO18gd0f/M2RiBEHyPqMsECkhoaL0J1VOx4e45sGSj56qF6nGvdw5Ow3ZxmQ9RlhgfsQIWdfBUq59rFpirRey9f+DA8BZUPWZoQFIkK2FQzxmdI+W/jDdYZHOhQB/F7TFFFIQoxNuyKQtRlhgWCXOR94Dpw97YPG3PI0/X9FOWcqdhmQtRnZAnE+7Ew68DXsWwtjIlg0yrI2I1sg+GrCOSVAOuqxrVbiKAybwb0MyPqMfIH4wVe/PXzj7TVpWgullaBg4RMNvTMW+rlshGV9Rr5AEFML7sdvLkXbQCwreiaPbFKRMTo2cwHDkH+Es8e2Jwu9DsMJzBW5kzc6WWMhqUYZqktm6o8vVSP5n9FpcgLr6+vXLYmo7i97FXYYGMQFoAAAAABJRU5ErkJggg==);
-  background-image: url(/w/extensions/MobileApp/images/ipa.png?736e4)!ie;
-  background-size: 28px 16px;
-  height: 16px;
-  width: 28px;
 }
 
 /* FIXME: Copied over from 
http://en.wikipedia.org/w/index.php?title=MediaWiki:Mobile.css&oldid=609508028
@@ -1010,6 +1649,62 @@
   overflow: auto;
 }
 
+div.issues_container {
+  margin-top: -0.2em;
+  margin-bottom: 2.2em;
+  padding-top: 1px;
+  padding-bottom: 1px;
+  width: 100%;
+  display: block;
+  font-size: .9em;
+  letter-spacing: 0.02em;
+  color: #555555;
+}
+span.issues_separator {
+  padding-left: 0.6em;
+  padding-right: 0.6em;
+  float: left;
+}
+a.issues_button {
+  text-decoration: none;
+  color: #555555;
+  float: left;
+}
+a.issues_button:active {
+  color: #b0b0b0;
+}
+
+/* Loading animation in pure CSS
+   Thanks to http://dabblet.com/gist/7708654 */
+.loading {
+  border: 4px solid rgba(0, 0, 0, 0.1);
+  border-top: 4px solid rgba(0, 0, 0, 0.4);
+  border-radius: 100%;
+  -webkit-animation: rot .6s infinite linear;
+}
+@-webkit-keyframes rot {
+  from {
+    -webkit-transform: rotate(0deg);
+  }
+  to {
+    -webkit-transform: rotate(359deg);
+  }
+}
+#loading_sections {
+  margin: 8px auto;
+  height: 24px;
+  width: 24px;
+}
+
+.ipa_button {
+  display: inline-block;
+  margin-bottom: -3px;
+  background-image: url(/w/extensions/MobileApp/styles/images/ipa.png);
+  background-size: 28px 16px;
+  height: 16px;
+  width: 28px;
+}
+
 .content figcaption {
   margin: .5em 0 0;
   font-size: .8em;
@@ -1019,13 +1714,58 @@
   width: auto !important;
 }
 
-.wideImageOverride {
-  /* Center images. */
-  display: block;
-  clear: both;
-  margin-left: auto;
-  margin-right: auto;
+.content table.infobox {
+  font-size: 100%;
 }
+table.infobox caption {
+  text-align: center;
+  font-weight: bold;
+}
+.app_table_container {
+  width: 100%;
+  margin-top: 14px;
+  margin-bottom: 14px;
+  border-radius: 2px;
+  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.12), 0 0 1px 0 rgba(0, 0, 0, 0.18);
+}
+.app_table_collapsed_container {
+  padding-left: 12px;
+  padding-right: 48px;
+  padding-top: 12px;
+  padding-bottom: 12px;
+  line-height: 120%;
+  background-color: #f8f8f8;
+  background-repeat: no-repeat;
+  background-position: 95% 50%;
+  background-size: 16px 16px;
+}
+.app_table_collapsed_open {
+  border-radius: 2px;
+  background-image: 
url(/w/extensions/MobileApp/styles/images/table_expand.png);
+}
+.app_table_collapse_close {
+  border-radius: 2px 2px 0px 0px;
+}
+.app_table_collapse_icon {
+  background-image: 
url(/w/extensions/MobileApp/styles/images/table_collapse.png);
+}
+.app_span_collapse_text {
+  color: #808080;
+}
+.app_table_collapsed_bottom {
+  color: #808080;
+  padding-left: 12px;
+  padding-right: 48px;
+  padding-top: 12px;
+  padding-bottom: 12px;
+  line-height: 120%;
+  border-radius: 0px 0px 2px 2px;
+  background-color: #f8f8f8;
+  background-repeat: no-repeat;
+  background-position: 95% 50%;
+  background-size: 16px 16px;
+}
+
 @media (orientation: portrait) {
   .wideImageOverride {
     width: 100% !important;
@@ -1059,16 +1799,4 @@
 .gallerytext,
 figcaption {
   text-align: center;
-}
-/* Add a little breathing room beneath thumb captions - see enwiki "Vincent 
van Gogh > Paris (1886-1888)" */
-.thumbcaption,
-figcaption {
-  margin-bottom: 1.5em !important;
-}
-/* Wrangle extra margin - see enwiki "Claude Monet > Impressionism" */
-li.gallerybox div.thumb > div {
-  margin: 0px !important;
-}
-div.gallerytext > p {
-  margin-top: 0px !important;
 }
\ No newline at end of file
diff --git a/scripts/make-css-assets.bash b/scripts/make-css-assets.bash
index bd32bd9..7aa79a4 100755
--- a/scripts/make-css-assets.bash
+++ b/scripts/make-css-assets.bash
@@ -3,6 +3,6 @@
 PREFIX="http://127.0.0.1:8080/w";
 BASE_PATH="`dirname $0`/.."
 
-wget 
"$PREFIX/load.php?debug=true&lang=en&modules=skins.minerva.base.reset|skins.minerva.content.styles|mobile.app.pagestyles.android&only=styles&skin=vector&version=&*"
 -O "$BASE_PATH/app/src/main/assets/styles.css"
-wget 
"$PREFIX/load.php?debug=true&lang=en&modules=skins.minerva.base.reset|skins.minerva.content.styles|mobile.app.preview&only=styles&skin=vector&version=&*"
 -O "$BASE_PATH/app/src/main/assets/preview.css"
+wget 
"$PREFIX/load.php?debug=true&lang=en&modules=skins.minerva.base.reset|skins.minerva.base.styles|skins.minerva.content.styles|skins.minerva.tablet.styles|mediawiki.page.gallery.styles|mediawiki.raggett|mobile.app.pagestyles.android&only=styles&skin=minerva&version=&*"
 -O "$BASE_PATH/app/src/main/assets/styles.css"
+wget 
"$PREFIX/load.php?debug=true&lang=en&modules=skins.minerva.base.reset|skins.minerva.base.styles|skins.minerva.content.styles|skins.minerva.tablet.styles|mediawiki.page.gallery.styles|mediawiki.raggett|mobile.app.preview&only=styles&skin=minerva&version=&*"
 -O "$BASE_PATH/app/src/main/assets/preview.css"
 wget 
"$PREFIX/load.php?debug=true&lang=en&modules=mobile.app.pagestyles.android.night&only=styles&skin=vector&version=&*"
 -O "$BASE_PATH/app/src/main/assets/night.css"

-- 
To view, visit https://gerrit.wikimedia.org/r/282437
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id043c42d8191ec8a548e2e353b3cf728321dac32
Gerrit-PatchSet: 1
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Mholloway <mhollo...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to