The data on YGOCounter is in early stage. We're looking for your contribution!. If you find this site useful, kindly share with your friends and playgroups.


The chat feature is just implemented. Feel free to join or read the chat log here.

MediaWiki:Common.css: Difference between revisions

From YGOCounter
m 1 revision imported
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* set background color */
body { background-color: #dde4ef; }
body { background-color: #dde4ef; }
#ca-talk {
#ca-talk {
  display: none;
  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;}
div#content a.external,div#content a.external[href^="gopher://"],div#content a,div#content a[href^="gopher://"] {background-image:none; padding:0;}


Line 9: Line 11:
.mw-body-content a:link:active { color: #0000FF; } /* active links */
.mw-body-content a:link:active { color: #0000FF; } /* active links */
.mw-body-content a:link.new { color: #0000FF; } /* new 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,
*/

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,
*/