89 lines
1.6 KiB
CSS
89 lines
1.6 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: block;
|
|
float: left;
|
|
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;
|
|
}
|
|
.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;
|
|
}
|
|
.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: 5em;
|
|
background-color: #ccc;
|
|
margin: 5px;
|
|
}
|
|
.card .text {
|
|
margin-top: 5px;
|
|
border: 1px solid gray;
|
|
background-color: white;
|
|
padding: 3px;
|
|
}
|