User:James Hare/vector.css

From Wikimedia District of Columbia
< User:James Hare
Revision as of 20:53, 27 January 2015 by James Hare (talk | contribs) (Working)
Jump to navigation Jump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* ============
 *    NOTICE
 * ============
 *
 * This CSS file is an AUTO-GENERATED file compiled from LESS. Any changes made
 * to this file may (and probably will) be overwritten in future iterations.
 */
/* CSS overrides to make pages look like regular web pages instead of MediaWiki pages. */
/* Make scribunto a bit nicer */
.source-lua {
  tab-size: 4;
}
/* Make graphs act like inline blocks */
.mw-wiki-graph {
  display: inline-block;
}
.mw-wiki-graph[data-spec='{"width":1,"height":1}'] {
  /* Workaround to hide non-rendered graphs. Will NOT affect properly-rendered graphs. */
  display: none;
}
/* Hide the interface outside the content area */
body.page,
body.page-Special_UserLogin {
  width: 68.75em;
  margin: auto;
}
body.page #mw-page-base,
body.page-Special_UserLogin #mw-page-base,
body.page #mw-head-base,
body.page-Special_UserLogin #mw-head-base,
body.page #mw-navigation,
body.page-Special_UserLogin #mw-navigation,
body.page #firstHeading,
body.page-Special_UserLogin #firstHeading,
body.page #contentSub,
body.page-Special_UserLogin #contentSub,
body.page #jump-to-nav,
body.page-Special_UserLogin #jump-to-nav,
body.page #footer,
body.page-Special_UserLogin #footer {
  display: none;
}
@media screen {
  body.page .mw-body-content,
  body.page-Special_UserLogin .mw-body-content {
    font-size: 1em;
  }
  body.page .mw-body p,
  body.page-Special_UserLogin .mw-body p {
    margin: 0;
  }
}
body.page #content,
body.page-Special_UserLogin #content {
  border: 0.0625em solid #e6e6e6;
  margin: 5.063em 0 1.25em;
  padding: 2.5em 4.875em;
}
body.page h1,
body.page-Special_UserLogin h1,
body.page h2,
body.page-Special_UserLogin h2,
body.page h3,
body.page-Special_UserLogin h3,
body.page h4,
body.page-Special_UserLogin h4,
body.page h5,
body.page-Special_UserLogin h5,
body.page h6,
body.page-Special_UserLogin h6 {
  font-family: Georgia, serif;
  border-bottom: none;
}
body.page #fake-header,
body.page-Special_UserLogin #fake-header {
  /* Fake the header and override #content styles */
  position: absolute;
  top: -6.3755em;
  left: -4.9375em;
  right: -5.8755em;
  line-height: 41px;
  font-family: Arial;
  font-weight: bold;
}
body.page #fake-header #logo,
body.page-Special_UserLogin #fake-header #logo {
  height: 41px;
}
body.page #fake-header ul,
body.page-Special_UserLogin #fake-header ul {
  list-style: none;
  margin: 0;
  float: right;
  line-height: inherit;
}
body.page #fake-header ul li,
body.page-Special_UserLogin #fake-header ul li {
  margin: 0;
  float: left;
  text-transform: uppercase;
}
body.page #fake-header ul li a,
body.page-Special_UserLogin #fake-header ul li a {
  color: black;
  padding: 0.5em 0.75em;
}
body.page #fake-header ul li a:hover,
body.page-Special_UserLogin #fake-header ul li a:hover {
  text-decoration: none;
  background-color: #DDD;
}
body.page #fake-header ul li.active a,
body.page-Special_UserLogin #fake-header ul li.active a {
  color: white;
  background-color: black;
}
body.page #fake-header ul li.active a:hover,
body.page-Special_UserLogin #fake-header ul li.active a:hover {
  color: black;
  background-color: #DDD;
}
body.page #fake-footer,
body.page-Special_UserLogin #fake-footer {
  /* Fake the footer and override #content styles */
  position: absolute;
  bottom: -10.0625em;
  left: -4.9375em;
  right: -4.9375em;
  font-family: Arial;
  margin-bottom: 1.25em;
  /* Two useless properties, but they help visualize spacing */
  height: 5.5em;
  margin-top: 0.75em;
}
body.page #fake-footer a,
body.page-Special_UserLogin #fake-footer a {
  color: black;
}
body.page #fake-footer ul,
body.page-Special_UserLogin #fake-footer ul {
  list-style: none;
  margin: 0;
}
body.page #fake-footer ul li,
body.page-Special_UserLogin #fake-footer ul li {
  margin: 0;
  padding: 0.5em 0;
  line-height: 1.75;
}
body.page #fake-footer #fake-footer-icons,
body.page-Special_UserLogin #fake-footer #fake-footer-icons {
  float: right;
}
body.page #fake-footer #fake-footer-icons li,
body.page-Special_UserLogin #fake-footer #fake-footer-icons li {
  float: left;
  margin-left: 0.5em;
}
body.page #fake-footer #fake-footer-places li,
body.page-Special_UserLogin #fake-footer #fake-footer-places li {
  float: left;
  margin-right: 1.5em;
  text-transform: uppercase;
}
body.page #fake-footer #fake-footer-info,
body.page-Special_UserLogin #fake-footer #fake-footer-info {
  font-size: 0.825em;
  color: #555;
}
body.page.ltr #fake-footer #fake-footer-places,
body.page-Special_UserLogin.ltr #fake-footer #fake-footer-places,
body.page.ltr #fake-footer #fake-footer-info,
body.page-Special_UserLogin.ltr #fake-footer #fake-footer-info {
  float: left;
}
/*
 * ===================
 *  zero.content.less
 * ===================
 */
body.page,
body.page-Special_UserLogin {
  font-size: 16px;
  font-family: Georgia, serif;
}
body.page h1,
body.page-Special_UserLogin h1 {
  font-size: 2.5em;
  line-height: 1.25;
}
body.page h2,
body.page-Special_UserLogin h2 {
  font-size: 1.875em;
  line-height: 1.267;
}
body.page h3,
body.page-Special_UserLogin h3 {
  font-size: 1.5em;
  line-height: 1.333;
}
body.page h4,
body.page-Special_UserLogin h4 {
  font-size: 1.25em;
  line-height: 1.4;
}
body.page h5,
body.page-Special_UserLogin h5,
body.page h6,
body.page-Special_UserLogin h6 {
  font-size: 1.125em;
  line-height: 1.444;
}
body.page p,
body.page-Special_UserLogin p {
  font-size: 1em;
  line-height: 1.5;
  color: #444;
}
body.page hr,
body.page-Special_UserLogin hr {
  margin: 20px 0;
}
body.page .caption,
body.page-Special_UserLogin .caption {
  font-style: italic;
  font-size: .875em;
  line-height: 1.5;
  margin-top: 1em;
  color: #777777;
}
body.page .arrow-link,
body.page-Special_UserLogin .arrow-link {
  display: block;
  font-family: Arial;
  font-size: 1.125em;
  line-height: 1.111em;
  margin-top: 1.778em;
  padding-left: 1.3em;
  color: #347bff;
  background: url(https://zero.wikimedia.org/w/img_auth.php/3/3b/Arrow-circle-right.svg) no-repeat;
}
body.page .stat,
body.page-Special_UserLogin .stat {
  display: table-cell;
  font-family: Arial;
  font-size: 1.5em;
  line-height: 1.25;
  color: #555555;
  width: 6.667em;
}
body.page .stat .stat-icon,
body.page-Special_UserLogin .stat .stat-icon {
  background-color: #347bff;
  color: #00af89;
  width: 50px;
  height: 50px;
}
body.page .stat .stat-icon.stat-icon-phone,
body.page-Special_UserLogin .stat .stat-icon.stat-icon-phone {
  background: 50px url(https://zero.wikimedia.org/w/img_auth.php/0/0c/Circle-mobile.svg);
}
body.page .stat .stat-icon.stat-icon-subs,
body.page-Special_UserLogin .stat .stat-icon.stat-icon-subs {
  background: 50px url(https://zero.wikimedia.org/w/img_auth.php/2/24/Circle-users.svg);
}
body.page .stat .stat-icon.stat-icon-views,
body.page-Special_UserLogin .stat .stat-icon.stat-icon-views {
  background: 50px url(https://zero.wikimedia.org/w/img_auth.php/c/cb/Circle-views.svg);
}
body.page .stat .stat-text,
body.page-Special_UserLogin .stat .stat-text {
  padding-top: .75em;
}
body.page .clearbox,
body.page-Special_UserLogin .clearbox {
  clear: both;
}
body.page #big-image,
body.page-Special_UserLogin #big-image {
  width: 68.625em;
  height: 30.538125em;
  margin: -2.5em -4.875em 0;
  display: table;
  float: left;
  background: 0 20% / 68.625em url(https://upload.wikimedia.org/wikipedia/commons/thumb/0/0f/Johannesburg_-_Wikipedia_Zero_-_258A9925.jpg/1098px-Johannesburg_-_Wikipedia_Zero_-_258A9925.jpg);
}
body.page #big-image #overlay-text,
body.page-Special_UserLogin #big-image #overlay-text {
  display: table-cell;
  vertical-align: bottom;
  padding: 0 1.5em 1em;
  font-size: 1.5em;
  font-style: italic;
  line-height: 2;
  color: white;
  background-color: rgba(0, 0, 0, 0.3);
  background: -webkit-gradient(linear, left bottom, right top, from(rgba(0, 0, 0, 0.3)), to(rgba(0, 0, 0, 0)));
  background: -webkit-linear-gradient(left bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  background: -moz-linear-gradient(left bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  background: -ms-linear-gradient(left bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  background: -o-linear-gradient(left bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  background: linear-gradient(to right top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
}
body.page #big-image #overlay-text #overlay-text-shout,
body.page-Special_UserLogin #big-image #overlay-text #overlay-text-shout {
  font-style: normal;
  font-size: 1.5em;
  line-height: 1;
}
body.page #mission-container,
body.page-Special_UserLogin #mission-container {
  margin: 1.75em 0 2.25em;
}
body.page #mission-container #mission,
body.page-Special_UserLogin #mission-container #mission {
  color: #777777;
  margin: 0;
}
body.page #mission-container #mission .highlight-text,
body.page-Special_UserLogin #mission-container #mission .highlight-text {
  color: #00af89;
}
body.page #partner-benefit-container,
body.page-Special_UserLogin #partner-benefit-container {
  border-top: 2px solid #dddddd;
  border-bottom: 2px solid #dddddd;
  padding: 2.5em 0;
}
body.page #partner-benefit-container #video-container,
body.page-Special_UserLogin #partner-benefit-container #video-container {
  float: right;
  width: 22.813em;
}
body.page #partner-benefit-container h2,
body.page-Special_UserLogin #partner-benefit-container h2 {
  margin-top: 0;
}
body.page #partner-benefit-container p,
body.page-Special_UserLogin #partner-benefit-container p {
  width: 32.5em;
}
body.page #map-container,
body.page-Special_UserLogin #map-container {
  margin-top: 2.5em;
}
body.page #map-container #map,
body.page-Special_UserLogin #map-container #map {
  position: absolute;
  right: 0;
}
body.page #map-container #countries-served-container,
body.page-Special_UserLogin #map-container #countries-served-container {
  font-family: Arial;
  color: #00af89;
}
body.page #map-container #countries-served-container #countries-served-number,
body.page-Special_UserLogin #map-container #countries-served-container #countries-served-number {
  font-size: 10em;
  line-height: .75;
}
body.page #map-container #countries-served-container #countries-served-text,
body.page-Special_UserLogin #map-container #countries-served-container #countries-served-text {
  font-size: 2.5em;
}
body.page #map-container #stats-container,
body.page-Special_UserLogin #map-container #stats-container {
  display: table;
  margin-top: 1.375em;
}
/*
 * ===================
 *  zero.dashboard.less
 * ===================
 */
body.page #portal-dashboard,
body.page-Special_UserLogin #portal-dashboard {
  margin: 0 -4.875em;
  justify-content: space-around;
  font-family: Arial;
}
body.page #portal-dashboard h2,
body.page-Special_UserLogin #portal-dashboard h2 {
  margin-top: 0;
}
body.page #portal-dashboard h3,
body.page-Special_UserLogin #portal-dashboard h3,
body.page #portal-dashboard h4,
body.page-Special_UserLogin #portal-dashboard h4,
body.page #portal-dashboard h5,
body.page-Special_UserLogin #portal-dashboard h5,
body.page #portal-dashboard h6,
body.page-Special_UserLogin #portal-dashboard h6 {
  font-weight: normal;
}
body.page .icon,
body.page-Special_UserLogin .icon {
  height: 1.5em;
  padding-left: 1.25em;
}
body.page .icon.status-constructive,
body.page-Special_UserLogin .icon.status-constructive {
  background: 0 / 1em url(https://zero.wikimedia.org/w/img_auth.php/e/e6/Check-1.svg) no-repeat;
}
body.page .icon.status-pending,
body.page-Special_UserLogin .icon.status-pending {
  background: 0 / 1em url(https://zero.wikimedia.org/w/img_auth.php/4/45/Pending.svg) no-repeat;
}
body.page .icon.status-destructive,
body.page-Special_UserLogin .icon.status-destructive {
  background: 0 / 1em url(https://zero.wikimedia.org/w/img_auth.php/a/af/Status-circle.svg) no-repeat;
}
body.page .flex-container,
body.page-Special_UserLogin .flex-container {
  display: flex;
}
body.page .flex,
body.page-Special_UserLogin .flex {
  flex-grow: 1;
}
body.page #overall-status,
body.page-Special_UserLogin #overall-status {
  display: inline-block;
}
body.page #overall-status,
body.page-Special_UserLogin #overall-status,
body.page .status-container,
body.page-Special_UserLogin .status-container {
  text-transform: uppercase;
  margin: 5px 0 15px;
  font-size: 0.9em;
}
body.page .status-constructive,
body.page-Special_UserLogin .status-constructive {
  color: #00af89;
}
body.page .status-pending,
body.page-Special_UserLogin .status-pending {
  color: #ffb50d;
}
body.page .status-destructive,
body.page-Special_UserLogin .status-destructive {
  color: #d11d13;
}
body.page #dashboard-sidebar,
body.page-Special_UserLogin #dashboard-sidebar {
  width: 16.25em;
  margin-left: 10px;
}
body.page #dashboard-content,
body.page-Special_UserLogin #dashboard-content {
  width: 48.75em;
}
body.page #docs-container .flex,
body.page-Special_UserLogin #docs-container .flex {
  width: 15em;
}
body.page #analytics-button,
body.page-Special_UserLogin #analytics-button {
  float: right;
}
body.page #testing-config,
body.page-Special_UserLogin #testing-config {
  flex-grow: 1;
  min-width: 50%;
}
body.page #testing-description,
body.page-Special_UserLogin #testing-description {
  margin-right: 1.563em;
}
body.page #testing-wrapper-l,
body.page-Special_UserLogin #testing-wrapper-l {
  flex-grow: 1;
  margin-right: 10px;
}
body.page #testing-wrapper-r,
body.page-Special_UserLogin #testing-wrapper-r {
  flex-grow: 1;
  margin: 10px;
}
body.page #testing-timer-container,
body.page-Special_UserLogin #testing-timer-container {
  background-color: #f6f6f6;
  text-align: center;
  border: 1px solid #ccc;
}
body.page #testing-timer-container .timer-text,
body.page-Special_UserLogin #testing-timer-container .timer-text {
  font-size: 2.75em;
  font-family: Arial;
}
body.page #testing-timer-container #testing-timer-hr,
body.page-Special_UserLogin #testing-timer-container #testing-timer-hr {
  background: none;
  border: none;
  width: 1.1em;
}
body.page #testing-trigger,
body.page-Special_UserLogin #testing-trigger {
  width: 100%;
}
body.page #testing-desc-running,
body.page-Special_UserLogin #testing-desc-running {
  color: #00af89;
}
body.page .mw-ui-container #userloginForm,
body.page-Special_UserLogin .mw-ui-container #userloginForm {
  border: 0;
  margin: 40px 0 0;
  padding: 0;
  font-family: sans-serif;
}
body.page .mw-ui-container .mw-ui-vform,
body.page-Special_UserLogin .mw-ui-container .mw-ui-vform {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 290px;
  margin: 0 auto;
}
body.page .mw-ui-container .mw-ui-vform .mw-ui-vform-field,
body.page-Special_UserLogin .mw-ui-container .mw-ui-vform .mw-ui-vform-field {
  display: block;
  margin: 0 0 15px;
  padding: 0;
  width: 100%;
}
body.page .mw-ui-container .mw-ui-input,
body.page-Special_UserLogin .mw-ui-container .mw-ui-input {
  -webkit-appearance: none;
  border: 1px solid #CCC;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: .4em .3em .2em .6em;
  display: block;
  vertical-align: middle;
  border-radius: 2px;
  color: inherit;
  background-color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
  -o-transition: border linear 0.2s, box-shadow linear 0.2s;
  transition: border linear 0.2s, box-shadow linear 0.2s;
}
body.page .mw-ui-container .mw-ui-flush-right,
body.page-Special_UserLogin .mw-ui-container .mw-ui-flush-right {
  float: right;
  padding-right: 0;
  margin-right: 0;
}
body.page .mw-ui-container .mw-ui-checkbox,
body.page-Special_UserLogin .mw-ui-container .mw-ui-checkbox {
  display: inline-block;
  vertical-align: middle;
}
body.page .mw-ui-container .mw-ui-checkbox:not(#noop),
body.page-Special_UserLogin .mw-ui-container .mw-ui-checkbox:not(#noop) {
  position: relative;
  line-height: 2em;
}
body.page .mw-ui-container .mw-ui-checkbox:not(#noop) *,
body.page-Special_UserLogin .mw-ui-container .mw-ui-checkbox:not(#noop) * {
  font: inherit;
  vertical-align: middle;
}
body.page .mw-ui-container .mw-ui-checkbox:not(#noop) input[type="checkbox"],
body.page-Special_UserLogin .mw-ui-container .mw-ui-checkbox:not(#noop) input[type="checkbox"] {
  opacity: 0;
  width: 2em;
  height: 2em;
  max-width: none;
  margin-right: 0.4em;
}
body.page .mw-ui-container .mw-ui-checkbox:not(#noop) input[type="checkbox"] + label::before,
body.page-Special_UserLogin .mw-ui-container .mw-ui-checkbox:not(#noop) input[type="checkbox"] + label::before {
  content: '';
  cursor: pointer;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  border-radius: 2px;
  width: 2em;
  height: 2em;
  background-color: #fff;
  border: 1px solid #777;
}
body.page .mw-ui-container .mw-ui-checkbox:not(#noop) input[type="checkbox"]:checked + label::before,
body.page-Special_UserLogin .mw-ui-container .mw-ui-checkbox:not(#noop) input[type="checkbox"]:checked + label::before {
  background-image: url("//bits.wikimedia.org/static-1.25wmf13/resources/src/mediawiki.ui/components/images/checked.png?2014-12-17T20:20:00Z");
  background-image: -webkit-linear-gradient(transparent, transparent), url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22…0B78C%22%20stroke-width%3D%223%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E%0A");
  background-image: -webkit-linear-gradient(transparent, transparent), url("//bits.wikimedia.org/static-1.25wmf13/resources/src/mediawiki.ui/components/images/checked.svg?2014-12-17T20:20:00Z");
  background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22…0B78C%22%20stroke-width%3D%223%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E%0A");
  background-image: linear-gradient(transparent, transparent), url("//bits.wikimedia.org/static-1.25wmf13/resources/src/mediawiki.ui/components/images/checked.svg?2014-12-17T20:20:00Z");
  -o-background-size: 1.8em 1.8em;
  -webkit-background-size: 1.8em 1.8em;
  background-size: 1.8em 1.8em;
  background-repeat: no-repeat;
  background-position: center center;
  background-origin: border-box;
}