MediaWiki:Common.css: Difference between revisions
Content added Content deleted
mNo edit summary Tag: Manual revert |
mNo edit summary |
||
Line 754: | Line 754: | ||
.table.c_25 > tbody > tr > th,table.table > tbody > tr.c_25 > th,.table.recipe > tbody > tr > th,table.table > tbody > tr.recipe > th { background-color:#d3c0a8; border-color:#a99a86 } |
.table.c_25 > tbody > tr > th,table.table > tbody > tr.c_25 > th,.table.recipe > tbody > tr > th,table.table > tbody > tr.recipe > th { background-color:#d3c0a8; border-color:#a99a86 } |
||
.table.c_25 > tbody > tr:nth-child(odd),.table > tbody > tr.c_25:nth-child(odd),.table.recipe > tbody > tr:nth-child(odd),.table > tbody > tr.recipe:nth-child(odd) { background-color:#f2ece5 } |
.table.c_25 > tbody > tr:nth-child(odd),.table > tbody > tr.c_25:nth-child(odd),.table.recipe > tbody > tr:nth-child(odd),.table > tbody > tr.recipe:nth-child(odd) { background-color:#f2ece5 } |
||
/* ##################### Mainpage mods list ##################### */ |
|||
.mainpage-mods ul { |
|||
columns: 3; |
|||
margin: 1em 0.7em 0.7em 1em; |
|||
} |
|||
.mainpage-mods li { |
|||
display: flex; |
|||
margin-bottom: 0.4em; |
|||
isolation: isolate; |
|||
} |
|||
.mainpage-mods li a:first-child { |
|||
border-radius: 3px; |
|||
padding: 4px; |
|||
width: 25px; |
|||
height: 25px; |
|||
} |
|||
.mainpage-mods li a:last-child { |
|||
flex: 1; |
|||
display: flex; |
|||
align-items: center; |
|||
color: #36414f; |
|||
font-weight: bold; |
|||
padding-left: 0.7em; |
|||
text-decoration: none; |
|||
} |
|||
.mainpage-mods li:hover a:first-child { |
|||
border-radius: 3px 0 0 3px; |
|||
} |
|||
.mainpage-mods li:hover a:last-child { |
|||
color: rgba(255, 255, 255, 0.9); |
|||
border-radius: 0 3px 3px 0; |
|||
} |
|||
.mod-modname a:first-child { |
|||
background: #bc483d; |
|||
} |
|||
.mod-modname:hover a:last-child { |
|||
background: #932419; |
|||
} |