MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
make it em so adjusting text size will change it
(Hopefully this doesn't look too ugly)
(make it em so adjusting text size will change it)
Line 1,874: Line 1,874:
.book {
.book {
   background-image: url(https://wiki.gm4.co/images/e/e2/Book_page.png);
   background-image: url(https://wiki.gm4.co/images/e/e2/Book_page.png);
   background-size: 292px 360px;
   background-size: 18.25em 22.5em;
   line-height: 18px;
   line-height: 1.125em;
   position: relative;
   position: relative;
   font-family: minecraftia;
   font-family: minecraftia;
   width: 292px;
   width: 18.25em;
   height: 360px;
   height: 22.5em;
   font-size: 16px;
   font-size: 16px;
   padding-top: 27px;
   padding-top: 1.6875em;
   padding-left: 32px;
   padding-left: 2em;
   padding-right: 34px;
   padding-right: 2.125em;
   padding-bottom: 2px;
   padding-bottom: 0.125em;
   box-sizing: border-box;
   box-sizing: border-box;
   user-select: none;
   user-select: none;
Line 1,893: Line 1,893:
   white-space: break-spaces;
   white-space: break-spaces;
   display: none;
   display: none;
   width: 228px;
   width: 14.25em;
   height: 252px;
   height: 15.75em;
   word-spacing: -2.5px;
   word-spacing: -0.1563em;
}
}


Line 1,901: Line 1,901:
   overflow: hidden;
   overflow: hidden;
   display: block;
   display: block;
   width: 228px;
   width: 14.25em;
   height: 252px;
   height: 15.75em;
}
}


.book_pagenum {
.book_pagenum {
   text-align: right;
   text-align: right;
   margin-bottom: 10px;
   margin-bottom: 0.625em;
   margin-right: 2px;
   margin-right: 0.125em;
   word-spacing: -2.5px;
   word-spacing: -0.1563em;
}
}


.book_pagenum p {
.book_pagenum p {
   text-align: left;
   text-align: left;
   margin-bottom: 0px;
   margin-bottom: 0em;
}
}


.book_leftarrow {
.book_leftarrow {
   background-image: url(https://wiki.gm4.co/images/d/d1/Book_arrow_left.png);
   background-image: url(https://wiki.gm4.co/images/d/d1/Book_arrow_left.png);
  background-size: cover;
   display: inline-block;
   display: inline-block;
   position: absolute;
   position: absolute;
   bottom: 24px;
   bottom: 1.5em;
   left: 52px;
   left: 3.25em;
   width: 36px;
   width: 2.25em;
   height: 20px;
   height: 1.25em;
   cursor: pointer;
   cursor: pointer;
}
}
Line 1,934: Line 1,935:
.book_rightarrow {
.book_rightarrow {
   background-image: url(https://wiki.gm4.co/images/7/73/Book_arrow_right.png);
   background-image: url(https://wiki.gm4.co/images/7/73/Book_arrow_right.png);
  background-size: cover;
   display: inline-block;
   display: inline-block;
   position: absolute;
   position: absolute;
   bottom: 24px;
   bottom: 1.5em;
   right: 58px;
   right: 3.625em;
   width: 36px;
   width: 2.25em;
   height: 20px;
   height: 1.25em;
   cursor: pointer;
   cursor: pointer;
}
}
184

edits

Navigation menu