UnGames:Main Page/styles.css

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
.ungames-container {
  max-width: 1280px;
  background: none;
  margin: 0 auto;
}

.ungames-panel {
  overflow: hidden;
  border-radius: 0.5rem;
  background: linear-gradient(to bottom, #dbdbdb, #f9f9f9, #dbdbdb);
  border-top: 0;
  box-shadow: inset 0 0 1rem rgba(0, 0, 0, 0.2), 0.1rem 0.1rem 0.2rem rgba(0, 0, 0, 0.4);
  padding: 0;
  margin-bottom: 1rem;
}

.ungames-panel-header {
  position: relative;
  padding: 0.4rem;
  background: #57C785;
  background: linear-gradient(45deg, rgba(11, 143, 60, 1) 0%, rgba(67, 234, 137, 1) 100%);
  border-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  color: #fff;
  text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.3), 0px -1px 0px rgba(0, 0, 0, 0.7);
  text-align: center;
  font-family: Monospace, Courier New;
  font-size: 1.1rem;
  font-weight: bold;
}

.ungames-panel-header::after {
  content: "";
  display: block;
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3)0%, rgba(255, 255, 255, 0.2)100%);
  top: 0;
  left: 0;
  position: absolute;
}

.ungames-panel-header #ungames-title {
  position: relative;
  z-index: 9999;
}

.ungames-panel-content {
  padding: 1rem;
}

.ungames-scrollbar {
  padding: 0;
}

#ungames-search {
  background: #cceeda;
}

#ungames-recent {
  line-height: 1;
  max-height: 480px;
  overflow-y: scroll;
  scrollbar-color: #57C785 rgba(0, 0, 0, 0);
  scrollbar-width: thin;
  padding: 0.8rem 0.2rem 0 0.8rem;
}

#ungames-recent ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#ungames-recent ul li {
  margin: 0;
  padding: 0.2rem 0;
}

#ungames-recent ul li:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

#ungames-recent a {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #6e6e6e;
}

#ungames-recent a:hover {
  color: #2da75f;
}

#ungames-recent a::after {
  display: block;
  content: '🕹️Play';
  white-space: pre;
  background: #3F51B5;
  background: linear-gradient(45deg, #3F51B5 0%, #9FA8DA 100%);
  text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.3), 0px -1px 0px rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 1rem;
  font-family: monospace, Courier New;
  font-variant: all-small-caps;
  font-size: 1.5rem;
  border-radius: 0.5rem;
  padding: 0.2rem;
  margin: 0 0.4rem 0 0;
}

#ungames-recent a:hover::after {
  background: linear-gradient(45deg, #57C785 0%, #2da75f 100%);
}

.ungames-container .ungames-panel-content input.mw-ui-button {
  background: #3F51B5;
  background: linear-gradient(45deg, #3F51B5 0%, #9FA8DA 100%);
  border: 0;
  border-radius: 0.5rem;
  text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.3), 0px -1px 0px rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 1rem;
  font-family: monospace, Courier New;
}

.ungames-container .ungames-panel-content .mw-ui-button:hover {
  background: linear-gradient(45deg, #57C785 0%, #2da75f 100%);
}

@media screen and (min-width:1024px) {

  .ungames-row {
    display: flex;
    flex-flow: row wrap;
    margin: 0 2rem 1.5rem 2rem;
    column-gap: 0.8rem;
  }

  .ungames-panel {
    margin-bottom: 0;
  }

  .ungames-3-col {
    background: #cceeda;
    padding: 1rem;
    margin: 0 0 1.2rem 0;
    column-gap: 0;
    box-shadow: inset 0rem 0rem 1rem rgba(0, 0, 0, 0.05);
  }

  .ungames-3-col .ungames-panel {
    background: none;
    box-shadow: none;
    position: relative;
    border-radius: 0;
  }

  .ungames-3-col .ungames-panel:nth-of-type(2)::before,
  .ungames-3-col .ungames-panel:nth-of-type(3)::before {
    content: '';
    display: flex;
    height: 100%;
    width: 1px;
    position: absolute;
    top: 0;
    left: 0;
    background: #333;
    background: linear-gradient(to bottom, #E0E0E0, #9E9E9E, #E0E0E0);
  }

  .ungames-3-col .ungames-panel-header {
    margin: 0 1rem;
    padding: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0), #f9f9f9, rgba(255,255,255,0));
    color: #377a52;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  }

  .ungames-3-col .ungames-panel-header::after {
    display: none;
  }

  .ungames-3-col .ungames-panel-content {
    padding: 0.2rem 1.5rem 1rem 1.5rem;
  }

  .ungames-ad.ungames-panel {
    background: none;
    box-shadow: none;
    border-radius: 0;
  }

  .ungames-ad .ungames-panel-header {
    background: none;
    color: #333;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    font-variant: all-small-caps;
    font-style: italic;
    font-size: 2rem;
    line-height: 1;
  }

  .ungames-ad .ungames-panel-header::after {
    display: none;
  }

  .ungames-ad .ungames-panel-content {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
  }

  .ungames-3-col>.ungames-panel {
    flex: 1 1 0;
  }

  .ungames-2-col>.ungames-panel:nth-of-type(1) {
    flex: 2 1 0;
  }

  .ungames-2-col>.ungames-panel:nth-of-type(2) {
    flex: 1 1 0;
  }
}

/* [[Category:UnProjects stylesheets]] */