MediaWiki:Common.css: Difference between revisions

From Center for Cognitive Neuroscience
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 3: Line 3:
#toc {
#toc {
   float: left;
   float: left;
  position: fixed;
   margin-right: 1em; /* Add some space between TOC and content */
   margin-right: 1em; /* Add some space between TOC and content */
   /* Add other styling like width, border, background as needed */
   /* Add other styling like width, border, background as needed */

Revision as of 18:22, 20 May 2025

/* CSS placed here will be applied to all skins */

#toc {
  float: left;
  position: fixed;
  margin-right: 1em; /* Add some space between TOC and content */
  /* Add other styling like width, border, background as needed */
  width: 250px; /* Example width */
  background-color: #f9f9f9;
  border: 1px solid #aaa;
  padding: 0.5em;
}