MediaWiki:Gadget-site-styles.css: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 670: Line 670:
display: block;
display: block;
}
}
/* ========================================================================= */
/*                                                                          */
/*          Classes corresponding to Minecraft Written Book display          */
/*                                                                          */
/* ========================================================================= */
.book {
  background-image: url(https://wiki.parallelmc.org/w/images/e/e2/Book_page.png);
  background-size: 18.25em 22.5em;
  line-height: 1.125em;
  position: relative;
  font-family: minecraftia;
  width: 18.25em;
  height: 22.5em;
  font-size: 16px;
  padding-top: 1.6875em;
  padding-left: 2em;
  padding-right: 1.6em;
  padding-bottom: 0.125em;
  box-sizing: border-box;
  user-select: none;
}
.book_pagetext {
  overflow-wrap: break-word;
  white-space: break-spaces;
  display: none;
  width: 14.688em;
  height: 15.75em;
  word-spacing: -0.1563em;
}
.book_pagetext.pageactive {
  overflow: hidden;
  display: block;
  width: 14.688em;
  height: 15.75em;
}
.book_pagenum {
  text-align: right;
  margin-bottom: 0.625em;
  margin-right: 0.687em;
  word-spacing: -0.1563em;
}
.book_pagenum p {
  text-align: left;
  margin-bottom: 0em;
}
.book_leftarrow {
  background-image: url(https://wiki.parallelmc.org/w/images/d/d1/Book_arrow_left.png);
  background-size: cover;
  display: inline-block;
  position: absolute;
  bottom: 1.5em;
  left: 3.25em;
  width: 2.25em;
  height: 1.25em;
  cursor: pointer;
}
.book_leftarrow:hover {
  background-image: url(https://wiki.parallelmc.org/w/images/6/64/Book_arrow_left_selected.png);
}
.book_rightarrow {
  background-image: url(https://wiki.parallelmc.org/w/images/7/73/Book_arrow_right.png);
  background-size: cover;
  display: inline-block;
  position: absolute;
  bottom: 1.5em;
  right: 3.625em;
  width: 2.25em;
  height: 1.25em;
  cursor: pointer;
}
.book_rightarrow:hover {
  background-image: url(https://wiki.parallelmc.org/w/images/4/4e/Book_arrow_right_selected.png);
}


/* Element animator */
/* Element animator */