MediaWiki:Common.css: Difference between revisions
add style for quote |
Add tile display for all layers |
||
Line 4: | Line 4: | ||
border-left: 4px solid #eaecf0; | border-left: 4px solid #eaecf0; | ||
padding: 8px 32px; | padding: 8px 32px; | ||
} | |||
.display-tile { | |||
background-repeat: no-repeat; | |||
display: inline-block; | |||
vertical-align: middle; | |||
background-size: 512px 512px; | |||
width: 32px; | |||
height: 32px; | |||
} | |||
#entity .display-tile { | |||
background-image: url('//images/d/d4/DDNet_entities_overlay.png'); | |||
} | |||
#game .display-tile { | |||
background-image: url('//images/3/3d/DDNet_editor_entities.png'); | |||
} | |||
#front .display-tile { | |||
background-image: url('//images/2/27/DDNet_editor_front.png'); | |||
} | |||
#tele .display-tile { | |||
background-image: url('//images/4/45/DDNet_editor_tele.png'); | |||
} | |||
#speedup .display-tile { | |||
background-image: url('//images/f/ff/DDNet_editor_speedup.png'); | |||
} | |||
#switch .display-tile { | |||
background-image: url('//images/8/8e/DDNet_editor_switch.png'); | |||
} | |||
#tune .display-tile { | |||
background-image: url('//images/6/64/DDNet_editor_tune.png'); | |||
} | } |
Revision as of 22:05, 19 February 2022
/* CSS placed here will be applied to all skins */
.templatequote {
border-left: 4px solid #eaecf0;
padding: 8px 32px;
}
.display-tile {
background-repeat: no-repeat;
display: inline-block;
vertical-align: middle;
background-size: 512px 512px;
width: 32px;
height: 32px;
}
#entity .display-tile {
background-image: url('//images/d/d4/DDNet_entities_overlay.png');
}
#game .display-tile {
background-image: url('//images/3/3d/DDNet_editor_entities.png');
}
#front .display-tile {
background-image: url('//images/2/27/DDNet_editor_front.png');
}
#tele .display-tile {
background-image: url('//images/4/45/DDNet_editor_tele.png');
}
#speedup .display-tile {
background-image: url('//images/f/ff/DDNet_editor_speedup.png');
}
#switch .display-tile {
background-image: url('//images/8/8e/DDNet_editor_switch.png');
}
#tune .display-tile {
background-image: url('//images/6/64/DDNet_editor_tune.png');
}