Template:Monster block/style.css: Difference between revisions

From Campaigns
Jump to navigation Jump to search
Created page with ".mon-stat-block::before, .mon-stat-block::after { content: ""; display: block; background-image: url('/images/3/33/Stat_bar_book.png'); background-size: 100% 100%; h..."
 
mNo edit summary
Line 3: Line 3:
   content: "";
   content: "";
   display: block;
   display: block;
   background-image: url('/images/3/33/Stat_bar_book.png');
   background-image: url(/images/3/33/Stat_bar_book.png);
   background-size: 100% 100%;
   background-size: 100% 100%;
   height: 6px;
   height: 6px;
Line 17: Line 17:
.mon-stat-block::after {
.mon-stat-block::after {
   bottom: -3px;
   bottom: -3px;
}
.mon-stat-block {
  background-image: url(/images/block_top_texture.png), url(/images/paper_texture.png);
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat, repeat;
  position: relative;
  box-shadow: 0 0 5px #979aa4;
  border: 1px solid #d4d0c3;
  padding: 15px;
  margin: 15px 0;
  font-size: 15px;
}
}

Revision as of 20:35, 14 February 2022

.mon-stat-block::before,
.mon-stat-block::after {
  content: "";
  display: block;
  background-image: url(/images/3/33/Stat_bar_book.png);
  background-size: 100% 100%;
  height: 6px;
  position: absolute;
  left: -3px;
  right: -3px;
}

.mon-stat-block::before {
  top: -3px;
}

.mon-stat-block::after {
  bottom: -3px;
}

.mon-stat-block {
  background-image: url(/images/block_top_texture.png), url(/images/paper_texture.png);
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat, repeat;
  position: relative;
  box-shadow: 0 0 5px #979aa4;
  border: 1px solid #d4d0c3;
  padding: 15px;
  margin: 15px 0;
  font-size: 15px;
}