×
Create a new article
Write your page title here:
We currently have 188 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
188Articles

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 49: Line 49:
         display: block;
         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 */
    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;
}
}


Line 150: Line 170:
     float: none;
     float: none;
     padding: 15px 0;
     padding: 15px 0;
    transition: all 0.3s ease-in-out; /* Smooth hover effect */
}
}



Revision as of 02:51, 29 December 2024

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

@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;
    padding: 0 1em;
    margin: 1.5% auto 20px;
    padding: 7px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.8), inset 0 0 2px 0 rgba(5, 30, 114);
}

h1#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 */
    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;
}



/* 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;
}