MediaWiki:Common.css: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
Line 2: Line 2:
li {
li {
     margin-bottom: .1em !important;
     margin-bottom: .1em !important;
}
.p-navbar.not-collapsible .navbar-nav .dropdown-menu {
    position: relative;
}
/* Multilevel menu */
.mainmenu .active a,.mainmenu .active a:focus,.mainmenu .active a:hover,.mainmenu li a:hover,
.mainmenu li a:focus ,.navbar-default .navbar-nav>.show>a, .navbar-default .navbar-nav>.show>a:focus,
.navbar-default .navbar-nav>.show>a:hover {
background: #4CAF50; outline: 0;
}
.mainmenu > li > a:focus, .mainmenu > li > a:active, .mainmenu > li > a:hover {
background: #fff !important
}
.mainmenu ul {
margin-bottom: 0 !important;
margin-top: 0 !important; 
}
.mainmenu ul ul, .mainmenu ul ul ul {
box-shadow: none !important;
}
.mainmenu li { margin-bottom: 0 !important }
.top-navbar .dropdown-menu .dropdown-menu.show {
    background: rgba(255,255,255,.15);
}
.top-navbar .dropdown-menu .dropdown-menu .dropdown-menu li a {
    padding-left: 30px !important;
}
.mainmenu .dropdown-menu #navbarDropdown::after {
    float: right;
    margin-top: 8px;
    transform: rotate(-90deg);
}
.mainmenu .active a::after,.mainmenu .active a:focus::after,.mainmenu .active a:hover::after,.mainmenu li a:hover::after,
.mainmenu li a:focus::after ,.navbar-default .navbar-nav>.show>a::after, .navbar-default .navbar-nav>.show>a:focus::after,
.navbar-default .navbar-nav>.show>a:hover::after {
transform: rotate(0deg) !important;
}
/* History menu */
.history-menu {
    display: none;
}
@media all and ( min-width: 576px ) {
      .history-menu {
          display: inline;
      }
}
}

Revision as of 22:12, 10 June 2021

/* CSS placed here will be applied to all skins */
li {
    margin-bottom: .1em !important;
}

.p-navbar.not-collapsible .navbar-nav .dropdown-menu {
    position: relative;
}

/* Multilevel menu */
.mainmenu .active a,.mainmenu .active a:focus,.mainmenu .active a:hover,.mainmenu li a:hover,
.mainmenu li a:focus ,.navbar-default .navbar-nav>.show>a, .navbar-default .navbar-nav>.show>a:focus, 
.navbar-default .navbar-nav>.show>a:hover {
	background: #4CAF50; outline: 0;
}
.mainmenu > li > a:focus, .mainmenu > li > a:active, .mainmenu > li > a:hover { 
	background: #fff !important 
}
.mainmenu ul { 
	margin-bottom: 0 !important; 
	margin-top: 0 !important;  
}
.mainmenu ul ul, .mainmenu ul ul ul { 
	box-shadow: none !important;
}
.mainmenu li { margin-bottom: 0 !important }
.top-navbar .dropdown-menu .dropdown-menu.show {
    background: rgba(255,255,255,.15);
}
.top-navbar .dropdown-menu .dropdown-menu .dropdown-menu li a {
    padding-left: 30px !important;
}
.mainmenu .dropdown-menu #navbarDropdown::after {
    float: right;
    margin-top: 8px;
    transform: rotate(-90deg);
}
.mainmenu .active a::after,.mainmenu .active a:focus::after,.mainmenu .active a:hover::after,.mainmenu li a:hover::after,
.mainmenu li a:focus::after ,.navbar-default .navbar-nav>.show>a::after, .navbar-default .navbar-nav>.show>a:focus::after, 
.navbar-default .navbar-nav>.show>a:hover::after {
	transform: rotate(0deg) !important;
}
/* History menu */
.history-menu {
     display: none;
}
@media all and ( min-width: 576px ) {
       .history-menu {
           display: inline;
       }
}