यह पृष्ठ, या इसके कुछ हिस्से अभी भी पूरी तरह सेे अनुवादित नहीं हैं। कृपया इसे निर्धारित भाषा (हिन्दी) में अनुवादित करें।
यह कुकबुक उन CSS स्निपेटों का एक समूह है जिन्हें आप जैसे भी चाहें, इस्तेमाल कर सकते हैं।
CSS टुटोरिअल[]
बैकग्राउंड की तस्वीर[]
अगर आप CSS का इस्तेमाल करके अपने विकी के बैकग्राउंड को बदलना चाहते हैं, और दूर देखने की ज़रुरत नहीं। आम तौर पर, आप इसे इसकी मदद से कर सकते हैं:
body.mediawiki {
/* इस टेक्स्ट को उस तस्वीर की URL में बदल दे जिसे आप अपना बैकग्राउंड बनाना चाहते हैं */
background-image: url("<URL>");
/* बैकग्राउंड के रंग को हेक्स या रंग के रंग के नाम का इस्तेमाल करने पर बदल देता है */
background-color: red;
/* ब्लेंड मोड से दो या उससे ज़्यादा बैकग्राउंड लेयर को कंबाइन करता है, किसी एक ब्लेंड ब्लेंड मोड के नाम के इस्तेमाल से दिखाई देने वाली बैकग्राउंड बदले (उदाहरण: "color-dodge", "screen", "multiply", "hard-light", "difference", "luminosity") */
background-blend-mode: normal;
/* पृष्ठ के साथ स्क्रॉल करने की अनुमति देने के लिए सेट करें, या स्थिर रखने के लिए fixed */
background-attachment: scroll;
/* चित्र के शुरू होने के दिशा को लगाएं (यानि, "top left", "left center", "right center", etc), प्रतिशत (x% y%),या स्थान (xpos ypos). (नोट: % और pos को मिश्रित किया जा सकता है) */
background-position: top left;
/* डिफ़ॉल्ट चित्र को लम्ब और क्षैतिज, दोनों रूपों से रिपीट कर देता है; इसे repeat-y पर लगाने से चित्र बस लम्ब रूप से दोहराएगा, repeat-x लगाने पर चित्र क्षैतिज रूप से दोहराएगा, और no-repeat लगाने से चित्र दोहराएगा ही नहीं। */
background-repeat: repeat;
}
किसी अलग टोनिंग की ज़रुरत पड़ सकती है, पर ये बुनियाद हैं।
Message Wall user tags[]

This snippet by Caburum allows you to add a customizable "tag" to messages and forum posts by a specified user. It can be used to distinguish administrators, bureaucrats, the wiki's founder etc. It can be used for any purpose.
[class^='EntityHeader_name__'][href$="Username"]::after {
content: " (Tag)";
color: var(--theme-page-text-color);
}
Change Username
to the username (make sure to replace any spaces with %20
or, if the name uses special characters, you can transform it in an URL Encoder and use its result) and change (Tag)
to whatever you want to show after. You can type any other CSS rules to customize the appearance of the tag. The above example, in addition to adding the tag, makes the text color the same color as other text, but this can be changed.
स्पेसिफिक CSS[]
फैनडम में काफी बिल्ट-इन क्लास हैं।
.ns
- नेमस्पेस स्पेसिफिक क्लास
- इस पृष्ठ की है
.ns-0
/* यूजर नेमस्पेस में रंग बदले */
.ns-2 {
color: black;
}
.theme-fandomdesktop-light
and.theme-fandomdesktop-dark
- डार्क विकियो पर क्लास अपने आप ऐड हो जाता है
/* डार्क विकियो के लिए लिंक कलर बदले, पर लाइट विकियो के नहीं */
.theme-fandomdesktop-dark a {
color: white;
}
.page
- पृष्ठ की स्पेसिफिक क्लास
- This page's is
.page-CSS_Cookbook
/* किसी एक पृष्ठ पर स्टाइलिंग लगाए */
.page-CSS_Cookbook h2 {
font-weight: bold;
}
.wiki
- विकी स्पेसिफिक क्लास
- इस विकी का है
.wiki-dev
/* सिर्फ Dev विकी पर कुछ स्टाइलिंग */
.wiki-dev .portable-infobox {
padding: 1px;
}
साइट संवर्द्धन[]
Image styling[]
This CSS manipulates the appearance of a specific image on your wiki, use this CSS snippet below, replacing Filename.ext
with an image on your wiki (for example: Example.jpg
):
img[src*="Filename.ext"] {
/* Apply filters to manipulate image color */
filter: none;
/* Combines color with the site background, and the image. (supported blend modes include "color", "color-burn", "color-dodge", "darken", "difference", "exclusion", "hue", "lighten", "luminosity", "multiply", "normal", "overlay", "plus-lighter", "saturation", "screen", and "soft-light" */
mix-blend-mode: multiply;
/* Set the opacity, to make the image opaque, or transparent. */
opacity: 1;
/* More CSS attributes */
}
/* Prevent effects from being used on file history, especially when hovering image on it's file page to enable viewing original images, incase vandalized. */
.filehistory img {
filter: revert !important;
mix-blend-mode: revert !important;
opacity: revert !important;
/* More CSS attributes */
}
#file img:hover {
filter: revert !important;
mix-blend-mode: revert !important;
opacity: revert !important;
/* More CSS attributes */
}
To apply CSS image manipulation for light and dark skins, place .theme-fandomdesktop-
(for desktop), and .theme-fandommobile-
(for mobile), with the class suffix light
or dark
before img
.
ब्लैकआउट कस्टमाइज़ेशन[]

किसी तस्वीर को लिघ्टबॉक्स पर देखने से आने वाली ब्लैकआउट को बदलने के लिए नीचे दिए स्निपेट का इस्तेमाल करें:
.blackout {
background: #84dcff;
mix-blend-mode: overlay;
}
बैकग्राउंड के कलर #84dcff
को ज़रुरत की रंग से बदले और ब्लेंड मोड overlay
को ज़रुरत की मिक्सिंग मोड से बदले।
Gallery styling[]
This CSS snippet by ValleyMaster will change the default appearance of galleries.
/* Alters the whole gallery */
.wikia-gallery {
/* CSS Attributes */
}
/* Alters each gallery item */
.wikia-gallery-item {
text-align: center;
padding: 0px;
margin: 5px;
background-color: rgba(0,0,0,0.1);
border-radius: 1em;
/* More CSS Attributes */
}
/* Removes the default border of the images */
.wikia-gallery-item .thumb .gallery-image-wrapper {
border-style: none;
}
If you want a custom image border, remove border-style: none
and replace it with border: _px solid color
.
You may also apply a border-radius
if you'd like, and this works even with border-style: none
active.
/* Changes the default position of the images to center */
.wikia-gallery-position-left {
text-align: center;
}
/* Alters the caption of the images */
.theme-fandomdesktop-dark .lightbox-caption {
border-top: 1px solid #4d4d4d;
border-bottom: 1px solid #4d4d4d;
/* More CSS Attributes */
}
.theme-fandomdesktop-light .lightbox-caption {
border-top: 1px solid #cecece;
border-bottom: 1px solid #cecece;
/* More CSS Attributes */
}
Expand/Collapse toggle button design[]
This CSS snippet will allow you to design the expand/collapse toggle button.
/* Alters the appearance of the toggle button. */
.mw-collapsible-text {
/* CSS Attributes */
}
/* Removes the default square brackets (for design purposes) — from MediaWiki. */
.mw-collapsible-toggle-default:before, .mw-collapsible-toggle-default:after {
display: none;
}
/* Changes the default position of the toggle button to left instead of right. — from MediaWiki. */
.mw-collapsible span.mw-collapsible-toggle {
float: none;
margin-left: 0;
margin-right: 1em;
}
Sometimes, the toggle button may not be better on the left side. This CSS snippet by ValleyMaster will allow you to change the position back to right.
.float-right .mw-collapsible span.mw-collapsible-toggle {
float: right;
}
To apply this, close the tag with mw-collapsible
with <div class="float-right"></div>
.
For example:
<div class="float-right">
<div class="mw-collapsible mw-collapsed">
text 1
<div class="mw-collapsible-content">
text 2
</div>
</div>
Table example:
<div class="float-right">
{| class="wikitable mw-collapsible mw-collapsed"
!Text 1
|-
|Text 2
|}
</div>
Block-style header[]

This CSS snippet by JustLeafy, makes the page header looks like a block style with a solid background color. It indirectly returns the style of the Oasis-style header.
.fandom-community-header {
background: var(--theme-accent-color);
color: var(--theme-accent-label-color);
padding: 15px 20px 5px 20px;
}
.page {
margin-top: 0;
}
Condensed header dropdowns[]

This CSS snippet by JustLeafy, makes the style of the dropdowns of the page header look more condensed.
.fandom-community-header__local-navigation .wds-dropdown__content {
padding: 0 !important;
}
.fandom-community-header__local-navigation .wds-dropdown__content .wds-list.wds-is-linked > li {
padding: 0 6px !important;
}
Wiki-themed scrollbar[]

This CSS snippet by Headquarter8302 styles the wiki's scrollbar with the current theme that is being applied, regardless of color and theme selection (light or dark). The snippet uses the relatively new scrollbar-color
property introduced in the CSS Scrollbars Styling Module Level 1 spec.
:root {
scrollbar-color: var(--theme-accent-color) var(--theme-accent-color--hover);
}
Line-height customization[]
Customizing line-height is useful for Indic scripts such as Devanagari, Bengali, Kannada, Odiya, etc due to mātrās (such ि, ी, ु and ू), flowing off the lines in specific locations and making it look untidy. It is recommended that all wikis in the mentioned languages use this:
.wds-community-header__sitename,
.fandom-community-header a,
#content h2,
#content h3,
#content h4 {
line-height: 1.5;
}
Link customization[]
This CSS snippet was created by Cleverduck09 to customize what links wiki-wide look like on hover, once they have been visited, and when they haven't been visited or hovered on, input the following code:
/* What the link looks like when you haven't clicked/hovered on it */
a:link {
color: CODE;
background-color: CODE;
text-decoration: CODE;
text-shadow: CODE;
/* More CSS Attributes */
}
/* What the link looks like when you've visited it */
a:visited {
color: CODE;
background-color: CODE;
text-decoration: CODE;
text-shadow: CODE;
/* More CSS Attributes */
}
/* What the link looks like when you're hovering on it */
a:hover {
color: CODE;
background-color: CODE;
text-decoration: CODE;
text-shadow: CODE;
/* More CSS Attributes */
}
/* What the link looks like when you click it */
a:active {
color: CODE;
background-color: CODE;
text-decoration: CODE;
text-shadow: CODE;
/* More CSS Attributes */
}
Profile background[]

If you want to insert a background image that spans across of profiles of users, you can use:
#userProfileApp {
/* insert URL to profile background image */
background-image: url("<URL>");
}
Note: Add background-repeat: no-repeat;
if you have added a wider image. They may not fit and will result in a repeating background.
Print/PDF sanitisation[]
This stylesheet by Headquarter8302 distills the print/PDF output to a more print and PDF friendly format by removing most if not all Fandom elements and only leaving the Infoboxes and the content articles, while also making a lot of the page content much more legible. If you have found some elements that should be removed or if you want this to be turned into a fully-maintained stylesheet, please harass Markus (the author of this snippet).
Remember to put this inside MediaWiki:Print.css, and not your Common.css.
:root {
--pi-border-color: black !important;
}
.fandom-sticky-header,
.global-navigation,
#mixed-content-footer,
.bottom-ads-container,
.top-ads-container,
.global-footer,
div[class^="InlineEntityFormWrapper_inline-entity-form-wrapper"],
#WikiaBar,
.page-side-tools__wrapper,
.page-header__actions,
.page__right-rail,
.community-header-wrapper,
.mw-editsection,
.page-footer__categories .wds-icon.wds-icon-small,
div[class^="Filters_article-comments-filters"],
#mw-data-after-content {
display: none !important;
}
:not(pre > *),
:not(.mw-highlight > *) {
background: white !important;
color: black !important;
}
.main-container, .resizable-container {
max-width: none;
width: 100%;
margin: 0;
}
स्क्रोलबार कस्टमाइजेशन[]

अगर आप अपने विकी के स्क्रोलबार को कस्टमाइज करना चाहते है, आप उनमें काफी साड़ी प्प्रॉपर्टी डालने के लिए इन सेलेक्टर्स का उपयोग कर सकते हैं:
/* स्क्रोलबार को 8px चौड़ा बना देता है */
::-webkit-scrollbar {
width: 8px;
}
/* स्क्रोलबार के ट्रैक को एक काला बैकग्राउंड देता है */
::-webkit-scrollbar-track {
background: black;
}
/* स्क्रोलबार को हरा बैकग्राउंड देता है */
::-webkit-scrollbar-thumb {
background: #228B22;
}
/* कर्सर मंडराने पर हरे का एक गहरा शेड दिखेगा */
::-webkit-scrollbar-thumb:hover {
background: #222;
}
ध्यान रखे: स्क्रोलबार कस्टोमिजातिओं क्रोम, सफारी और ओपेरा जैसे WebKit पर आधारित ब्राउज़रों पर ही काम करेंगी।
/* Change all of the scrollbars using properties supported for Firefox browsers */
* {
scrollbar-color: #888 transparent;
scrollbar-width: thin;
}
यूजरनेम हाईलाइट[]

यह CSS स्निपेट एडमिनिस्ट्रेटर के यूजरपेज। मैसेज वाल, कंट्रिब्यूशंस और ब्लॉग लिस्टिंग के लिंक हाईलाइट कर देता है:
a[href$=":एडमिन_का_यूजरनेम"],
a[href$="/एडमिन_का_यूजरनेम"] {
/* यूजरनेम के रंग बदल देता है */
color: #006600 !important;
/* यूजरनेम को बोल्ड बना देता है */
font-weight: bold !important;
/* यूजरनेम के फॉण्ट को बदल देता है */
font-family: Arial !important;
/* More CSS Attributes */
}
एडमिन_का_यूजरनेम को उस एडमिनिस्ट्रेटर के नाम से बदल दे, जिसको आप यह रंग देना चाहते हैं, #006600
को दिए जाने वाले रेंज से और Arial
को हाईलाइट में दिए जाने वाले फॉण्ट से। अगर आपको ज़रुरत नहीं, तो आप किसी सेक्शन को हटा भी सकते हैं।
a[href$=":एडमिन_का_यूजरनेम"],
a[href$="/एडमिन_का_यूजरनेम"],
a[href$=":Admin's%20Username"],
a[href$="/Admin's%20Username"] {
/* CSS Attributes */
}
In case there are other special characters in the username (such as & or ' ), those need appropriate encoding as well.
Change outline style[]
This minor CSS plug-in customizes the style of the outline. The outline means the blue border that appears when tabbing (using ↹ Tab to navigate a page). It is a style that is not to be confused with border
. An outline is a line that is drawn around elements (outside the borders) to make the element "stand out".
a:focus {
/* Sets the color of the outline */
outline-color: green;
/* Sets the amount of space between an outline and the edge or border of an element */
outline-offset: 1px;
/* Sets the style of the outline (e.g. dotted, dashed, solid etc.) */
outline-style: solid;
/* Sets the width of the outline */
outline-width: 2px;
}
Note: Do not remove that outline as it is vital for making your wiki accessible to users who only use their keyboards.
Round corners on Special:Community[]
This snippet by Louky rounds corners of Community Page modules:
.community-page-card-module-header, .community-page-card-module {
border-radius: 40px 40px / 40px 40px;
}
Pixelated images[]
This snippet by Rail makes sure that low resolution pixelart images are being displayed without antialiasing applied by Fandom's image processing service.
.mw-parser-output img {
-ms-interpolation-mode: nearest-neighbor;
image-rendering: -moz-crisp-edges;
image-rendering: -o-crisp-edges;
image-rendering: -webkit-optimize-contrast;
image-rendering: crisp-edges;
}
Reduced motion[]
This CSS snippet will make the duration of all CSS animations and transitions in such a short time that they are not noticeable anymore, while keeping it functional in case there's scripts that depends on animations and/or transitions to work. This can be useful for people who don't like animations, have motion-triggered vestibular spectrum disorders or want to improve page performance. The code will take effect only if the user has the prefers-reduced-motion preference on their system set to true. Snippet from web.dev.
@media (prefers-reduced-motion: reduce) {
*, ::before, ::after {
animation-delay: -1ms !important;
animation-duration: 1ms !important;
animation-iteration-count: 1 !important;
background-attachment: initial !important;
scroll-behavior: auto !important;
transition-duration: 0s !important;
transition-delay: 0s !important;
}
}
You can also remove the media query to apply it to the wiki no matter the user's preference.
[]
Allows links in the navigation bars to be keyboard-navigable (it's highly recommended to implement along with JumpToContent since it can drastically increase the amount of links keyboard users will have to navigate in each page before getting to its contents).
.wds-dropdown:not(.wds-is-touch-device):not(.wds-is-not-hoverable):is(:hover, :focus, :focus-within) .wds-dropdown__content,
.fandom-community-header__local-navigation .wds-dropdown__content .wds-list.wds-is-linked .wds-dropdown-level-nested:not(.wds-is-touch-device):is(:hover, :focus, :focus-within) > .wds-dropdown-level-nested__content {
display: block;
}
Edit sections[]
Hidden edit sections[]

This CSS snippet by Александр III hides all edit links next to section headers.
.mw-editsection {
display: none;
}
Change icon for edit sections[]
This CSS snippet by Laclale and KockaAdmiralac changes icon for all edit links next to section headers. You can change the URL that links to image.
.section-edit-pencil-icon, .mw-editsection .wds-icon {
background: url('https://vignette.wikia.nocookie.net/ocraviutl/images/1/13/EditVester.png/revision/latest?path-prefix=ja') no-repeat;
}
.section-edit-pencil-icon use, .mw-editsection .wds-icon use {
opacity: 0;
}
Transparent strikes[]
This CSS snippet by Leslie1289 makes <s>
and related elements semi-transparent. Example.
strike, s, del {
opacity: 0.5;
}
Semi-transparent page background[]
The background of the content area is currently opaque, meaning the wiki background image behind it is not visible. To set that background semi-transparent while keeping the color picked via Theme Designer, use:
.page__main {
background-color: rgba(var(--theme-page-background-color--rgb), 0.96);
}
The value of 0.96 is the opacity and it can be increased or decreased, but it's not recommended to lower it too much since the background image behind might make the text hard to read.
The code above would still leave the right rail and the bottom Fan Feed opaque. In order to make them semi-transparent too, the following extended version can be used instead:
.page__main,
.page__right-rail,
#mixed-content-footer {
background-color: rgba(var(--theme-page-background-color--rgb), 0.96);
}
.page__right-rail .rail-module {
background: transparent;
}
Sticky search bar on Special:Search[]
This simple snippet by User:SuperDragonXD1 makes the search bar, alongside the related wikis and filters sidebar on Special:Search and Special:SearchCommunity.
/* Search bars being sticky */
.mw-special-Search form.unified-search__form, .mw-special-SearchCommunity form.unified-search__form {
position: sticky;
top: 42px;
z-index: 1;
}
/* Tabs on the left being sticky */
.mw-special-Search .unified-search__layout__left-rail {
position: sticky;
top: 100px;
align-self: flex-start;
}
/* Related community section being sticky */
.mw-special-Search .unified-search__layout__right-rail {
position: sticky;
top: 85px;
align-self: flex-start;
}
/* General rule */
.mw-special-Search div#content, .mw-special-SearchCommunity div#content {
overflow: unset;
}
/* Prevent overlapping of the search bar if there are more CSS customizations */
.mw-special-SearchCommunity .unified-search__result {
margin: 8px;
}
FAB TOC only[]
This CSS snippet sets a middle ground between showing all Table of Contents (TOC) and not showing any of them, by hiding the TOC in the article but keeping the one in the Floating Action Button (FAB) on the top left of the page (or top right if you're on mobile). The in-page's TOC can still be accessed through keyboard navigation.
#toc:not(:focus-within) {
clip: rect(1px, 1px, 1px, 1px);
overflow: hidden;
position: absolute;
}
Rail toggle button as FAB[]
The rail toggle button doesn't scroll with you as the buttons on the left side does, making you have to scroll to the top of the page to toggle the side bar, so this personal CSS snippet gives that specific button the same styling as the other Floating Action Buttons (FABs) so it follows you around when you scroll.
/* Adds FAB styling to the rail toggle button */
.page__right-rail > .right-rail-toggle {
-webkit-box-pack: center;
-webkit-box-align: center;
align-items: center;
background: var(--theme-page-background-color);
border: none;
border-radius: 50%;
-webkit-box-shadow: 0 3px 12px 0 rgb(0 0 0 / 30%);
box-shadow: 0 3px 12px 0 rgb(0 0 0 / 30%);
color: var(--theme-link-color);
cursor: pointer;
display: -webkit-box;
display: flex;
height: 36px;
justify-content: center;
margin-bottom: 9px;
margin-top: 18px;
outline: none;
padding: 0;
position: sticky;
top: 58px;
-webkit-transition: color .3s;
transition: color .3s;
width: 36px;
}
.page__right-rail > .right-rail-toggle:focus-visible {
outline: 2px solid var(--theme-link-color);
}
.page__right-rail > .right-rail-toggle:hover,
.page__right-rail > .right-rail-toggle:focus {
color: var(--theme-link-color--hover);
}
.page__right-rail > .right-rail-toggle {
float: right;
transform: translateX(18px);
}
/* Restores rail's original position and width */
.right-rail-wrapper {
transform: translateY(-63px);
width: 100%;
}
HTML theme colors[]
This snippet sets the accent color for user-interface controls generated by some default HTML elements as well as the scrollbar. Note that accent-color is enabled by default only in recent browser versions, and color-scheme has wider browser support.
The following snippet assumes that your wiki is light-theme by default, but you can invert the color-scheme
value to dark light
if your wiki is dark-themed by default, and you also may want to change the class .theme-fandomdesktop-dark
to .theme-fandomdesktop-light
to properly update the color scheme for light theme.
/* Undefined/light theme */
:root {
accent-color: var(--theme-link-color);
color-scheme: light dark;
}
/* Dark theme */
.theme-fandomdesktop-dark {
accent-color: var(--theme-link-color);
color-scheme: dark light;
}
Sticky table headers[]
You can make table header cells follow your screen so users can permanently see what each column is about. To do so, you use the following CSS:
/* Allows sticky elements to work inside the page's content. */
#content {
overflow: initial;
}
Then you can make header cells sticky. Here we will show two methods: one that only checks for the table class nd other that checks for each cell's class.
/* Method 1: check for table's class. All header cells of that table will be sticky. */
table.sticky-header th {
position: sticky;
top: 45px;
}
/* Method 2: check only for table header cells with the "sticky-header" class. */
table th.sticky-header {
position: sticky;
top: 45px;
}
[]
The following snippet aligns the footer section in mobile to not obstruct any elements above as it can clash with interactive maps and navboxes.
- Note: This snippet should only be added either to your personal CSS, or to your local
FandomMobile.css
. It won't work if it's added elsewhere, or if mobile CSS hasn't been enabled for your community.
.article-footer {
transform: unset;
}
.article-footer-item, .article-information-header, .wds-font-size-base {
transform: unset;
}
Remove mobile main page elements[]
The following snippet comes from Sky Children of the Light Wiki, in which it removes elements from the native main page in mobile in order to have the wiki's main page to only show at the top.
- Note: This snippet should only be added either to your personal CSS, or to your local
FandomMobile.css
. It won't work if it's added elsewhere.
.mobile-main-page__wiki-description {
display: none;
}
.mobile-main-page__trending-articles {
display: none;
}
.mobile-main-page__popular-categories {
display: none;
}
.mobile-main-page .mobile-hidden {
display: block;
}
सदस्य कस्टमाइजेशन[]
WikiEditor Syntaxhighlight Extensions[]

Personal CSS only: This CSS extension pack by Suggon adds a few visual fixes and syntaxhighlight features into the 2010 wikitext editor; some being inspired by VSCode.
- Enable editor overscrolling
- Fix occasional "disappearance" of text cursor
- Line highlight on mouse hover
- Comprehensible matching-brackets
- Outline for lines with matching-bracket
- Left border for lines between matching-brackets — handy for debugging nested parser functions
.CodeMirror {
caret-color: var(--theme-page-text-color);
}
.CodeMirror * {
transition-property: background-color, box-shadow, filter;
transition-duration: 0.2s;
}
.cm-mw-matchingbracket {
background-color: transparent !important;
box-shadow: 0 0 0 0.5px rgba(128,128,128,.5) !important;
filter: brightness(2);
.theme-fandomdesktop-light & {
box-shadow: 0 0 0 0.5px rgba(0,0,0,.5) !important;
}
}
.CodeMirror-line:hover {
background-color: rgba(128,128,128,.1) !important;
}
.CodeMirror-line:has(.cm-mw-matchingbracket) {
box-shadow: inset 0 0 0 2px rgba(128,128,128,.2);
}
.CodeMirror-code div:last-child {
height: 50vh;
}
.CodeMirror-code div:has(.cm-mw-matchingbracket), .CodeMirror-code div:has(.cm-mw-matchingbracket) ~ div {
box-shadow: -1px 0 #0af;
}
.CodeMirror-code div:has(:nth-child(2 of .cm-mw-matchingbracket)) ~ div, .CodeMirror-code div:nth-child(2 of :has(.cm-mw-matchingbracket)) ~ div {
box-shadow: none;
}
.CodeMirror-gutters {
margin-left: -0.5px;
}
Remove Search Tooltip[]
Personal CSS only: This is a very simple user customization which removes the yellow tooltip indicating options to search specific, highlighted text.
#highlight__main-container {
display: none;
}
कर्सर कस्टमाइजेशन[]

अगर आप कर्सर के हिसाब से दिखने वाली आइकॉन बदलना चाहते हैं, तो इस का इस्तेमाल कर सकते हैं:
/* This cursor icon will be displayed normally */
html {
/* कर्सर आइकॉन का यूआरएल डालें */
cursor: url("<URL>"), default;
}
/* This cursor icon will be displayed when hovering or clicking on links */
a:hover, a:active {
/* कर्सर आइकॉन का यूआरएल डालें */
cursor: url("<URL>"), pointer;
}
डिटेक्ट यूजरनेम टेम्पलेट[]

TheGoldenPatrik1 द्वारा यह CSS स्निपेट {{USERNAME}} टेम्पलेट के आस-पास बॉर्डर बना देता है ताकि सदस्य इससे बुद्धू न बने:
.insertusername,
.inputusername,
.InsertUsername,
.InputUsername {
border: 1px solid;
padding: 0.5px;
}
Fix "Mark All As Read" button[]
This personal only CSS snippet by Headquarter8302 fixes the issue where the floating wiki navigation bar covers the top of the notifications popup, and thus, covering the "Mark All As Read" button. The snippet below changes the z-index of the notifications popup and the header:
.fandom-sticky-header.is-visible {
z-index: 499;
}
.notifications header[class*="NotificationsDropdown-module_contentHeader"] {
z-index: 500;
}
Force default cursor[]

This personal only CSS snippet forces all cursors to become default. This means that custom wiki cursors will be restored back to default. It also replaces the hand cursor when hovering over links with the default cursor.
body,
* {
cursor: default !important;
}
a:hover {
cursor: pointer !important;
}
Hide main page categories[]

This personal-only CSS snippet by JustLeafy and KockaAdmiralac prevents the bottom category bar to appear on the main page:
.mainpage .article-categories, .mainpage .page-footer__categories {
display: none;
}
मेन पृष्ठ के नाम को छिपाए[]
DiegoFire Network द्वारा यह सिर्फ-व्यक्तिगत CSS स्निपेट एक विकी के मेन पृष्ठ के ऊपर से इसके नाम को हटा देता है।
.mainpage .WikiaPage .page-header__title,
.mainpage .WikiaPage .page-header__separator,
.mainpage #firstHeading {
display: none;
}
Hide global sidebar[]
This personal-only CSS snippet by Headquarter8302 removes the global sidebar and allowing a larger view of the content page. If you'd like to completely remove the margins present on the main container, consider using MinutelyWider.
.global-explore-navigation#global-explore-navigation { display: none }
.main-container {
margin-left: 0;
width: initial
}
Minified PPH[]

This personal-only CSS snippet by KurwaAntics minifies Fandom's new article header by removing the category list and language dropdown button on the top of the header and reducing the article's title's font size:
.page-header__categories,
.page-header__languages {
display: none;
}
.page-header__title {
font-size: 34px;
}
पहली वाली WDS बटन डिज़ाइन[]

JustLeafy द्वारा यह माइनर CSS प्लगइन बटन को पहले जैसेदिखता है जब उनपर गोल कार्नर और बड़े फॉण्ट नहीं हुआ करते थे।
.wds-button {
padding: 7px 12px;
font-size: 10px;
border-radius: 0 !important;
}
Retro 2010 ACE Editor[]

This CSS snippet by Headquarter8302 makes the 2010 ACE Editor text have a glowy text effect, similar to Windows Terminal's retro terminal setting.
.ace_line {
text-shadow: 0 0 5px currentColor;
}
सिलेक्शन कस्टमाइजेशन[]

JustLeafy द्वारा यह CSS स्निपेट सिलेक्शन के बैकग्राउंड रंग को हल्का ट्रांसपेरेंट बना देता है।
::selection {
background: rgba(120,120,120,0.5);
}
Smooth page load[]

This personal only CSS code by Cleverduck09 creates a short fade-in animation on wiki pages.
@keyframes pageload {
from { opacity: 0; }
to { opacity: 100; }
}
body,
.Message__content,
.wds-dropdown,
.wds-tabs__tab,
.wds-dropdown__toggle,
.client-js {
animation-name: pageload;
animation-duration: 0.4s;
animation-iteration-count: 1;
animation-delay: 0s;
}
diff हाईलाइट बदले[]
RyaNayR द्वारा यह CSS स्निपेट diff-change हाईलाइट कलर स्कीम पर एक लाल आउटलाइन-बॉर्डर लगा देता है। यह छोटे एक-अक्षर के बदलाव को देखने में आसान बना देगा, जबकि बड़े diff पर भी आँखों में नहीं चुभेगा, जब आपके विकी पर कोई एडिट-बदलाव देख रहा हो।
.diffchange {
border: 1px solid #f00;
}
फैन फीड हटाए[]

यह सरल CSS स्निपेट मेन पृष्ठ, आर्टिकल पृष्ठ और फाइल पृष्ठ के नीचे दिखने वाली फैन फीड को हटा देता है।
#mixed-content-footer {
display: none;
}
कैरट रंग[]

कैरट रंग एक सरल स्टाइलशीट है जो कैरट (या टेक्स्ट इंडिकेटर कर्सर) को एक अलग रंग दे देता है। वर्तमान में कैरट को बस caret-color
से एक अलग रंग दिया जा सकता है, लेकिन छोड़ या दुसरे प्रॉपर्टी अभी कस्टमाइज नहीं किये जा सकते क्योंकि वे प्रॉपर्टी अभी भी मौजूद नहीं हैं। यह माइनर CSS प्लगइन सारे टेक्स्ट-एरिया पर कैरट पर प्रभाव डालेगा। ध्यान रखे कि यहाँ कैरट का रंग लाल है, पर इसे अवश्य दुसरे रंगो से बदला जा सकता है।
textarea {
caret-color: red;
}
रीड फीड/अनाउंसमेंट छिपाये[]
Andrewds1021 द्वारा जोड़ा गया यह CSS स्निपेट फीड/अनाउंसमेंट ड्राप-डाउन मेनू (ग्लोबल नेविगेशन हैडर पर बेल्ल आइकॉन) में रीड नोटिफिकेशन छिपा देता है। यह नोटिफिकेशन के बीच की सीधी लाइन भी बदलता है ताकि आखरी अपठित मैसेज के नीचे एक एक्स्ट्रा लाइन न हो। यह बस व्यक्तिगत इस्तेमाल के लिए है।
/* Hiding read notifications */
#notificationContainer .wds-notification-card:not(.wds-is-unread), .notifications li:not([class*="isUnread"]) {
display: none;
}
/* Re-working horizontal rules */
#notificationContainer.wds-has-lines-between > li {
border-bottom: 0;
border-top: 1px solid #bed1cf;
}
#notificationContainer.wds-has-lines-between > li:first-child {
border-top: 0;
}
Large thumbnails in Dynamic Categories[]
This CSS snippet by HumansCanWinElves and partially based on Fandom's own stylesheet, turns all the entries in category pages to look like the "Trending pages" at the top - four columns with large thumbnails. This works for users who use the default "Dynamic Categories" view.
The images look somewhat blurry, since they are low-resolution thumbnails enlarged by CSS. This cannot be fixed without using custom JS.
Entries without an image will display the Fandom logo, and this can be replaced by changing the URL in the middle of the code. In this case, usually you will also want to change the "80%" size definition to "100%".
.ns-14 #content .category-page__members.category-page__members {
column-count: 1;
}
.ns-14 #content .category-page__members-for-char {
display: -ms-inline-flexbox;
display: grid;
-ms-flex-wrap: wrap;
grid-gap: 20px;
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
margin-left: 0;
}
.ns-14 #content .category-page__member {
flex-direction: column;
}
.ns-14 #content .category-page__member-left {
width: 160px;
height: 120px;
background: url(https://static.wikia.nocookie.net/740bff54-a89f-4c0a-97a1-a97c6b1a77a7) no-repeat center center/auto 80%;
border: 1px solid;
justify-content: flex-start;
}
.ns-14 #content .category-page__member-thumbnail {
width: 160px;
height: 120px;
border: none;
}
.ns-14 #content .category-page__member-link {
text-align: center;
}
[]
This short, personal only, snippet by BlindCartographer stops the stickied top navigation from ever appearing.
.fandom-sticky-header {
display: none !important;
}