Template:Cc-by-sa-layout/styles.css

From Zoophilia Wiki
Jump to navigationJump to search
/** IMPORTANT:
 *  These styles should be copied to [[MediaWiki:Filepage.css]]. If you make any
 *  changes here, be sure to update that page as well.
 *
 *  When previewing changes, you must use a file outside the File namespace.
 *
 *  See [[commons:Module talk:Information/styles.css]] (which is related) for
 *  details.
 */

.responsive-license-cc {
  align-items: center;
  background-color: var(--background-color-neutral-subtle, #f9f8fa);
  border: 2px solid var(--border-color-subtle, #c8ccd1);
  border-spacing: 0.5rem;
  box-sizing: border-box;
  clear: both;
  color: var(--color-base, #202122);
  display: flex;
  justify-content: space-around;
  margin: 0.5em auto;
  padding: 0;
  text-align: center;
  width: 100%;
}

.responsive-license-cc div {
  margin: 0.25rem;
}

.rlicense-text div {
  margin: 0.5em auto;
}

.rlicense-desc dd {
  margin-left: 1em;
}

/* For mobile devices. */
@media screen and (max-width: 640px) {
  .responsive-license-cc {
    flex-flow: column;
  }

  .rlicense-text {
    order: 1;
  }
}