Jump to content

User:Timeshifter/common.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* Height of wikitext editing window 
/* Changes show up right away in the preview window here. 
/* em units may be better since I use monitors of various sizes and resolutions. */
textarea {height:22em}

/* Disabling this change for now. 
There is a better way installed here: 
https://en.wikipedia.org/wiki/User:Timeshifter/vector.js
It expands/collapses the TOC via a text button. 
--
Auto-expand sections, and hide the H2-arrows. TOC is always expanded.
https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#[New_Vector_2022_Skin]_Navigation_Bar_(Table_of_Contents)_--_Expanded_View
Search for "[New Vector 2022 Skin] Navigation Bar (Table of Contents) -- Expanded View" in the archives. 
.client-js .vector-toc .vector-toc-level-1 .vector-toc-list-item {
  display: block !important;
}
.vector-toc-toggle {
  visibility: hidden;
}
*/

/* Show the Reload button only when you hover it. In the Preview window. 
https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Any_way_to_get_rid_of_the_%22Reload%22_button_in_preview_window?
Search for "Any way to get rid of the "Reload" button in preview window?" in the archives. */
.ext-WikiEditor-twopanes-pane2:hover .ext-WikiEditor-reloadButton {
	opacity: 0;
}
.ext-WikiEditor-twopanes-pane2 .ext-WikiEditor-reloadButton:hover {
	opacity: 1;
}


/* Disabling this change for now: 
/* https://www.mediawiki.org/wiki/Editing/Projects/Font_size_in_the_editing_window 
.mw-editfont-monospace,
.mw-editfont-sans-serif,
.mw-editfont-serif {
	font-size: 15px !important;
}
*/