Jump to content

MediaWiki:Mobile.css: Difference between revisions

m
Added msgbox classes
imported>Ttv pedro270707
(Created page with "@font-face { font-family: 'Minecraft'; src: url('https://static.miraheze.org/btawiki/1/1a/Minecraft.woff') format('woff'); font-weight: normal; font-style: normal; font-display: fallback; } @font-face { font-family: 'Minecraft'; src: url('https://static.miraheze.org/btawiki/7/7f/Minecraft-Bold.woff') format('woff'); font-weight: bold; font-style: normal; font-display: fallback; } body, #mw-page-base, html { background-image: linear-gradient(rgba(255, 255,...")
imported>Ttv pedro270707
m (Added msgbox classes)
Line 59: Line 59:
width: 100% !important;
width: 100% !important;
height: 100% !important;
height: 100% !important;
}
/* Message boxes */
.msgbox {
width: 80%;
padding: 5px;
box-sizing: border-box;
display: inline-block;
}
.msgbox.important, .msgbox.warning, .msgbox.info {
background-color: #fff;
}
.msgbox.important {
background-color: rgba(255, 40, 40, 0.6);
border: 1px solid rgb(255, 0, 0);
border-left: 4px solid rgb(255, 0, 0);
}
.msgbox.warning {
background-color: rgba(255, 255, 80, 0.6);
border: 1px solid rgb(200, 160, 0);
border-left: 4px solid rgb(200, 160, 0);
}
.msgbox.info {
background-color: rgba(80, 150, 255, 0.4);
border: 1px solid rgb(100, 100, 160);
border-left: 4px solid rgb(100, 100, 160);
}
}