User:Iritscen/vector.css: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(carrying over XEB customization from Monobook)
 
m (wait, this *does* work? +cat test)
 
(42 intermediate revisions by the same user not shown)
Line 1: Line 1:
// Load XEB to augment the editing toolbar; see [[XEB]] for documentation
/* Prevent sidewards scrolling in pre elements */
// The onlyinclude and pre tags below allow me to transclude the enclosed code onto the XEB docs page
pre
//<onlyinclude><pre>
if (wgAction == "edit" || wgAction == "submit" || wgPageName == "Special:Upload")
{
{
   XEBOrder="0,1,U,S,F,I1,I2,J1,J2,D,C,D1,4,A,R1,R2,R3,2,3,K,T,Y1,Y2,Z,E,5,AI,G,8,P,T1,O,H,FS,9,V,N,B";
   overflow: auto;
  max-height: 25em;
}


   //myButtons=[];
/* Make font in editor an actually-readable size */
.mw-editfont-default
{
   font-size: 13px !important;
}
 
/* Make visited links same color as unvisited (standard Wikipedia color is #0645AD) */
.mw-body a {color:#36B} /* base link color */
.mw-body a:visited {color:#36B} /* make visited same as base color */
.mw-body a.new {color:#FF0000} /* preserve color of red links */
.mw-body a.new:visited {color:#FF0000} /* preserve color of red links */
.mw-body a.external {color:#36B} /* external */
.mw-body a.extiw {color:#36B} /* inter-wiki */
.mw-body a.external:visited {color:#36B} /* external */
.mw-body a.extiw:visited {color:#36B} /* inter-wiki */
div#mw-panel div.portal div.body ul li a:visited {color:#36B} /* make visited same as base color */
div#mw-head a:visited {color:#36B} /* make visited same as base color */
div#footer a:visited {color:#36B} /* make visited same as base color */


  importScript('MediaWiki:Common.js/edit.js');
/*[[Category:Userspace]]*/
}//</pre></onlyinclude>

Latest revision as of 15:11, 8 April 2023

/* Prevent sidewards scrolling in pre elements */
pre
{
   overflow: auto;
   max-height: 25em;
}

/* Make font in editor an actually-readable size */
.mw-editfont-default
{
   font-size: 13px !important;
}

/* Make visited links same color as unvisited (standard Wikipedia color is #0645AD) */
.mw-body a {color:#36B} /* base link color */
.mw-body a:visited {color:#36B} /* make visited same as base color */
.mw-body a.new {color:#FF0000} /* preserve color of red links */
.mw-body a.new:visited {color:#FF0000} /* preserve color of red links */
.mw-body a.external {color:#36B} /* external */
.mw-body a.extiw {color:#36B} /* inter-wiki */
.mw-body a.external:visited {color:#36B} /* external */
.mw-body a.extiw:visited {color:#36B} /* inter-wiki */
div#mw-panel div.portal div.body ul li a:visited {color:#36B} /* make visited same as base color */
div#mw-head a:visited {color:#36B} /* make visited same as base color */
div#footer a:visited {color:#36B} /* make visited same as base color */

/*[[Category:Userspace]]*/