MediaWiki:Common.css: Difference between revisions
From YGOCounter
No edit summary |
No edit summary |
||
| Line 28: | Line 28: | ||
padding: .25em; | padding: .25em; | ||
} | } | ||
/* disable dark mode on img and video | /* disable dark mode on img and video | ||
.client-darkmode img, | .client-darkmode img, | ||
.client-darkmode video, | .client-darkmode video, | ||
*/ | |||
Latest revision as of 04:21, 13 January 2026
/* set background color */
body { background-color: #dde4ef; }
#ca-talk {
display: none;
}
/* open link in the new tab */
div#content a.external,div#content a.external[href^="gopher://"],div#content a,div#content a[href^="gopher://"] {background-image:none; padding:0;}
.mw-body-content a:link { color: #0000FF; } /* normal unvisited links */
.mw-body-content a:link:visited { color: #0000FF; } /* visited links */
.mw-body-content a:link:active { color: #0000FF; } /* active links */
.mw-body-content a:link.new { color: #0000FF; } /* new links */
/* tool tip*/
/* https://stackoverflow.com/questions/7503183/what-is-the-easiest-way-to-create-an-html-mouseover-tool-tip */
/*
Source - https://stackoverflow.com/a
Posted by etuardu
Retrieved 2026-01-12, License - CC BY-SA 4.0
*/
[data-tooltip]:hover::after {
display: block;
position: absolute;
content: attr(data-tooltip);
border: 1px solid black;
background: #eee;
padding: .25em;
}
/* disable dark mode on img and video
.client-darkmode img,
.client-darkmode video,
*/