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

MediaWiki:Common.css: Difference between revisions

m Protected "MediaWiki:Common.css" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
No edit summary
 
(36 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 */
#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 */
/* Set Roboto Condensed as the default font */
body * {
body * {
Line 5: Line 26:
}
}


h1#firstheading.firstHeading.mw-first-heading {
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';
font-family: 'Roboto Condensed';
}
}


@media screen and (min-width: 1200px) {
     body {
     body {
     background-color: #051e72;
     background-color: #051e72;
Line 15: Line 47:
     position: relative;
     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;
}
}


Line 60: Line 124:
.cosmos-footerLinks-list li a {
.cosmos-footerLinks-list li a {
  color: #fff;
  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;
}
}


Line 96: Line 171:
     margin: 0 auto;
     margin: 0 auto;
     float: none;
     float: none;
    padding: 15px 0;
    transition: all 0.3s ease-in-out; /* Smooth hover effect */
}
}


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


Line 107: Line 187:
   letter-spacing: 1px;
   letter-spacing: 1px;
   font-size: 15px;
   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;
}
/***** 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;
}
}

Latest revision as of 10:13, 30 December 2024

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



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