×
Create a new article
Write your page title here:
We currently have 193 articles on The Sonic the Hedgehog Wiki. Type your article name above or click on one of the titles below and start writing!



The Sonic the Hedgehog Wiki
193Articles

MediaWiki:Common.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 204: Line 204:
/* Audio CSS */
/* Audio CSS */


.audio-button {
    display: inline-block;
    vertical-align: -0.1em;
    width: 1em;
    height: 1em;
    overflow: hidden;
    border-radius: 3px;
    background-color: #006cb0;
    transition: background-color .2s;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(https://vignette.wikia.nocookie.net/dev/images/d/d6/OggPlayer_play.svg);
}


.audio-button.now-playing, .audio-button:hover, .audio-button-parent:hover > .click-parent {
.audio-button{display:inline-block;vertical-align:-0.1em;width:1em;height:1em;overflow:hidden;border-radius:3px;background-color:#006cb0;transition:background-color .2s;cursor:pointer;background-repeat:no-repeat;background-position:center;background-image:url(https://vignette.wikia.nocookie.net/dev/images/d/d6/OggPlayer_play.svg)}.audio-button-parent{cursor:pointer}.audio-button.now-playing,.audio-button:hover,.audio-button-parent:hover > .click-parent{background-color:#b30000}.audio-button.now-playing{background-image:url(https://vignette.wikia.nocookie.net/dev/images/a/a9/OggPlayer_stop.svg)}.audio-button.no-audio{cursor:help;background-color:#b30000;background-image:url(https://vignette.wikia.nocookie.net/dev/images/a/ae/OggPlayer_mute.svg)}.ogg-player audio,.ogg-player video{display:inline-block}.audio-button>*{display:none}
    background-color: #b30000;
#preload-templates{display:flex;flex-wrap:wrap;margin:0 0 1em 0;align-items:center;gap:10px}.ve-ui-summaryPanel #preload-templates{margin:0.5em 0;font-size:13px}#preload-templates #pt-list{margin-left:10px;min-width:160px;border-color:var(--theme-border-color);border-radius:3px;background-color:var(--theme-page-background-color);color:var(--theme-page-text-color);cursor:pointer;min-height:34px;padding:.3em .5em}#preload-templates #pt-help{background-color:var(--theme-accent-color);border-radius:50%;color:var(--theme-accent-label-color);display:flex;font-size:16px;height:25px;text-align:center;width:27px;align-items:center;justify-content:center;transition:.25s}#preload-templates #pt-help:hover,#preload-templates #pt-help:focus-within #preload-templates #pt-help:active{background-color:var(--theme-accent-color--hover)}#preload-templates #pt-help a{color:inherit;cursor:pointer;height:100%;width:100%;line-height:1.5}#preload-templates #pt-help a:hover{cursor:pointer;text-decoration:none}
}


/* Infobox CSS */
/* Infobox CSS */

Revision as of 03:55, 10 January 2025

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

#mw-content-wrapper{
  padding: 0 0;
}

@media screen and (min-width: 851px) {
    .ts-inner {
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 0;
        margin: auto;
    }
}

@media only screen and (min-width: 1596px) {
    #mw-content-wrapper {
        width: auto;
        padding: 0 0;
    }
}

/* Set Roboto Condensed as the default font */
body * {
    font-family: 'Roboto Condensed', Arial, sans-serif;
}

body > #mw-content-container {
    padding-top: 2.44%;
}

body #mw-content {
    border-radius: 12px;
    max-width: 115em;;
    margin: 1.5% 20px 20px 20px;
    padding: 7px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.8), inset 0 0 2px 0 rgba(5, 30, 114);
}

#firstheading.firstHeading.mw-first-heading {
	font-family: 'Roboto Condensed';
}

    body {
    background-color: #051e72;
    background: linear-gradient(180deg, #051e72 0, transparent 86.1333333333vw), linear-gradient(0deg, #051e72 0, transparent 52.6666666667vw), url(https://sonic-city.net/wp-content/uploads/2024/08/intro_bg.png) center top / auto 20px;
    position: relative;
}

@media screen and (max-width: 850px) {
    .cosmos-header__sitename a, .cosmos-header__local-navigation, .cosmos-header__wordmark, #cosmos-search-buttonContainer, .wds-button.wds-is-secondary.wds-dropdown__toggle {
        display: block;
    }
}

.cosmos-header__wordmark img {
    display: inline-block; /* Ensures proper alignment */
    max-width: 300px; /* Restricts the maximum size of the logo */
    height: auto; /* Maintains aspect ratio */
    transition: all 0.3s ease-in-out; /* Smooth hover effect */
}

.cosmos-header__wordmark a:hover img {
    filter: drop-shadow(0px 0 13px rgba(254, 235, 74, 0.9));
    -moz-opacity: 1;
    -webkit-opacity: 1;
    opacity: 1;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.cosmos-header__top-container {
 height: 10px;
}

.cosmos-header .cosmos-header__counter {
  color: #fff;
}

#firstHeading {
    font-family: 'Roboto Condensed', Arial, sans-serif;
}

#mw-previewheader {
    font-family: 'Roboto Condensed', Arial, sans-serif;
}

@media screen and (min-width: 1200px) {
    .mw-page-container, .vector-header-container .mw-header, .vector-header-container .vector-sticky-header {
        padding-left: 3.25rem;
        padding-right: 3.25rem;
        background-color: transparent;
}
}
.vector-pinned-container {
   background: #fff;
   border-radius: 12px;
   padding: 7px;
}

.mw-content-container{
    background: #fff;
    border-radius: 12px;
    padding: 7px;
}

.vector-header-container.vector-sticky-header-container {
	background-color: #051e72;
	color: #fff;
}	
.vector-sticky-header-context-bar-primary {	
	font-family: 'Roboto Condensed', Arial, sans-serif;
}

#cosmos-footer {
   background-color: #051e71;
   background-image: url(https://sonic-city.net/wp-content/uploads/2022/09/footerbg.png);
   background-repeat: repeat-x;
}

.cosmos-footerLinks-list li a {
 color: #fff;
}

.lquote {
    margin: 1.5em auto;
    padding-left: 20px;
    border-left-width: 3px;
    border-style: solid;
    border-color: #051e72;
    border-right: none;
    border-top: none;
    border-bottom: none;
}

#col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    background-color: transparent !important;
    border: unset !important;
}

#cosmos-banner{
	height: 46px;
    background-color:#051e72;
}

.cosmos-userButton-label {
	color: #fff;
	}

span.#p-personal-label.cosmos-userButton-label:hover {
   color:#fff;
}

.cosmos-header {
  background: #a60304;
}

.cosmos-header::before {
background: none;
}

.cosmos-header__wordmark {
    width: auto;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    float: none;
    padding: 15px 0;
    transition: all 0.3s ease-in-out; /* Smooth hover effect */
}

.cosmos-header__local-navigation {
  background-color: #051e70;
  height: 60px;
  justify-content: space-around;
  align-items: center;
  padding-left: 0;
}

.cosmos-header .wds-tabs .wds-tabs__tab-label a {
   color: #fff;
   letter-spacing: 1px;
   font-size: 15px;
}

.cosmos-header .wds-tabs .wds-tabs__tab:hover .wds-tabs__tab-label a {
   color: #fff;
   opacity: 1;
}

.wds-tabs .wds-tabs__tab:hover .wds-tabs__tab-label > a {
   opacity: 1;
}

.wds-tabs .wds-tabs__tab:hover .wds-tabs__tab-label {
   opacity: 1!important;
}

/* Audio CSS */


.audio-button{display:inline-block;vertical-align:-0.1em;width:1em;height:1em;overflow:hidden;border-radius:3px;background-color:#006cb0;transition:background-color .2s;cursor:pointer;background-repeat:no-repeat;background-position:center;background-image:url(https://vignette.wikia.nocookie.net/dev/images/d/d6/OggPlayer_play.svg)}.audio-button-parent{cursor:pointer}.audio-button.now-playing,.audio-button:hover,.audio-button-parent:hover > .click-parent{background-color:#b30000}.audio-button.now-playing{background-image:url(https://vignette.wikia.nocookie.net/dev/images/a/a9/OggPlayer_stop.svg)}.audio-button.no-audio{cursor:help;background-color:#b30000;background-image:url(https://vignette.wikia.nocookie.net/dev/images/a/ae/OggPlayer_mute.svg)}.ogg-player audio,.ogg-player video{display:inline-block}.audio-button>*{display:none}
#preload-templates{display:flex;flex-wrap:wrap;margin:0 0 1em 0;align-items:center;gap:10px}.ve-ui-summaryPanel #preload-templates{margin:0.5em 0;font-size:13px}#preload-templates #pt-list{margin-left:10px;min-width:160px;border-color:var(--theme-border-color);border-radius:3px;background-color:var(--theme-page-background-color);color:var(--theme-page-text-color);cursor:pointer;min-height:34px;padding:.3em .5em}#preload-templates #pt-help{background-color:var(--theme-accent-color);border-radius:50%;color:var(--theme-accent-label-color);display:flex;font-size:16px;height:25px;text-align:center;width:27px;align-items:center;justify-content:center;transition:.25s}#preload-templates #pt-help:hover,#preload-templates #pt-help:focus-within #preload-templates #pt-help:active{background-color:var(--theme-accent-color--hover)}#preload-templates #pt-help a{color:inherit;cursor:pointer;height:100%;width:100%;line-height:1.5}#preload-templates #pt-help a:hover{cursor:pointer;text-decoration:none}

/* Infobox CSS */

.portable-infobox {
    border-style: solid;
    border-color: #051e70;
    border-width: 1px;
}

.portable-infobox .pi-header, .portable-infobox .pi-title {
    background: url(https://sonic-city.net/wp-content/uploads/2023/02/substance-title.gif);
    color: #000;
    background-size: cover;
    text-align: center;
    padding: 10px;
    background-color: #fff;
    color: #ffffff;
    text-shadow: -2px -2px 0 #00308F, 2px -2px 0 #00308F, -2px 2px 0 #00308F, 2px 2px 0 #00308F;
    font-weight: 900 !important;
}

.pi-data-value.pi-font {
    padding-left: 10px;
    max-height: 193px;
    overflow-y: auto;
}

.portable-infobox .pi-data, .portable-infobox .pi-group {
    border-bottom: 1px;
    border-bottom-style: solid;
}

/***** Navbox *****/
.gbox {
    margin: 5px;
    float: left;
    width: 150px;
    height: auto;
	border: none;
}
.desc {
    height: auto;
    padding: 5px;
    font-size: smaller;
    line-height: 20px;
    text-align: center;
    background-color: black;
    border-top: #0041a2 solid 4px;
    color: white;
}
.desc a {
    color: white;
    word-wrap: break-word;
}
.gbox img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: center top;
    border: 1px solid aliceblue;
}
.gbox img:hover {
       background: white; 
       object-fit: cover !important;
}
.mw-collapsible.mw-made-collapsible {
    overflow: hidden;
}
.navb .wds-tab__content.wds-is-current {
    display: grid;
}
.navb .wds-tabs__tab {
    color: black;
    cursor: default;
    flex-shrink: 0;
    line-height: 14px;
    position: relative;
    transition: box-shadow .1s;
    border: 1px solid black;
    border-radius: 10px;
    flex-grow: 1;
    display: flex;
}
.navb .wds-tabs__tab-label {
   margin: auto;
   text-align: center;
}
.navb .wds-tabs__tab-label a {
    font-weight: 500;
    padding-left: 8px;
    white-space: break-spaces;
}
.navb .wds-tabs__tab.wds-is-current {
    border-color: var(--wds-tab-color--active);
    box-shadow: none;
    color: var(--theme-link-color);
}
.navb .wds-tabs {
    display: flex;
    flex-direction: revert;
    justify-content: center;
    gap: 10px;
    margin: 1px !important;
    flex-wrap: wrap;
}
.navb .tabbertab {
    display: grid; 
}
.navb .tabbertab table {
    width: 100%;
}
.gbox .selflink {
    color: white; 
}
.navb tr {
    display: flex; 
    flex-direction: row; 
    justify-content: space-around;
}
.navb .tabber.wds-tabber {
    overflow-x: auto !important;
}
.navb .tabber .tabber.wds-tabber {
    display: grid;
    grid-template-columns: 1fr 17fr;
    overflow-x: auto !important;
}
.navb .tabber .tabber.wds-tabber .wds-tabs {
    display: flex;
    flex-direction: column;
}
.navb .tabber .tabber .wds-tabs__wrapper {
    position: relative;
    display: flex;
}
.navb .wds-tabs__wrapper .wds-tabs {
    overflow-x: unset;
}
.navb .tabber .tabber .wds-tabs__tab.wds-is-current { 
    border-style: solid;
    border-color: var(--wds-tab-color--active);
    flex-grow: 1;
    border-radius: 10px;
    box-shadow: none;
    border-width: 1px;
}
.navb .tabber .tabber .wds-tabs__tab{ 
    border-style: solid !important;
    border-color: rgba(58, 58, 58, 0.75);
    flex-grow: 1;
    border-width: 1px;
    border-radius: 10px;
    box-shadow: none;
    width: 90%;
    margin-left: 15px;
    align-content: center;
    align-items: center;
    display: flex;
}
.navb .wds-tabs__wrapper.with-bottom-border {
    border-bottom: none;
}