.mw-wiki-logo {
  background-image: url("/ecnu-acm-wiki/wiki/resources/assets/wiki.png");
  background-size: 135px 135px;
}

#pt-anonuserpage {
  background: none;
  color: #54595d;
  padding-left: 0 !important;
}

.archive-snapshot {
  color: #54595d;
}

.toc .toctogglelabel:empty::after {
  content: "hide";
}

#footer-info-archive {
  color: #54595d;
}

.mw-body-content pre,
.mw-body-content .mw-code {
  overflow-x: auto;
  white-space: pre;
}

.mw-body-content img {
  max-width: 100%;
}

.mw-search-results {
  margin: 1em 0 0;
  padding: 0;
  list-style: none;
}

.mw-search-results > li {
  margin: 0 0 1.4em;
}

.mw-search-result-heading {
  font-size: 1.2em;
}

.searchresult {
  max-width: 52em;
  line-height: 1.45;
}

.mw-search-result-data {
  color: #72777d;
  font-size: 0.85em;
}

.allpages-list {
  columns: 3 18em;
  column-gap: 2em;
}

.noarticletext {
  border: 1px solid #a2a9b1;
  background: #f8f9fa;
  padding: 0.8em 1em;
}

.archive-permissions-placeholder {
  border: 1px solid #a2a9b1;
  background: #f8f9fa;
  padding: 0.8em 1em;
}

@media screen and (max-width: 720px) {
  #mw-panel,
  #p-personal,
  #left-navigation {
    display: none;
  }

  #mw-page-base {
    height: 3.2em;
  }

  #mw-head-base {
    height: 3.2em;
    margin-top: -3.2em;
    margin-left: 0;
  }

  #right-navigation {
    float: none;
    display: flex;
    justify-content: flex-end;
    margin-top: 0.7em;
  }

  #p-views {
    display: none;
  }

  #simpleSearch {
    width: min(68vw, 22em);
  }

  .mw-body,
  #mw-data-after-content,
  .mw-footer {
    margin-left: 0;
  }

  .mw-body {
    border-left: 0;
    padding: 1em;
  }

  .mw-footer {
    padding: 1em;
  }

  .allpages-list {
    columns: 1;
  }
}
