MediaWiki:Common.css: Difference between revisions

From
Jump to navigation Jump to search
(transformed)
Tag: Manual revert
No edit summary
 
Line 281: Line 281:
     transform: scale(1, 1);
     transform: scale(1, 1);
   }
   }
}
#p-tb {
  cursor: pointer;
}
}

Latest revision as of 13:54, 21 August 2023

/* CSS placed here will be applied to all skins */
body {
  margin: 0;
}

.controls-loggedin, .controls-loggedin-inline {
  display: none;
}

.label-loggedin {
  font-size: 14px;
  font-family: Helvetica;
  font-weight: normal;
  color: #0645ad;
  white-space: nowrap;
}

#p-tb::after {
  content: '';
  background: url("/images/sunwater-logo.png");
  background-size: 133px 36px;
  display: inline-block;
  width: 133px; 
  height: 36px;
  margin-top: 30px;
}

/* hack: hide purge form to auto click it (is unhidden after 2s) */
.mw-htmlform-ooui-wrapper {
  display: none;
}

div.hero-sections a.mw-selflink.selflink {
  background-color: white;
  color: #1c3c67;
  padding: 6px 4px 6px 4px;
}

.hidden {
  display: none;
}

h1 .mw-headline {
  font-family: sans-serif;
  margin-bottom: 10px;
}

h2, h3 {
  font-family: Georgia, Times, serif;
}


#firstHeading {
  display: none;
}

.for-missing {
  font-weight: bold;
}


#timeline {
  width: 100%;
}

#timeline .vis-item-content {
  font-size: 80%;
  padding: 2px;
}


.formtable th {
  width: 7em;
}

.hero-background-right {
  min-height: 200px;
  padding: 30px;
  padding-top: 10px;
  margin: 0px;
  background-color: #1c3c67;
  /* background-image: url(images/Thinker-crop.png); */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right 0 bottom 0;
}

.hero-sections {
  background-color: #1c3c67;
  padding: 10px;
  color: white;
}

.hero-sections a,
.hero-sections a:link,
.hero-sections a:visited {
  white-space: nowrap;
  text-decoration: none;
  color: white;
}

.hero-background-right ul {
  margin: 0px;
}

.hero-background-right li {
  list-style-type: none;
  list-style-image: none;
}

.hero-background-right a,
.hero-background-right a:link,
.hero-background-right a:visited {
  text-decoration: underline;
}

.hero-background-right h1,
.hero-background-right a {
  color: white;
}

.hero-background-right a,
.hero-background-right a:link,
.hero-background-right a:visited {
  text-decoration: underline;
}

.hero-background-right h1 {
  font-weight: bold;
  border-bottom: none;
}

main,
header {
  padding: 30px;
  font-family: Helvetica
}


#timeline,
.timeline-tooltip {
  font-family: Helvetica
}

header {
  position: sticky;
  top: 0;
  background: #2196F3;
}

main {
  min-height: 1000vh;
  background: #E3F2FD;
  line-height: 2;
  font-size: 2em;
}


.col-container {
  display: flex;
}

.col-container>div {
  width: 50%;
  margin-right: 10px;
}

.loading-text {
  background: white;
  color: black;
  font-weight: bold;
  padding-left: 2em;
}

/**
 * ==============================================
 * Dot Elastic
 * from https://codepen.io/nzbin/pen/GGrXbp
 * ==============================================
 */
.dot-elastic {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #9880ff;
  color: #9880ff;
  animation: dotElastic 1s infinite linear;
}

.dot-elastic::before,
.dot-elastic::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0;
}

.dot-elastic::before {
  left: -15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #9880ff;
  color: #9880ff;
  animation: dotElasticBefore 1s infinite linear;
}

.dot-elastic::after {
  left: 15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #9880ff;
  color: #9880ff;
  animation: dotElasticAfter 1s infinite linear;
}

@keyframes dotElasticBefore {
  0% {
    transform: scale(1, 1);
  }

  25% {
    transform: scale(1, 1.5);
  }

  50% {
    transform: scale(1, 0.67);
  }

  75% {
    transform: scale(1, 1);
  }

  100% {
    transform: scale(1, 1);
  }
}

@keyframes dotElastic {
  0% {
    transform: scale(1, 1);
  }

  25% {
    transform: scale(1, 1);
  }

  50% {
    transform: scale(1, 1.5);
  }

  75% {
    transform: scale(1, 1);
  }

  100% {
    transform: scale(1, 1);
  }
}

@keyframes dotElasticAfter {
  0% {
    transform: scale(1, 1);
  }

  25% {
    transform: scale(1, 1);
  }

  50% {
    transform: scale(1, 0.67);
  }

  75% {
    transform: scale(1, 1.5);
  }

  100% {
    transform: scale(1, 1);
  }
}

#p-tb {
  cursor: pointer;
}