@adam
[
send a reply]
1 year, 10 months ago
!circumvention-tools-translations use this css... note itook the negative value out of the h2 ... that is the only difference with the default css
Snippet:
body {
font-family: "fontin sans";
background: #fff;
color: #000;
font-size:12pt;
max-width: 700px;
}
/*Page widths */
/* just in case body max-width doesn't work */
div, p, ul, pre, h1, h2 {
max-width: 700px;
overflow: hidden;
}
table, tbody, tr, td {
max-width: 700px;
overflow: hidden;
}
img {
max-width: 100%;
height: auto;
overflow:hidden;
}
/*end widths */
.objavi-chapter{
color: #000;
display: none;
}
a {
text-decoration:none;
color:#000;
}
h1 .initial{
color: #000;
display:none;
}
.objavi-subsection{
display: block;
page-break-before: always;
/* page-break-after: always;*/
text-transform: uppercase;
font-size: 20pt;
}
body .objavi-subsection:first-child{
page-break-before: avoid;
}
.objavi-subsection .initial {
font-size: 1em;
color: #000;
display:none;
}
.objavi-subsection-heading {
font-size: 20pt;
text-align: center;
line-height: 300px;
font-weight: normal;
}
h1 {
page-break-before: always;
background: white;
font-weight:normal !important;
}
/*h1.first-heading {
page-break-before: avoid;
}*/
h2 {
/* margin-bottom:-10pt; */
font-weight:normal ! important;
font-size:15pt;
}
/*try to avoid a page break between an h2 and a p XXX: doesn't work */
h2 + p {
page-break-before: avoid;
}
h2 + img {
page-break-before: avoid;
}
h2 + table {
page-break-before: avoid;
}
h2 + ul {
page-break-before: avoid;
}
h2 + ol {
page-break-before: avoid;
}
table {
float: none;
}
h1.frontpage{
page-break-after:always;
margin-top:70%;
font-size: 20pt;
text-align: center;
page-break-before: avoid;
font-weight: normal;
}
div.copyright{
padding: 1em;
}
/* TOC ******************************/
table {
float: none;
}
table.toc {
font-size: 1.1em;
width: 95%;
}
table.toc td{
vertical-align:top
padding-left: 0.5em;
}
td.chapter {
padding: 0 0.5em;
text-align: right;
}
table.toc td.pagenumber {
text-align: right;
vertical-align:bottom;
}
td.section {
padding-top: 1.1em;
font-weight: bold;
}
/* End TOC **************************/
p, li {
page-break-inside: avoid;
}
pre, code, tt {
font-family: "Inconsolata", "Courier New", monospace;
/*font-size: 0.8em;*/
}
pre {
overflow: hidden;
white-space: pre-wrap;
}
h1, h2, h3, h4, h5, h6{
page-break-after: avoid;
page-break-inside: avoid;
}
.page-break{
page-break-before: always;
height: 7em;
display: block;
}
.glossary hr{
display: none;
}
/* page number styles -- these are the defaults, and will persist
unless explicitly overridden.*/
#right-footer {
text-align: right;
}
#left-footer {
text-align: left;
}
/* page number examples: */
/*
#right-footer .page:before{
content: " FLOSS Manuals ";
font-size: 85%;
}
#left-footer .page:after{
content: " FLOSS Manuals ";
font-size: 85%;
}
.page-footer {
color: red;
}
*/
a {
word-wrap: break-word;
}
.objavi-no-page-break {
page-break-inside: avoid;
}
/*To force a blank page it is sometimes necessary to add unseen
content. Display:none and visibility: hidden don't work -- the
renderer realises that they're not there and skips the page. So we
add a tiny bit of text beyond the margin of the page.
*/
.unseen{
z-index: -66;
margin-left: -1000pt;
}
@booki
[
send a reply]
1 year, 10 months ago
!circumvention-tools-translations dont export from translation zone use these verisons :)