MediaWiki:Common.css: Difference between revisions

From VEHRDICT Support
Jump to navigation Jump to search
Created page with "CSS placed here will be applied to all skins: .sidebar-sub { padding-left: 10px; display: inline-block; } .sidebar-sub2 { padding-left: 20px; display: inline-block; font-size: 90%; }"
 
No edit summary
Line 10: Line 10:
     display: inline-block;
     display: inline-block;
     font-size: 90%;
     font-size: 90%;
}
/* Sidebar hover effect for Vector skin */
#mw-panel .portal div.body ul li a {
  color: #000; /* default color */
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
#mw-panel .portal div.body ul li a:hover {
  color: #ffffff;          /* text color on hover */
  background-color: #0078d7; /* background on hover */
  padding-left: 5px;        /* optional hover movement */
  border-radius: 4px;        /* optional rounded effect */
}
}

Revision as of 00:07, 5 August 2025

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

.sidebar-sub {
    padding-left: 10px;
    display: inline-block;
}

.sidebar-sub2 {
    padding-left: 20px;
    display: inline-block;
    font-size: 90%;
}


/* Sidebar hover effect for Vector skin */
#mw-panel .portal div.body ul li a {
  color: #000; /* default color */
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

#mw-panel .portal div.body ul li a:hover {
  color: #ffffff;           /* text color on hover */
  background-color: #0078d7; /* background on hover */
  padding-left: 5px;         /* optional hover movement */
  border-radius: 4px;        /* optional rounded effect */
}