diceware/dice.css

50 lines
685 B
CSS
Raw Normal View History

2015-04-26 00:24:01 -04:00
.die {
2015-04-26 00:24:01 -04:00
width: 100px;
height: 100px;
2015-04-26 00:27:53 -04:00
background: #ff2222;
2015-04-26 00:24:01 -04:00
box-shadow:inset 0 0 40px #ccc;
2015-04-26 00:27:53 -04:00
border-radius: 10px;
2015-04-26 00:24:01 -04:00
margin-left: 20px;
margin-bottom: 20px;
}
.dot {
position:absolute;
width: 18px;
height: 18px;
border-radius: 18px;
2015-04-26 00:27:53 -04:00
background: white;
box-shadow: inset 5px 0 10px white;
2015-04-26 00:24:01 -04:00
}
.dot.center {
/* Orders of margins are: top right bottom left */
2015-04-26 00:27:53 -04:00
margin: 39px 0 0 41px;
2015-04-26 00:24:01 -04:00
}
.dot.dtop {
margin-top: 14px;
}
.dot.dleft {
2015-04-26 00:27:53 -04:00
margin-left: 65px;
2015-04-26 00:24:01 -04:00
}
.dot.dright {
2015-04-26 00:27:53 -04:00
margin-left: 16px;
2015-04-26 00:24:01 -04:00
}
.dot.dbottom {
margin-top: 63px;
}
.dot.center.dleft {
2015-04-26 00:27:53 -04:00
margin: 38px 0 0 16px;
2015-04-26 00:24:01 -04:00
}
.dot.center.dright {
2015-04-26 00:27:53 -04:00
margin: 38px 0 0 65px;
2015-04-26 00:24:01 -04:00
}