Difference between revisions of "MediaWiki:Common.css"

From Idlescape Wiki
Jump to navigation Jump to search
m
m (Added itemTable classes)
Line 5: Line 5:
 
**/
 
**/
 
.infobox {
 
.infobox {
    background: #eee;
+
  background: #eee;
    border: 1px solid #aaa;
+
  border: 1px solid #aaa;
    float: right;
+
  float: right;
    margin: 0.5em 0 1em 1em;
+
  margin: 0.5em 0 1em 1em;
    padding: 1em;
+
  padding: 1em;
    width: 300px;
+
  width: 300px;
    word-break: break-word;
+
  word-break: break-word;
    font-size: 0.85em;
+
  font-size: 0.85em;
 
}
 
}
 
.infobox-header {
 
.infobox-header {
    font-size: 1.5em;
+
  font-size: 1.5em;
    text-align: center;
+
  text-align: center;
    line-height: 1.4em;
+
  line-height: 1.4em;
    padding: 0.5em 0;
+
  padding: 0.5em 0;
    line-height: 2em;
+
  line-height: 2em;
    background-color: #bebebe;
+
  background-color: #bebebe;
    font-weight: bold;
+
  font-weight: bold;
 
}
 
}
 
.infobox-title {
 
.infobox-title {
    font-size: 1.25em;
+
  font-size: 1.25em;
    text-align: center;
+
  text-align: center;
    line-height: 2em;
+
  line-height: 2em;
    background-color: #bebebe;
+
  background-color: #bebebe;
    font-weight: bold;
+
  font-weight: bold;
 
}
 
}
 
.infobox-image {
 
.infobox-image {
    text-align: center;
+
  text-align: center;
 
}
 
}
 
.infobox-image img {
 
.infobox-image img {
    max-width: 300px;
+
  max-width: 300px;
    height: auto;
+
  height: auto;
    padding: 1em;
+
  padding: 1em;
 
}
 
}
 
.infobox-stats {
 
.infobox-stats {
    text-align: center;
+
  text-align: center;
    padding: .25em;
+
  padding: 0.25em;
 
}
 
}
 
.infobox-nested {
 
.infobox-nested {
    text-align: center;
+
  text-align: center;
 
}
 
}
 
.infobox th {
 
.infobox th {
    text-align: right;
+
  text-align: right;
 
}
 
}
 
.infobox td {
 
.infobox td {
    vertical-align: top;
+
  vertical-align: top;
    padding: 0.25em 0.5em;
+
  padding: 0.25em 0.5em;
    line-height: 1.6em;
+
  line-height: 1.6em;
 
}
 
}
 
.fullWidth-table {
 
.fullWidth-table {
    width: 100%;
+
  width: 100%;
 
}
 
}
  
Line 60: Line 60:
 
     Main Page
 
     Main Page
 
**/
 
**/
 
 
body[class*="page-Idlescape_Wiki"] .mw-parser-output {
 
body[class*="page-Idlescape_Wiki"] .mw-parser-output {
    max-width: 75em;
+
  max-width: 75em;
    margin: 0 auto;
+
  margin: 0 auto;
 
}
 
}
 
body[class*="page-Idlescape_Wiki"] .firstHeading {
 
body[class*="page-Idlescape_Wiki"] .firstHeading {
    display: none;
+
  display: none;
 
}
 
}
 
 
.mainpage-header {
 
.mainpage-header {
    display: flex;
+
  display: flex;
    margin: 2.6em 1.75em 1.5em;
+
  margin: 2.6em 1.75em 1.5em;
 
}
 
}
 
 
.mainpage-header .header-intro {
 
.mainpage-header .header-intro {
    flex: 2;
+
  flex: 2;
 
}
 
}
 
 
.mainpage-header .header-intro h1 {
 
.mainpage-header .header-intro h1 {
    font-size: 2.5em;
+
  font-size: 2.5em;
    border: none;
+
  border: none;
    margin: 0 0 0.15em;
+
  margin: 0 0 0.15em;
 
}
 
}
 
 
.mainpage-header .header-intro h2 {
 
.mainpage-header .header-intro h2 {
    font-size: 1.5em;
+
  font-size: 1.5em;
    border: none;
+
  border: none;
    margin: 0 0 0.15em;
+
  margin: 0 0 0.15em;
 
}
 
}
 
 
.mainpage-header .header-intro p {
 
.mainpage-header .header-intro p {
    font-size: 1.1em;
+
  font-size: 1.1em;
    line-height: 1.7em;
+
  line-height: 1.7em;
 
}
 
}
 
 
.mainpage-header .header-stats {
 
.mainpage-header .header-stats {
    flex: 1;
+
  flex: 1;
    display: flex;
+
  display: flex;
    justify-content: center;
+
  justify-content: center;
    align-items: center;
+
  align-items: center;
    margin-top: -1em;
+
  margin-top: -1em;
 
}
 
}
 
 
.mainpage-header .header-stats ul {
 
.mainpage-header .header-stats ul {
    list-style: none;
+
  list-style: none;
 
}
 
}
 
 
.mainpage-body {
 
.mainpage-body {
    display: flex;
+
  display: flex;
    flex-flow: row wrap;
+
  flex-flow: row wrap;
 
}
 
}
 
 
.mainpage-body h2 a {
 
.mainpage-body h2 a {
    color: #444e5a;
+
  color: #444e5a;
 
}
 
}
 
 
.mainpage-body .tile {
 
.mainpage-body .tile {
    padding-left: 1.75em;
+
  padding-left: 1.75em;
    padding-right: 1.75em;
+
  padding-right: 1.75em;
    max-width: 100%;
+
  max-width: 100%;
 
}
 
}
 
 
.mainpage-body .tile-row {
 
.mainpage-body .tile-row {
    width: 100%;
+
  width: 100%;
    margin-bottom: 0.9rem;
+
  margin-bottom: 0.9rem;
 
}
 
}
 
 
.mainpage-left {
 
.mainpage-left {
    flex: 2;
+
  flex: 2;
    display: flex;
+
  display: flex;
    flex-flow: column wrap;
+
  flex-flow: column wrap;
    margin-right: 0.9rem;
+
  margin-right: 0.9rem;
 
}
 
}
 
 
.mainpage-left > * {
 
.mainpage-left > * {
    margin: 0 0 0.9rem;
+
  margin: 0 0 0.9rem;
 
}
 
}
 
 
.mainpage-right {
 
.mainpage-right {
    flex: 1;
+
  flex: 1;
    display: flex;
+
  display: flex;
    flex-flow: column wrap;
+
  flex-flow: column wrap;
 
}
 
}
 
 
.mainpage-right > * {
 
.mainpage-right > * {
    margin: 0 0 0.9rem;
+
  margin: 0 0 0.9rem;
 
}
 
}
 
 
.mainpage-contents .tile-halves {
 
.mainpage-contents .tile-halves {
    flex: 1;
+
  flex: 1;
    margin-right: 0.9rem;
+
  margin-right: 0.9rem;
 
}
 
}
 
 
.mainpage-contents .tile-halves:last-child {
 
.mainpage-contents .tile-halves:last-child {
    margin-right: 0;
+
  margin-right: 0;
 
}
 
}
 
 
.mainpage-contents .tile-top {
 
.mainpage-contents .tile-top {
    height: 4.5rem;
+
  height: 4.5rem;
    position: relative;
+
  position: relative;
 
}
 
}
 
 
.mainpage-contents .tile-top h2 a {
 
.mainpage-contents .tile-top h2 a {
    display: block;
+
  display: block;
    text-align: center;
+
  text-align: center;
    text-decoration: none;
+
  text-decoration: none;
    line-height: 4.5rem;
+
  line-height: 4.5rem;
    padding-left: 0.45rem;
+
  padding-left: 0.45rem;
 
}
 
}
 
 
.mainpage-contents h2 {
 
.mainpage-contents h2 {
    margin: 0;
+
  margin: 0;
    padding: 0;
+
  padding: 0;
 
}
 
}
 
 
.tile {
 
.tile {
    background: #F6F6F6;
+
  background: #f6f6f6;
    border: 1px solid #a7d7f9;
+
  border: 1px solid #a7d7f9;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
+
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
    padding: 1.5em 2em 1em;
+
  padding: 1.5em 2em 1em;
    max-width: 40em;
+
  max-width: 40em;
 
}
 
}
 
 
.tile h2 {
 
.tile h2 {
    font-size: 1.4em;
+
  font-size: 1.4em;
    font-weight: bold;
+
  font-weight: bold;
    border: none;
+
  border: none;
    margin: 0 0 0.4em;
+
  margin: 0 0 0.4em;
 
}
 
}
 
 
.tile .byline + h2 {
 
.tile .byline + h2 {
    margin-top: -0.5em;
+
  margin-top: -0.5em;
 
}
 
}
 
 
.tile.dark {
 
.tile.dark {
    color: #ffffff;
+
  color: #ffffff;
    background: #5d6773;
+
  background: #5d6773;
    border: none;
+
  border: none;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
+
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
 
}
 
}
 
 
.tile.dark h2 {
 
.tile.dark h2 {
    color: #ffffff;
+
  color: #ffffff;
 
}
 
}
 
 
.tile.dark a {
 
.tile.dark a {
    color: #ccc;
+
  color: #ccc;
 
}
 
}
 
 
.tile.dark .byline {
 
.tile.dark .byline {
    color: rgba(255, 255, 255, 0.7);
+
  color: rgba(255, 255, 255, 0.7);
 
}
 
}
 
 
.byline {
 
.byline {
    font-size: 0.9em;
+
  font-size: 0.9em;
    color: #5C6168;
+
  color: #5c6168;
 
}
 
}
 
 
.byline a {
 
.byline a {
    color: #5C6168;
+
  color: #5c6168;
 
}
 
}
 
 
.tile-row {
 
.tile-row {
    display: flex;
+
  display: flex;
    flex-flow: row wrap;
+
  flex-flow: row wrap;
    margin-bottom: 1em;
+
  margin-bottom: 1em;
 
}
 
}
 
 
.tile-halves {
 
.tile-halves {
    display: flex;
+
  display: flex;
    flex-flow: row wrap;
+
  flex-flow: row wrap;
    border: 1px solid #a7d7f9;
+
  border: 1px solid #a7d7f9;
    background: #F6F6F6;
+
  background: #f6f6f6;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
+
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
 
}
 
}
 
 
.tile-halves h2 {
 
.tile-halves h2 {
    font-size: 1.4em;
+
  font-size: 1.4em;
    font-weight: bold;
+
  font-weight: bold;
    border: none;
+
  border: none;
    margin: 0 0 0.4em;
+
  margin: 0 0 0.4em;
 
}
 
}
 
 
.tile-halves .byline + h2 {
 
.tile-halves .byline + h2 {
    margin-top: -0.5em;
+
  margin-top: -0.5em;
 
}
 
}
 
 
.tile-top {
 
.tile-top {
    width: 100%;
+
  width: 100%;
    padding: 1.3rem 1.5rem 0.6rem;
+
  padding: 1.3rem 1.5rem 0.6rem;
 
}
 
}
 
 
.tile-top.tile-image {
 
.tile-top.tile-image {
    display: flex;
+
  display: flex;
    align-items: center;
+
  align-items: center;
    background-color: #5C6168;
+
  background-color: #5c6168;
    overflow: hidden;
+
  overflow: hidden;
    padding: 0;
+
  padding: 0;
    height: 13vw;
+
  height: 13vw;
    max-height: 12em;
+
  max-height: 12em;
    transition: 0.4s ease-out;
+
  transition: 0.4s ease-out;
 
}
 
}
 
 
.tile-top.tile-image:hover img {
 
.tile-top.tile-image:hover img {
    transform: scale(1.1);
+
  transform: scale(1.1);
    transition: 0.5s ease-out;
+
  transition: 0.5s ease-out;
 
}
 
}
 
 
.tile-top.tile-image a {
 
.tile-top.tile-image a {
    width: 100%;
+
  width: 100%;
 
}
 
}
 
 
.tile-top.tile-image img {
 
.tile-top.tile-image img {
    width: 100%;
+
  width: 100%;
    object-fit: cover;
+
  object-fit: cover;
    max-height: 200px;
+
  max-height: 200px;
    transition: 0.4s ease-out;
+
  transition: 0.4s ease-out;
 
}
 
}
 
 
.tile-top.tile-image-std {
 
.tile-top.tile-image-std {
    display: flex;
+
  display: flex;
    align-items: center;
+
  align-items: center;
    overflow: hidden;
+
  overflow: hidden;
    padding: 0;
+
  padding: 0;
    height: 10vw;
+
  height: 10vw;
 
}
 
}
 
 
.tile-top.tile-image-std a {
 
.tile-top.tile-image-std a {
    width: 100%;
+
  width: 100%;
 
}
 
}
 
 
.tile-top.tile-image-std img {
 
.tile-top.tile-image-std img {
    object-fit: cover;
+
  object-fit: cover;
 
}
 
}
 
 
.tile-bottom {
 
.tile-bottom {
    background: #F6F6F6;
+
  background: #f6f6f6;
    border-top: 1px solid #a7d7f9;
+
  border-top: 1px solid #a7d7f9;
    width: 100%;
+
  width: 100%;
    padding: 1rem 1.5rem 0.6rem;
+
  padding: 1rem 1.5rem 0.6rem;
 
}
 
}
 
 
.tile-bottom.link-button {
 
.tile-bottom.link-button {
    align-self: flex-end;
+
  align-self: flex-end;
    padding: 0;
+
  padding: 0;
 
}
 
}
 
 
.tile-bottom.link-button a {
 
.tile-bottom.link-button a {
    display: block;
+
  display: block;
    text-align: center;
+
  text-align: center;
    padding: 0.75em 1.5em 0.8em;
+
  padding: 0.75em 1.5em 0.8em;
    text-decoration: none;
+
  text-decoration: none;
 
}
 
}
 
 
.tile-bottom.read-more {
 
.tile-bottom.read-more {
    background: #eaecf0;
+
  background: #eaecf0;
    transition: 0.3s ease-out;
+
  transition: 0.3s ease-out;
 
}
 
}
 
 
.tile-bottom.read-more a {
 
.tile-bottom.read-more a {
    color: #5C6168;
+
  color: #5c6168;
    font-weight: bold;
+
  font-weight: bold;
    text-align: right;
+
  text-align: right;
 
}
 
}
 
 
.tile-bottom.read-more:hover {
 
.tile-bottom.read-more:hover {
    background: #bbbcc0;
+
  background: #bbbcc0;
 
}
 
}
 
 
.tile-bottom.read-more:hover .arrow {
 
.tile-bottom.read-more:hover .arrow {
    transform: translateX(50%);
+
  transform: translateX(50%);
 
}
 
}
 
 
.tile-bottom.read-more .arrow {
 
.tile-bottom.read-more .arrow {
    filter: invert(36%) sepia(9%) saturate(463%) hue-rotate(175deg) brightness(94%) contrast(80%);
+
  filter: invert(36%) sepia(9%) saturate(463%) hue-rotate(175deg)
    margin-left: 0.4em;
+
    brightness(94%) contrast(80%);
    transition: 0.3s ease-out;
+
  margin-left: 0.4em;
 +
  transition: 0.3s ease-out;
 
}
 
}
 
 
.mainpage-skills ul {
 
.mainpage-skills ul {
    columns: 3;
+
  columns: 3;
    margin: 1em 0.7em 0.7em 1em;
+
  margin: 1em 0.7em 0.7em 1em;
 
}
 
}
 
 
.mainpage-skills li {
 
.mainpage-skills li {
    display: flex;
+
  display: flex;
    margin-bottom: 0.29em;
+
  margin-bottom: 0.29em;
 
}
 
}
 
 
.mainpage-skills li a:first-child {
 
.mainpage-skills li a:first-child {
    border-radius: 3px;
+
  border-radius: 3px;
    padding: 4px;
+
  padding: 4px;
    width: 25px;
+
  width: 25px;
    height: 25px;
+
  height: 25px;
    text-align: center;
+
  text-align: center;
 
}
 
}
 
 
.mainpage-skills li a:last-child {
 
.mainpage-skills li a:last-child {
    flex: 1;
+
  flex: 1;
    display: flex;
+
  display: flex;
    align-items: center;
+
  align-items: center;
    color: #444e5a;
+
  color: #444e5a;
    font-weight: bold;
+
  font-weight: bold;
    padding-left: 0.7em;
+
  padding-left: 0.7em;
    text-decoration: none;
+
  text-decoration: none;
 
}
 
}
 
 
.mainpage-skills li:hover a:first-child {
 
.mainpage-skills li:hover a:first-child {
    border-radius: 3px 0 0 3px;
+
  border-radius: 3px 0 0 3px;
 
}
 
}
 
 
.mainpage-skills li:hover a:last-child {
 
.mainpage-skills li:hover a:last-child {
    color: rgba(68, 78, 90, 0.9);
+
  color: rgba(68, 78, 90, 0.9);
    border-radius: 0 3px 3px 0;
+
  border-radius: 0 3px 3px 0;
 
}
 
}
 
 
.mainpage-update .news-date {
 
.mainpage-update .news-date {
    font-weight: bold;
+
  font-weight: bold;
    margin-bottom: 0.3em;
+
  margin-bottom: 0.3em;
 
}
 
}
 
 
.mainpage-update p:not(.news-date) {
 
.mainpage-update p:not(.news-date) {
    margin-left: 1em;
+
  margin-left: 1em;
 
}
 
}
 
 
.mainpage-discord {
 
.mainpage-discord {
    border: none;
+
  border: none;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
+
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
 
}
 
}
 
 
.mainpage-discord .tile-top {
 
.mainpage-discord .tile-top {
    display: flex;
+
  display: flex;
    align-items: center;
+
  align-items: center;
    background: #7289da;
+
  background: #7289da;
    padding: 1em 1.75em;
+
  padding: 1em 1.75em;
 
}
 
}
 
 
.mainpage-discord .tile-top a {
 
.mainpage-discord .tile-top a {
    flex: 1;
+
  flex: 1;
    position: relative;
+
  position: relative;
    text-decoration: none;
+
  text-decoration: none;
 
}
 
}
 
 
.mainpage-discord .tile-top a:hover .arrow {
 
.mainpage-discord .tile-top a:hover .arrow {
    transform: translateX(50%);
+
  transform: translateX(50%);
 
}
 
}
 
 
.mainpage-discord .tile-bottom {
 
.mainpage-discord .tile-bottom {
    background: #697ec4;
+
  background: #697ec4;
    border: none;
+
  border: none;
    padding: 1em 1.75em;
+
  padding: 1em 1.75em;
 
}
 
}
 
 
.mainpage-discord .tile-bottom p {
 
.mainpage-discord .tile-bottom p {
    color: #ffffff;
+
  color: #ffffff;
    font-weight: bold;
+
  font-weight: bold;
    font-size: 0.9em;
+
  font-size: 0.9em;
    text-align: center;
+
  text-align: center;
    text-transform: uppercase;
+
  text-transform: uppercase;
    letter-spacing: 0.03em;
+
  letter-spacing: 0.03em;
    margin: 0;
+
  margin: 0;
 
}
 
}
 
 
.mainpage-discord .discord-icon {
 
.mainpage-discord .discord-icon {
    margin-right: 0.75em;
+
  margin-right: 0.75em;
 
}
 
}
 
 
.mainpage-discord .server-name {
 
.mainpage-discord .server-name {
    color: #ffffff;
+
  color: #ffffff;
    font-weight: bold;
+
  font-weight: bold;
    font-size: 1.25em;
+
  font-size: 1.25em;
    margin: 0.5em 0 -0.15em;
+
  margin: 0.5em 0 -0.15em;
 
}
 
}
 
 
.mainpage-discord .server-tagline {
 
.mainpage-discord .server-tagline {
    color: rgba(255, 255, 255, 0.9);
+
  color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5em;
+
  margin-bottom: 0.5em;
 
}
 
}
 
 
.mainpage-discord .arrow {
 
.mainpage-discord .arrow {
    position: absolute;
+
  position: absolute;
    top: calc(50% - .5em);
+
  top: calc(50% - 0.5em);
    right: 0;
+
  right: 0;
    height: 1em;
+
  height: 1em;
    width: 0.7em;
+
  width: 0.7em;
    background-size: 0.7em 1em;
+
  background-size: 0.7em 1em;
    transition: 0.3s ease-out;
+
  transition: 0.3s ease-out;
 
}
 
}
 
 
.mainpage-reddit {
 
.mainpage-reddit {
    border: none;
+
  border: none;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
+
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
 
}
 
}
 
 
.mainpage-reddit .tile-top {
 
.mainpage-reddit .tile-top {
    display: flex;
+
  display: flex;
    align-items: center;
+
  align-items: center;
    background: #b9ccdf;
+
  background: #b9ccdf;
    padding: 1em 1.75em;
+
  padding: 1em 1.75em;
 
}
 
}
 
 
.mainpage-reddit .tile-top a {
 
.mainpage-reddit .tile-top a {
    flex: 1;
+
  flex: 1;
    position: relative;
+
  position: relative;
    text-decoration: none;
+
  text-decoration: none;
 
}
 
}
 
 
.mainpage-reddit .tile-top a:hover .arrow {
 
.mainpage-reddit .tile-top a:hover .arrow {
    transform: translateX(50%);
+
  transform: translateX(50%);
 
}
 
}
 
 
.mainpage-reddit .tile-bottom {
 
.mainpage-reddit .tile-bottom {
    background: #a4b5c6;
+
  background: #a4b5c6;
    border: none;
+
  border: none;
    padding: 1em 1.75em;
+
  padding: 1em 1.75em;
 
}
 
}
 
 
.mainpage-reddit .tile-bottom p {
 
.mainpage-reddit .tile-bottom p {
    color: #ffffff;
+
  color: #ffffff;
    font-weight: bold;
+
  font-weight: bold;
    font-size: 0.9em;
+
  font-size: 0.9em;
    text-align: center;
+
  text-align: center;
    text-transform: uppercase;
+
  text-transform: uppercase;
    letter-spacing: 0.03em;
+
  letter-spacing: 0.03em;
    margin: 0;
+
  margin: 0;
 
}
 
}
 
 
.mainpage-reddit .reddit-logo {
 
.mainpage-reddit .reddit-logo {
    margin-right: 0.75em;
+
  margin-right: 0.75em;
 
}
 
}
 
 
.mainpage-reddit .reddit-name {
 
.mainpage-reddit .reddit-name {
    color: #ffffff;
+
  color: #ffffff;
    font-weight: bold;
+
  font-weight: bold;
    font-size: 1.25em;
+
  font-size: 1.25em;
    margin: 0.5em 0 -0.15em;
+
  margin: 0.5em 0 -0.15em;
 
}
 
}
 
 
.mainpage-reddit .reddit-tagline {
 
.mainpage-reddit .reddit-tagline {
    color: rgba(255, 255, 255, 0.9);
+
  color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5em;
+
  margin-bottom: 0.5em;
 
}
 
}
 
 
.mainpage-reddit .arrow {
 
.mainpage-reddit .arrow {
    position: absolute;
+
  position: absolute;
    top: calc(50% - .5em);
+
  top: calc(50% - 0.5em);
    right: 0;
+
  right: 0;
    height: 1em;
+
  height: 1em;
    width: 0.7em;
+
  width: 0.7em;
    background-size: 0.7em 1em;
+
  background-size: 0.7em 1em;
    transition: 0.3s ease-out;
+
  transition: 0.3s ease-out;
 
}
 
}
 
 
.mainpage-poll .ajaxpoll {
 
.mainpage-poll .ajaxpoll {
    max-width: 315px !important;
+
  max-width: 315px !important;
 
}
 
}
 
 
.mainpage-forum {
 
.mainpage-forum {
    border: none;
+
  border: none;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
+
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
 
}
 
}
 
 
.mainpage-forum .tile-top {
 
.mainpage-forum .tile-top {
    display: flex;
+
  display: flex;
    align-items: center;
+
  align-items: center;
    background: #2a2a2a;
+
  background: #2a2a2a;
    padding: 1em 1.75em;
+
  padding: 1em 1.75em;
 
}
 
}
 
 
.mainpage-forum .tile-top a {
 
.mainpage-forum .tile-top a {
    flex: 1;
+
  flex: 1;
    position: relative;
+
  position: relative;
    text-decoration: none;
+
  text-decoration: none;
 
}
 
}
 
 
.mainpage-forum .tile-top a:hover .arrow {
 
.mainpage-forum .tile-top a:hover .arrow {
    transform: translateX(50%);
+
  transform: translateX(50%);
 
}
 
}
 
 
.mainpage-forum .tile-bottom {
 
.mainpage-forum .tile-bottom {
    background: #4c4c4c;
+
  background: #4c4c4c;
    border: none;
+
  border: none;
    padding: 1em 1.75em;
+
  padding: 1em 1.75em;
 
}
 
}
 
 
.mainpage-forum .tile-bottom p {
 
.mainpage-forum .tile-bottom p {
    color: #ffffff;
+
  color: #ffffff;
    font-weight: bold;
+
  font-weight: bold;
    font-size: 0.9em;
+
  font-size: 0.9em;
    text-align: center;
+
  text-align: center;
    text-transform: uppercase;
+
  text-transform: uppercase;
    letter-spacing: 0.03em;
+
  letter-spacing: 0.03em;
    margin: 0;
+
  margin: 0;
 
}
 
}
 
 
.mainpage-forum .forum-icon {
 
.mainpage-forum .forum-icon {
    margin-right: 0.75em;
+
  margin-right: 0.75em;
 
}
 
}
 
 
.mainpage-forum .forum-name {
 
.mainpage-forum .forum-name {
    color: #ffffff;
+
  color: #ffffff;
    font-weight: bold;
+
  font-weight: bold;
    font-size: 1.25em;
+
  font-size: 1.25em;
    margin: 0.5em 0 -0.15em;
+
  margin: 0.5em 0 -0.15em;
 
}
 
}
 
 
.mainpage-forum .forum-tagline {
 
.mainpage-forum .forum-tagline {
    color: rgba(255, 255, 255, 0.9);
+
  color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5em;
+
  margin-bottom: 0.5em;
 
}
 
}
 
 
.mainpage-forum .arrow {
 
.mainpage-forum .arrow {
    position: absolute;
+
  position: absolute;
    top: calc(50% - .5em);
+
  top: calc(50% - 0.5em);
    right: 0;
+
  right: 0;
    height: 1em;
+
  height: 1em;
    width: 0.7em;
+
  width: 0.7em;
    background-size: 0.7em 1em;
+
  background-size: 0.7em 1em;
    transition: 0.3s ease-out;
+
  transition: 0.3s ease-out;
 
}
 
}
  
Line 585: Line 497:
 
**/
 
**/
 
.messagebox {
 
.messagebox {
    width: 55%;
+
  width: 55%;
    margin-left: auto;
+
  margin-left: auto;
    margin-right: auto;
+
  margin-right: auto;
    margin-top: 0.5em;
+
  margin-top: 0.5em;
    margin-bottom: 0.5em;
+
  margin-bottom: 0.5em;
 
}
 
}
 
.incomplete {
 
.incomplete {
    border-left: 15px solid #FFCC00;
+
  border-left: 15px solid #ffcc00;
 
}
 
}
 
.cleanup {
 
.cleanup {
    border-left: 5px solid #009405;
+
  border-left: 5px solid #009405;
 
}
 
}
 +
 
/**
 
/**
 
     Table configuration
 
     Table configuration
 
**/
 
**/
 
.hover-highlight > * > tr:hover {
 
.hover-highlight > * > tr:hover {
    background-color:#e5e5e5;
+
  background-color: #e5e5e5;
 
}
 
}
 +
 
/**
 
/**
     Community loot tables
+
     Community loot & item tables
 
**/
 
**/
.lootTable {
+
.lootTable, .itemTable {
    border-collapse: collapse;
+
  border-collapse: collapse;
    border-spacing: 0;
+
  border-spacing: 0;
    font-size: 100%;
+
  font-size: 100%;
 
}
 
}
  
.lootTable td {
+
.lootTable td, .itemTable td {
    border: 1px solid #9b9b9b;
+
  border: 1px solid #9b9b9b;
    overflow: hidden;
+
  overflow: hidden;
    padding: 5px 5px;
+
  padding: 5px 5px;
    word-break: normal;
+
  word-break: normal;
 
}
 
}
  
.lootTable th {
+
.lootTable th, .itemTable td {
    border: 1px solid #9b9b9b;
+
  border: 1px solid #9b9b9b;
    font-weight: normal;
+
  font-weight: normal;
    overflow: hidden;
+
  overflow: hidden;
    padding: 8px 5px;
+
  padding: 8px 5px;
    word-break: normal;
+
  word-break: normal;
    vertical-align: middle;
+
  vertical-align: middle;
 
}
 
}
  
 
.lootTable img {
 
.lootTable img {
     width: 25px;
+
  width: 25px;
 +
  height: auto;
 +
}
 +
 
 +
.itemTable img {
 +
     width: 60px;
 
     height: auto;
 
     height: auto;
}
+
  }
  
.lootTable .lt-header-row {
+
.lootTable .lt-header-row, .itemTable .lt-header-row {
    background-color: #efefef;
+
  background-color: #efefef;
    border: 1px solid #9b9b9b;
+
  border: 1px solid #9b9b9b;
    text-align: center;
+
  text-align: center;
    vertical-align: middle;
+
  vertical-align: middle;
 
}
 
}
  
.lootTable .lt-bottom-row {
+
.lootTable .lt-bottom-row, .itemTable .lt-bottom-row {
    background-color: #efefef;
+
  background-color: #efefef;
    border: 1px solid #9b9b9b;
+
  border: 1px solid #9b9b9b;
    text-align: center;
+
  text-align: center;
    vertical-align: middle;
+
  vertical-align: middle;
 
}
 
}

Revision as of 18:27, 13 February 2021

/* CSS placed here will be applied to all skins */

/**
    Template for Infobox_Monster
**/
.infobox {
  background: #eee;
  border: 1px solid #aaa;
  float: right;
  margin: 0.5em 0 1em 1em;
  padding: 1em;
  width: 300px;
  word-break: break-word;
  font-size: 0.85em;
}
.infobox-header {
  font-size: 1.5em;
  text-align: center;
  line-height: 1.4em;
  padding: 0.5em 0;
  line-height: 2em;
  background-color: #bebebe;
  font-weight: bold;
}
.infobox-title {
  font-size: 1.25em;
  text-align: center;
  line-height: 2em;
  background-color: #bebebe;
  font-weight: bold;
}
.infobox-image {
  text-align: center;
}
.infobox-image img {
  max-width: 300px;
  height: auto;
  padding: 1em;
}
.infobox-stats {
  text-align: center;
  padding: 0.25em;
}
.infobox-nested {
  text-align: center;
}
.infobox th {
  text-align: right;
}
.infobox td {
  vertical-align: top;
  padding: 0.25em 0.5em;
  line-height: 1.6em;
}
.fullWidth-table {
  width: 100%;
}

/**
    Main Page
**/
body[class*="page-Idlescape_Wiki"] .mw-parser-output {
  max-width: 75em;
  margin: 0 auto;
}
body[class*="page-Idlescape_Wiki"] .firstHeading {
  display: none;
}
.mainpage-header {
  display: flex;
  margin: 2.6em 1.75em 1.5em;
}
.mainpage-header .header-intro {
  flex: 2;
}
.mainpage-header .header-intro h1 {
  font-size: 2.5em;
  border: none;
  margin: 0 0 0.15em;
}
.mainpage-header .header-intro h2 {
  font-size: 1.5em;
  border: none;
  margin: 0 0 0.15em;
}
.mainpage-header .header-intro p {
  font-size: 1.1em;
  line-height: 1.7em;
}
.mainpage-header .header-stats {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -1em;
}
.mainpage-header .header-stats ul {
  list-style: none;
}
.mainpage-body {
  display: flex;
  flex-flow: row wrap;
}
.mainpage-body h2 a {
  color: #444e5a;
}
.mainpage-body .tile {
  padding-left: 1.75em;
  padding-right: 1.75em;
  max-width: 100%;
}
.mainpage-body .tile-row {
  width: 100%;
  margin-bottom: 0.9rem;
}
.mainpage-left {
  flex: 2;
  display: flex;
  flex-flow: column wrap;
  margin-right: 0.9rem;
}
.mainpage-left > * {
  margin: 0 0 0.9rem;
}
.mainpage-right {
  flex: 1;
  display: flex;
  flex-flow: column wrap;
}
.mainpage-right > * {
  margin: 0 0 0.9rem;
}
.mainpage-contents .tile-halves {
  flex: 1;
  margin-right: 0.9rem;
}
.mainpage-contents .tile-halves:last-child {
  margin-right: 0;
}
.mainpage-contents .tile-top {
  height: 4.5rem;
  position: relative;
}
.mainpage-contents .tile-top h2 a {
  display: block;
  text-align: center;
  text-decoration: none;
  line-height: 4.5rem;
  padding-left: 0.45rem;
}
.mainpage-contents h2 {
  margin: 0;
  padding: 0;
}
.tile {
  background: #f6f6f6;
  border: 1px solid #a7d7f9;
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
  padding: 1.5em 2em 1em;
  max-width: 40em;
}
.tile h2 {
  font-size: 1.4em;
  font-weight: bold;
  border: none;
  margin: 0 0 0.4em;
}
.tile .byline + h2 {
  margin-top: -0.5em;
}
.tile.dark {
  color: #ffffff;
  background: #5d6773;
  border: none;
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
}
.tile.dark h2 {
  color: #ffffff;
}
.tile.dark a {
  color: #ccc;
}
.tile.dark .byline {
  color: rgba(255, 255, 255, 0.7);
}
.byline {
  font-size: 0.9em;
  color: #5c6168;
}
.byline a {
  color: #5c6168;
}
.tile-row {
  display: flex;
  flex-flow: row wrap;
  margin-bottom: 1em;
}
.tile-halves {
  display: flex;
  flex-flow: row wrap;
  border: 1px solid #a7d7f9;
  background: #f6f6f6;
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
}
.tile-halves h2 {
  font-size: 1.4em;
  font-weight: bold;
  border: none;
  margin: 0 0 0.4em;
}
.tile-halves .byline + h2 {
  margin-top: -0.5em;
}
.tile-top {
  width: 100%;
  padding: 1.3rem 1.5rem 0.6rem;
}
.tile-top.tile-image {
  display: flex;
  align-items: center;
  background-color: #5c6168;
  overflow: hidden;
  padding: 0;
  height: 13vw;
  max-height: 12em;
  transition: 0.4s ease-out;
}
.tile-top.tile-image:hover img {
  transform: scale(1.1);
  transition: 0.5s ease-out;
}
.tile-top.tile-image a {
  width: 100%;
}
.tile-top.tile-image img {
  width: 100%;
  object-fit: cover;
  max-height: 200px;
  transition: 0.4s ease-out;
}
.tile-top.tile-image-std {
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  height: 10vw;
}
.tile-top.tile-image-std a {
  width: 100%;
}
.tile-top.tile-image-std img {
  object-fit: cover;
}
.tile-bottom {
  background: #f6f6f6;
  border-top: 1px solid #a7d7f9;
  width: 100%;
  padding: 1rem 1.5rem 0.6rem;
}
.tile-bottom.link-button {
  align-self: flex-end;
  padding: 0;
}
.tile-bottom.link-button a {
  display: block;
  text-align: center;
  padding: 0.75em 1.5em 0.8em;
  text-decoration: none;
}
.tile-bottom.read-more {
  background: #eaecf0;
  transition: 0.3s ease-out;
}
.tile-bottom.read-more a {
  color: #5c6168;
  font-weight: bold;
  text-align: right;
}
.tile-bottom.read-more:hover {
  background: #bbbcc0;
}
.tile-bottom.read-more:hover .arrow {
  transform: translateX(50%);
}
.tile-bottom.read-more .arrow {
  filter: invert(36%) sepia(9%) saturate(463%) hue-rotate(175deg)
    brightness(94%) contrast(80%);
  margin-left: 0.4em;
  transition: 0.3s ease-out;
}
.mainpage-skills ul {
  columns: 3;
  margin: 1em 0.7em 0.7em 1em;
}
.mainpage-skills li {
  display: flex;
  margin-bottom: 0.29em;
}
.mainpage-skills li a:first-child {
  border-radius: 3px;
  padding: 4px;
  width: 25px;
  height: 25px;
  text-align: center;
}
.mainpage-skills li a:last-child {
  flex: 1;
  display: flex;
  align-items: center;
  color: #444e5a;
  font-weight: bold;
  padding-left: 0.7em;
  text-decoration: none;
}
.mainpage-skills li:hover a:first-child {
  border-radius: 3px 0 0 3px;
}
.mainpage-skills li:hover a:last-child {
  color: rgba(68, 78, 90, 0.9);
  border-radius: 0 3px 3px 0;
}
.mainpage-update .news-date {
  font-weight: bold;
  margin-bottom: 0.3em;
}
.mainpage-update p:not(.news-date) {
  margin-left: 1em;
}
.mainpage-discord {
  border: none;
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
}
.mainpage-discord .tile-top {
  display: flex;
  align-items: center;
  background: #7289da;
  padding: 1em 1.75em;
}
.mainpage-discord .tile-top a {
  flex: 1;
  position: relative;
  text-decoration: none;
}
.mainpage-discord .tile-top a:hover .arrow {
  transform: translateX(50%);
}
.mainpage-discord .tile-bottom {
  background: #697ec4;
  border: none;
  padding: 1em 1.75em;
}
.mainpage-discord .tile-bottom p {
  color: #ffffff;
  font-weight: bold;
  font-size: 0.9em;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
}
.mainpage-discord .discord-icon {
  margin-right: 0.75em;
}
.mainpage-discord .server-name {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.25em;
  margin: 0.5em 0 -0.15em;
}
.mainpage-discord .server-tagline {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5em;
}
.mainpage-discord .arrow {
  position: absolute;
  top: calc(50% - 0.5em);
  right: 0;
  height: 1em;
  width: 0.7em;
  background-size: 0.7em 1em;
  transition: 0.3s ease-out;
}
.mainpage-reddit {
  border: none;
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
}
.mainpage-reddit .tile-top {
  display: flex;
  align-items: center;
  background: #b9ccdf;
  padding: 1em 1.75em;
}
.mainpage-reddit .tile-top a {
  flex: 1;
  position: relative;
  text-decoration: none;
}
.mainpage-reddit .tile-top a:hover .arrow {
  transform: translateX(50%);
}
.mainpage-reddit .tile-bottom {
  background: #a4b5c6;
  border: none;
  padding: 1em 1.75em;
}
.mainpage-reddit .tile-bottom p {
  color: #ffffff;
  font-weight: bold;
  font-size: 0.9em;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
}
.mainpage-reddit .reddit-logo {
  margin-right: 0.75em;
}
.mainpage-reddit .reddit-name {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.25em;
  margin: 0.5em 0 -0.15em;
}
.mainpage-reddit .reddit-tagline {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5em;
}
.mainpage-reddit .arrow {
  position: absolute;
  top: calc(50% - 0.5em);
  right: 0;
  height: 1em;
  width: 0.7em;
  background-size: 0.7em 1em;
  transition: 0.3s ease-out;
}
.mainpage-poll .ajaxpoll {
  max-width: 315px !important;
}
.mainpage-forum {
  border: none;
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
}
.mainpage-forum .tile-top {
  display: flex;
  align-items: center;
  background: #2a2a2a;
  padding: 1em 1.75em;
}
.mainpage-forum .tile-top a {
  flex: 1;
  position: relative;
  text-decoration: none;
}
.mainpage-forum .tile-top a:hover .arrow {
  transform: translateX(50%);
}
.mainpage-forum .tile-bottom {
  background: #4c4c4c;
  border: none;
  padding: 1em 1.75em;
}
.mainpage-forum .tile-bottom p {
  color: #ffffff;
  font-weight: bold;
  font-size: 0.9em;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
}
.mainpage-forum .forum-icon {
  margin-right: 0.75em;
}
.mainpage-forum .forum-name {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.25em;
  margin: 0.5em 0 -0.15em;
}
.mainpage-forum .forum-tagline {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5em;
}
.mainpage-forum .arrow {
  position: absolute;
  top: calc(50% - 0.5em);
  right: 0;
  height: 1em;
  width: 0.7em;
  background-size: 0.7em 1em;
  transition: 0.3s ease-out;
}

/**
    Messageboxes
**/
.messagebox {
  width: 55%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.incomplete {
  border-left: 15px solid #ffcc00;
}
.cleanup {
  border-left: 5px solid #009405;
}

/**
    Table configuration
**/
.hover-highlight > * > tr:hover {
  background-color: #e5e5e5;
}

/**
    Community loot & item tables
**/
.lootTable, .itemTable {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 100%;
}

.lootTable td, .itemTable td {
  border: 1px solid #9b9b9b;
  overflow: hidden;
  padding: 5px 5px;
  word-break: normal;
}

.lootTable th, .itemTable td {
  border: 1px solid #9b9b9b;
  font-weight: normal;
  overflow: hidden;
  padding: 8px 5px;
  word-break: normal;
  vertical-align: middle;
}

.lootTable img {
  width: 25px;
  height: auto;
}

.itemTable img {
    width: 60px;
    height: auto;
  }

.lootTable .lt-header-row, .itemTable .lt-header-row {
  background-color: #efefef;
  border: 1px solid #9b9b9b;
  text-align: center;
  vertical-align: middle;
}

.lootTable .lt-bottom-row, .itemTable .lt-bottom-row {
  background-color: #efefef;
  border: 1px solid #9b9b9b;
  text-align: center;
  vertical-align: middle;
}