Template:Theme-STR: Difference between revisions
From HUIJIA FUN
PlurimodSU (talk | contribs) Debug the color scheme |
PlurimodSU (talk | contribs) Debug: Color Scheme and Sidetools |
||
| Line 266: | Line 266: | ||
} | } | ||
/* Bug Defender | |||
@media screen and (min-width: 1100px) { | @media screen and (min-width: 1100px) { | ||
#mw-content-container { margin-top: 25px; } | #mw-content-container { margin-top: 25px; } | ||
} | } */ | ||
@media screen and (min-width: 851px) { | @media screen and (min-width: 851px) { | ||
| Line 713: | Line 714: | ||
/* === 23. MOBILE (≤850px) === */ | /* === 23. MOBILE (≤850px) === */ | ||
@media screen and (max-width: 850px) { | |||
.sidebar-chunk { | |||
transform: none !important; | |||
animation: none !important; | |||
opacity: 1 !important; | |||
background: none !important; | |||
border: none !important; | |||
box-shadow: none !important; | |||
} | |||
.sidebar-chunk h2 { | |||
font-size: 0 !important; | |||
border: none !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
} | |||
#mw-content-block{ | |||
background: transparent !important; | |||
} | |||
/* Hide the empty green sidebar/portlet shells */ | |||
.sidebar-chunk:empty, | |||
.mw-portlet:empty, | |||
.mw-portlet:not(:has(li)):not(:has(a)) { | |||
display: none !important; | |||
border: none !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
background: none !important; | |||
} | |||
#mw-content-block .sidebar-chunk { | |||
border: none !important; | |||
box-shadow: none !important; | |||
background: transparent !important; | |||
padding: 0 !important; | |||
} | |||
} | |||
</style> | </style> | ||
Revision as of 10:34, 3 June 2026
Description
Origin
Author: Marina Malinti
Note
To use this theme on a page, simply add the following code directly to the page's source code:
{{Theme-STR}}
