मीडियाविकि:Epub.css
ध्यान दें: प्रकाशित करने के बाद बदलाव देखने के लिए आपको अपने ब्राउज़र के कैश को हटाना पड़ सकता है।
- Firefox/Safari: Reload क्लिक समय Shift दबाएँ, या फिर Ctrl-F5 या Ctrl-R दबाएँ (Mac पर ⌘-R)
- Google Chrome: Ctrl-Shift-R दबाएँ (Mac पर ⌘-Shift-R)
- Internet Explorer/Edge: Refresh पर क्लिक करते समय Ctrl दबाएँ, या Ctrl-F5 दबाएँ
- Opera: Ctrl-F5 दबाएँ।
/* This stylesheet affects the style used for ePub export via wsexport. */
.mw-parser-output {
text-align: justify; /* most text is justified */
}
/*
* Used for centered images
*
* Copies site-global CSS in load.php
*/
.center {
width: 100%;
text-align: center;
}
.center * {
margin-left: auto;
margin-right: auto;
}
/*
* Force images to fit in their containers.
* Specifically, this is to avoid them extending off the page
*/
.content a > img,
.content noscript > img {
max-width:100% !important;
height:auto !important
}
/*
* Parsoid vertical alignment classes
*/
.mw-valign-middle {
vertical-align: middle;
}
.mw-valign-baseline {
vertical-align: baseline;
}
.mw-valign-sub {
vertical-align: sub;
}
.mw-valign-super {
vertical-align: super;
}
.mw-valign-top {
vertical-align: top;
}
.mw-valign-text-top {
vertical-align: text-top;
}
.mw-valign-bottom {
vertical-align: bottom;
}
.mw-valign-text-bottom {
vertical-align: text-bottom;
}
/*
* Sidenotes
*/
.sidenote-right,
.sidenote-left {
margin:0.5em;
padding:3px;
max-width:9em;
text-indent:0;
text-align:left;
}
.sidenote-right {
float:right;
}
.sidenote-left{
float:left;
}
/*
* Use the same formatting choices as on-wiki for consistency
*/
dt {
font-weight: bold;
margin-bottom: 0.1em;
}
/**
* Remove this forced background color as the dots are not exported
*/
.toc-line-entry-text {
background: transparent !important;
}
/* Prevent huge DHR's which usually result in content disappearing over page
* breaks */
.__dhr {
line-height: 100% !important;
}
/*
* Centre table header like on-wiki
*/
table caption {
text-align: center;
}
/*
* Disable "helpful" auto-indents for poems in some e-readers
* (note: this means using <poem> is better than <br/>, which has no semantic
* content and can't be used to target this styling)
*/
.poem, .poem p {
text-indent: 0;
}
/*
* Disable the indented-page pagenumber margin styles
*/
.indented-page, .prose {
margin: inherit;
padding: inherit;
}
/* This generally doesn't export well, so fall back on the inner em-dashes
* revisit this if it can be improved in readers */
.__bar_inner {
color: inherit !important;
}
.__bar {
text-decoration: inherit !important;
}
/* normally this would not be included anyway as exports don't come from the page NS,
* but sometimes it's useful to do so when debugging EPUBs */
.prp-page-qualityheader {
display: none;
}