MediaWiki:Common.css

(Add text alignment classes)
(Add .bar styling)
 
Line 2: Line 2:
.text-center { text-align: center; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-right { text-align: right; }
 +
 +
.bar
 +
{
 +
    display: inline-block;
 +
    height: 15px;
 +
    width: 136px;
 +
    box-sizing: border-box;
 +
    padding: 3px 6px;
 +
    font-family: Helvetica, sans-serif;
 +
    font-weight: bolder;
 +
    font-size: 10px;
 +
    color: #000000;
 +
    text-shadow: 0 0 3px #d1d1d1;
 +
    background-color: #bdbdbd;
 +
    background-repeat: no-repeat;
 +
    background-image: url("https://galaxylegionfb.com/galaxylegion/images/bar-bg.png");
 +
}
 +
 +
.bar.energy { background-color: #e6e61c; }
 +
.bar.shield { background-color: #0000ff; }
 +
.bar.hull { background-color: #ff0000; }
 +
.bar.xp { background-color: #15ff00; }
 +
.bar.rp { background-color: #CC00CC; }
 +
.bar.resource { background-color: #855e00; }

Current revision as of 23:00, 28 April 2024

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.bar
{
    display: inline-block;
    height: 15px;
    width: 136px;
    box-sizing: border-box;
    padding: 3px 6px;
    font-family: Helvetica, sans-serif;
    font-weight: bolder;
    font-size: 10px;
    color: #000000;
    text-shadow: 0 0 3px #d1d1d1;
    background-color: #bdbdbd;
    background-repeat: no-repeat;
    background-image: url("https://galaxylegionfb.com/galaxylegion/images/bar-bg.png");
}

.bar.energy { background-color: #e6e61c; }
.bar.shield { background-color: #0000ff; }
.bar.hull { background-color: #ff0000; }
.bar.xp { background-color: #15ff00; }
.bar.rp { background-color: #CC00CC; }
.bar.resource { background-color: #855e00; }

Looking for something?

Use the form below to search the wiki:

 

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!