Setting FB2 styles by editing the file fb2.css
see also
Supports embedded in the document text styles in fb2.General view of the css file is a set of types of records
Tag1 {property1: value1; property2: value2; ... propertyN: valueN;}
Tag2 {property1: value1; property2: value2; ... propertyN: valueN;}
пїЅ
TagM {property1: value1; property2: value2; ... propertyN: valueN;}
Where Tag1 ... Tag2 - those styles whose behavior you want to ask. Values ​​selected from the list (the values ​​that make sense to override)
title, subtitle, cite, date, author, text-author, annotation, epigraph, poem, stanza, v
Next, we consider the value pairs
propertyN: valueN;Which pairs used - depending on the task that you set for yourself, so I will give a list of possible values, as a solution to the problem
The task - to redefine font size
The task - to use a different font
4 font available, each of which can be overridden in settings
font-famile: text;
font-famile: monospace;
font-famile: fantasy;
font-famile: firstletter;
The task - to use a different color
There are 8 colors, 4 of which are set in the settings, and 4 - in the ini file.
reader-color: text;
reader-color: link;
reader-color: bold;
reader-color: italic;
reader-color: bolditalic;
reader-color: code;
reader-color: title;
reader-color: firstletter;
The task - to change the alignment of the paragraph
text-align: justify;
text-align: left;
text-align: right;
text-align: center;
The task - to change the alignment of the last line of the paragraph
text-align-last: justify;
text-align-last: left;
text-align-last: right;
text-align-last: center;
Task - to change the indentation of a red line
The task - to change the paragraph indentation
margin-left: 2em;
margin-right: 2em;
margin-top: 2em;
margin-bottom: 2em;
The task - to remove extra spaces in vykusyvanie paragraph
The task - to turn off hyphenation
The task - to make a paragraph in bold
The task - to make a paragraph in italics
The task - to turn the shadow of a paragraph symbol
The task - to turn off the shadow of a paragraph symbol
Post has been editedDasdranagon - 16.09.19, 11:06