Difference between revisions of "MediaWiki:Common.css"

Line 5: Line 5:
 
}
 
}
  
#menu {
+
#menu ul{
 
     list-style-type: none;
 
     list-style-type: none;
 
     margin: 0;
 
     margin: 0;
Line 13: Line 13:
 
}
 
}
  
#li {
+
#menu li {
 
     float: left;
 
     float: left;
 
}
 
}
  
#li a {
+
#menu li a {
 
     display: inline-block;
 
     display: inline-block;
 
     color: white;
 
     color: white;
Line 25: Line 25:
 
}
 
}
  
#li a:hover {
+
#menu li a:hover {
 
     background-color: #111;
 
     background-color: #111;
 
}
 
}

Revision as of 15:22, 3 March 2016

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

#ca-talk {
    display: none !important;
}

#menu ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

#menu li {
    float: left;
}

#menu li a {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

#menu li a:hover {
    background-color: #111;
}