mtg-web/media/mtg.css

102 lines
1.9 KiB
CSS

/* Page styles */
body {
font-family: serif;
}
h1, h2, h3, h4, h5, h6 {
text-shadow: 2px 2px 2px #999;
}
header {
border-bottom: 2px solid #999;
}
#navigation {
width: 140px;
position: absolute;
}
#navigation ul {
padding: 0px;
}
#navigation li {
list-style: none;
}
#navigation a {
display: block;
padding: 2px;
background-color: #ddd;
border-bottom: 1px solid #999;
}
#navigation a:hover {
background-color: #ccc;
}
#content {
margin-left: 160px;
}
/* Cards and mana symbols */
.mana {
height: 1em;
width: 1em;
border-radius: 0.5em;
-moz-border-radius: 0.5em;
display: inline-block;
color: #eee;
background-color: gray;
border: 1px solid black;
margin-right: 2px;
text-align: center;
}
.card {
border: 1px solid gray;
background-color: #999;
padding: 3px;
font-size: 0.75em;
width: 25em;
}
.mana.R, .card.R { background-color: red; }
.mana.G, .card.G { background-color: green; }
.mana.U, .card.U { background-color: blue; }
.mana.B, .card.B { background-color: black; }
.mana.W, .card.W { background-color: white; }
.card .title,
.card .info {
border: 1px solid gray;
background-color: #eee;
padding: 3px;
height: 1em;
}
.card .title .name,
.card .info .type {
font-weight: bold;
float: left;
text-shadow: 2px 2px 2px #999;
}
.card .title .cost,
.card .info .rarity {
float: right;
}
.card .rarity {
}
.card .rarity.U { color: gray; }
.card .rarity.R { color: darkgoldenrod; }
.card .rarity.M { color: red; }
.card .picture {
height: 12em;
width: 24em;
background-color: #ccc;
margin: 5px;
}
.card .text {
min-height: 12em;
margin-top: 5px;
border: 1px solid gray;
background-color: white;
padding: 3px;
}
.card .numbers {
text-align: right;
margin-top: 5px;
background-color: white;
border: 1px solid gray;
height: 1em;
padding: 3px;
text-shadow: 2px 2px 2px #999;
}