mtg-web/media/mtg.css

163 lines
2.9 KiB
CSS
Raw Permalink Normal View History

2010-09-21 05:49:22 +00:00
/* Page styles */
body {
font-family: serif;
2010-09-22 18:22:21 +00:00
background-color: #eee;
2010-09-21 05:49:22 +00:00
}
h1, h2, h3, h4, h5, h6 {
text-shadow: 2px 2px 2px #999;
}
#main {
width: 990px;
}
2010-09-21 05:49:22 +00:00
header {
border-bottom: 2px solid #999;
}
#navigation {
}
#navigation ul {
margin: 0px;
2010-09-21 05:49:22 +00:00
padding: 0px;
float: left;
width: 100%;
background-color: #ddd;
border-bottom: 1px solid #999;
2010-09-21 05:49:22 +00:00
}
#navigation li {
list-style: none;
float: left;
2010-09-21 05:49:22 +00:00
}
#navigation a,
#navigation a:visited,
#navigation a:hover {
2010-09-21 05:49:22 +00:00
display: block;
padding: 2px;
text-decoration: none;
padding-left: 1em;
padding-right: 1em;
2010-09-21 05:49:22 +00:00
}
#navigation a:hover {
background-color: #ccc;
}
#content {
padding-top: 2em;
padding-left: 60px;
2010-09-21 05:49:22 +00:00
}
/* Cards and mana symbols */
.mana.symbol {
2010-09-21 05:49:22 +00:00
height: 1em;
width: 1em;
border-radius: 0.5em;
-moz-border-radius: 0.5em;
2010-09-22 00:14:10 +00:00
display: inline-block;
2010-09-21 05:49:22 +00:00
color: #eee;
background-color: gray;
border: 1px solid black;
margin-right: 2px;
text-align: center;
2010-09-22 00:20:20 +00:00
vertical-align: top;
2010-09-21 05:49:22 +00:00
}
.card {
border: 1px solid gray;
background-color: #999;
padding: 3px;
2010-09-21 21:21:07 +00:00
font-size: 0.75em;
width: 25em;
2010-09-21 05:49:22 +00:00
}
.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; }
2010-09-22 00:17:20 +00:00
.card.gold { background-color: darkgoldenrod; }
2010-09-21 05:49:22 +00:00
.card .title,
.card .info {
border: 1px solid gray;
background-color: #eee;
padding: 3px;
height: 1em;
vertical-align: middle;
2010-09-21 05:49:22 +00:00
}
.card .title .name,
.card .info .type {
font-weight: bold;
2010-09-21 21:21:07 +00:00
text-shadow: 2px 2px 2px #999;
2010-09-21 05:49:22 +00:00
}
.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 {
2010-09-21 21:21:07 +00:00
height: 12em;
width: 24em;
2010-09-21 05:49:22 +00:00
background-color: #ccc;
margin: 5px;
}
.card .text {
2010-09-21 21:21:07 +00:00
min-height: 12em;
2010-09-21 05:49:22 +00:00
margin-top: 5px;
border: 1px solid gray;
background-color: white;
padding: 3px;
}
2010-09-21 21:21:07 +00:00
.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;
}
.manabar {
display: inline-block;
width: 5em;
height: 1em;
border: 1px solid #999;
}
.manabar .mana {
height: 1em;
display: block;
float: left;
}
2010-09-22 18:22:21 +00:00
.mana-curve {
width: 50%;
border: 1px solid #999;
}
.mana-curve .cost {
width: 2em;
}
.mana-curve .bar {
background-color: #999;
}
section.mana {
width: 500px;
position: absolute;
margin-left: 430px;
}
section.mana section {
float: left;
}
section.mana section.curve,
section.mana section.ramp {
width: 100%;
}
section.mana table {
width: 100%;
}
section.cards {
width: 400px;
}
section.cards .card-type {
font-weight: bold;
text-shadow: 2px 2px 2px #999;
list-style: none;
}