模板:Apps Menu 2Row/styles.css
外观
.wmf-menu-2row-links {
width: 100%;
}
.wmf-menu-2row-content {
width: 100%;
}
.wmf-menu-2row-links ul {
display: flex;
flex-wrap: wrap;
list-style: none;
margin-left: 0;
}
.wmf-menu-2row-links ul li a {
display: flex;
min-height: 42px;
align-items: center;
background: #eeeaff;
border-radius: 4px;
color: #3a25ff;
font-family: 'Helvetica Neue', 'Helvetica', 'Liberation Sans', 'Arial', sans-serif;
font-weight: 400;
font-size: 0.875rem;
line-height: 175%;
text-decoration: none;
padding-left: 1rem !important;
padding-right: 1rem !important;
margin: 0 10px 10px 0;
}
.wmf-menu-2row-links ul li a:hover {
color: #fff;
background: #3a25ff;
}
@media screen {
html.skin-theme-clientpref-night .wmf-menu-2row-links ul li a {
color: var(--color-base, #202122);
}
html.skin-theme-clientpref-night .wmf-menu-2row-links ul li a:hover {
background-color: var(--background-color-neutral, #eaecf0);
}
}
.wmf-menu-2row-links ul li .mw-selflink {
background: #3A25FF;
color: #FFFFFF;
}
.wmf-menu-2row-links ul li .mw-selflink:hover {
background: #3A25FF !important;
color: #FFFFFF !important;
}