MediaWiki:Common.css

From The Lost Media Wiki
Revision as of 12:33, 27 September 2020 by Anton (talk | contribs)
Jump to: navigation, search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
video#bgvideo { 
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  opacity:.3;
}
/* SEARCH FIELD */
#searchInput {
	background-color: #fff;
	width: 30px;
	color: transparent;
	box-shadow: none;
	height:50px;
	transition: width .8s cubic-bezier(.19,1,.22,1);
    -webkit-mask-image: url(/images/2/2b/Search.svg);
            mask-image: url(/images/2/2b/Search.svg);
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: 23px;
            mask-size: 23px;
    -webkit-mask-position: 6px 12px;
            mask-position: 6px 12px;
}
#searchInput.form-control {
   border:none;
}
#searchInput:focus {
        background-image: none;
        background: linear-gradient(to right,rgba(0,0,0,.4),rgba(255,255,255,0)) !important;
        width: 300px;
        border-left: 3px solid #ea880d;
	color: #fff;
	mask-image: none;
        -webkit-mask-image: none;
	height:50px;
	border-radius:0;
	transition: width .8s cubic-bezier(.19,1,.22,1);
	font-size: 1.3em;
}
.form-control::-webkit-input-placeholder, 
.form-control::-moz-placeholder {
    color: #ddd;
    opacity: 0;
    font-size: larger;
}
.form-control:focus::-webkit-input-placeholder, 
.form-control:focus::-moz-placeholder {
   opacity: 1;
}
.navbar-form {
    margin-top: 0;
    margin-bottom: 0;
}
.nav > li {
    font-size: .8em;
}
.suggestions-result-current .special-label, .suggestions-result-current .special-query {
    color: #000 !important;
}
.suggestions-result-current {
    background-color: #e0e0e0;
    color: #000;
}
.suggestions-special {
    background-color: #e0e0e0;
    cursor: pointer;
    border: solid 1px #aaa0;
}
.srf-slideshow .slideshow-nav {
    border: 1px solid #9a6339;
    border-radius: 0;
    background: #f0ad4e;
}
.slideshow-nav .ui-state-default, 
.slideshow-nav .ui-widget-content .ui-state-default, 
.slideshow-nav .ui-widget-header .ui-state-default {
    background: #d2e9c8;
    background-image: none !important;
    background-repeat: repeat-x;
    border-color: #36782c;
    border-radius: 0;
}
.discord:hover {
    background-color: #899de4 !important;
    border-color: #6178c9 !important;
}
.discord {
    background-color: #7289da !important;
    border-color: #6178c9 !important;
}
.patreon:hover {
    background-color: #f2897b !important;
    border-color: #d13722 !important;
}
.patreon {
    background-color: #f96854 !important;
    border-color: #d13722 !important;
}
.forums:hover {
    background-color: #71aa57 !important;
}
.forums {
    background-color: #609946 !important;
}
#lostmediawiki-slideshow * {
    border-radius: 0 !important;
    text-shadow: none !important;
}
#lostmediawiki-slideshow {
    width: 100% !important;
    height: 340px;
    overflow: hidden;
    background: #fff;
    padding: .5em 0;
}
.carousel-inner {
    height: 324px;
}
.carousel-indicators, .carousel-caption {
    position: relative;
}
@media screen and ( max-width: 1380px ) {
#lostmediawiki-slideshow, .carousel-inner {
     height: auto;
}
.carousel-indicators {
  display: none;
}
}
.carousel-indicators {
    left: 0;
    width:100%;
    margin: 0 !important;
    background: #fff;
    bottom: 16px !important;
}
.carousel-indicators li {
    background-color: #fbaa2b;
    border-color: forestgreen;
}
.carousel-caption {
    right: 0;
    left: 0;
    padding: 20px 40px;
    color: #444;
}
.carousel-control.right, .carousel-control.left {
    background-image: none !important;
    color: #36782c;
}
ul.dynatree-container {
    border: none;
}
#pfForm .select2-container {
    width: 100%;
}
.form-control.select2-container .select2-choices { 
    border: 1px solid #BBB !important;
 }
.select2-container-multi .select2-choices {
    background-image: none !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    padding: 0;
}
.select2-search-choice-close {
   top: 7px;
}
.select2-container-multi .select2-choices .select2-search-choice {
    padding: 8px 5px 4px 18px;
}
.select2-container-multi .select2-choices .select2-search-choice {
    line-height: 16px;
    border: 1px solid #bbb;
    box-shadow: none;
    background-color: #eee;
    background-image: none;
}
form[action="/Special:FormStart"] input.formInput {
    width: 100%;
}
form[action="/Special:FormStart"] input.forminput_button {
    margin: 6px 6px 6px -4px;
}
.form-control:focus::-webkit-input-placeholder, .form-control:focus::placeholder {
    opacity: 1;
}
.form-control::-webkit-input-placeholder, .form-control::placeholder {
    color: #aaa;
    font-size: inherit;
    opacity: 1;
    font-family: sans !important;
}
.announce.wrapper {
    overflow-x: scroll;
    display: flex;
    justify-content: flex-start;
}
.announce.row { 
  display: flex;
  left: 8px;
  position: relative !important;
}
.announce-footer {
   padding: .5rem;
}
.announce.thumbnail {
  max-width: 220px;
  min-width: 180px;
  margin: 8px;
  font-size: 85%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.announce a .mw-ui-progressive {
    text-shadow: 0 -1px 0 rgba(0,0,0,.2);   
    text-transform: uppercase;
    background-color: #3e8f3e;
    border: 1px solid #3e8f3e;
}
.announce a .mw-ui-progressive:hover {
    background-color: #449544;
    border: 1px solid #449544;
}
.announce a, .announce a:hover, .announce a:focus, .announce a:active {
    text-decoration: none;
}
.announce-button {
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);
    background-image: none;
    border-radius: 0 !important;
    background-image: none;
    background-repeat: repeat-x;
    border-color: #3e8f3e;
    color: #fff;
}