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

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* 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 */
/* Set Roboto Condensed as the default font */
body * {
body * {
     font-family: 'Roboto Condensed', Arial, sans-serif;
     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);
}
}


Line 96: Line 126:
     margin: 0 auto;
     margin: 0 auto;
     float: none;
     float: none;
    padding: 15px 0;
}
}


Line 101: Line 132:
   background-color: #051e70;
   background-color: #051e70;
   height: 60px;
   height: 60px;
  justify-content: space-around;
  align-items: center;
  padding-left: 0;
}
}


Line 106: Line 140:
   color: #fff;
   color: #fff;
   letter-spacing: 1px;
   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;
}
}

Revision as of 10:14, 28 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';
}

@media screen and (min-width: 1200px) {
    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;
}
}

#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;
}

#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;
}

.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;
}