184
edits
(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: | background-size: 18.25em 22.5em; | ||
line-height: | line-height: 1.125em; | ||
position: relative; | position: relative; | ||
font-family: minecraftia; | font-family: minecraftia; | ||
width: | width: 18.25em; | ||
height: | height: 22.5em; | ||
font-size: 16px; | font-size: 16px; | ||
padding-top: | padding-top: 1.6875em; | ||
padding-left: | padding-left: 2em; | ||
padding-right: | padding-right: 2.125em; | ||
padding-bottom: | 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: | width: 14.25em; | ||
height: | height: 15.75em; | ||
word-spacing: - | word-spacing: -0.1563em; | ||
} | } | ||
Line 1,901: | Line 1,901: | ||
overflow: hidden; | overflow: hidden; | ||
display: block; | display: block; | ||
width: | width: 14.25em; | ||
height: | height: 15.75em; | ||
} | } | ||
.book_pagenum { | .book_pagenum { | ||
text-align: right; | text-align: right; | ||
margin-bottom: | margin-bottom: 0.625em; | ||
margin-right: | margin-right: 0.125em; | ||
word-spacing: - | word-spacing: -0.1563em; | ||
} | } | ||
.book_pagenum p { | .book_pagenum p { | ||
text-align: left; | text-align: left; | ||
margin-bottom: | 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: | bottom: 1.5em; | ||
left: | left: 3.25em; | ||
width: | width: 2.25em; | ||
height: | 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: | bottom: 1.5em; | ||
right: | right: 3.625em; | ||
width: | width: 2.25em; | ||
height: | height: 1.25em; | ||
cursor: pointer; | cursor: pointer; | ||
} | } |