MediaWiki:Common.css: Difference between revisions

From VEHRDICT Support
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


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


.sidebar-sub2 {
.vector-main-menu a:hover {
    padding-left: 20px;
   text-decoration: none;       /* No underline on hover */
    display: inline-block;
   color: #0078d7;               /* Optional hover color */
    font-size: 90%;
   background-color: #f0f0f0;   /* Optional background */
}
 
 
/* 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 */
}
}

Latest revision as of 00:17, 5 August 2025

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


.vector-main-menu a:hover {
  text-decoration: none;        /* No underline on hover */
  color: #0078d7;               /* Optional hover color */
  background-color: #f0f0f0;    /* Optional background */
}