Can we get the bbcodes for infoboxes and warnboxes like on the old portal back? I thought they are neat and bring more color into our dark themes
css:
EXAMPLE:
Warning: Text.
HTML:
CSS:
Code
- .warning {
- background-color: rgba(227,203,0,0.3);
- border: 1px solid rgba(227,203,0,0.95);
- background-image: -moz-linear-gradient(50% 0% -90deg,rgba(227,203,0,0.4) 0%,rgba(227,203,0,0.1) 100%);
- background-image: -webkit-linear-gradient(-90deg,rgbafade(#E3CB00,40%) 0%,rgba(227,203,0,0.1) 100%);
- background-image: -ms-linear-gradient(-90deg,rgbafade(#E3CB00,40%) 0%,rgba(227,203,0,0.1) 100%);
- background-image: linear-gradient(180deg,rgbafade(#E3CB00,40%) 0%,rgba(227,203,0,0.1) 100%);
- text-shadow: 0 -1px 0 rgba(0,0,0,0.8);
- color: #FFF;
- }
- .warning::after {
- content: "\f071";
- }