Warning, /network/konqueror/doc/kcontrol/kcmcss/index.docbook is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" ?>
0002 <!DOCTYPE article PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN"
0003 "dtd/kdedbx45.dtd" [
0004 <!ENTITY % addindex "IGNORE">
0005 <!ENTITY % English "INCLUDE" > <!-- change language only here -->
0006 ]>
0007 
0008 <article id="kcmcss" lang="&language;">
0009 <articleinfo>
0010 <title>Appearance</title>
0011 <authorgroup>
0012 <author>&Lauri.Watts; &Lauri.Watts.mail;</author>
0013 <!-- TRANS:ROLES_OF_TRANSLATORS -->
0014 </authorgroup>
0015 
0016 <date>2016-11-08</date>
0017 <releaseinfo>Applications 16.12</releaseinfo>
0018 
0019 <keywordset>
0020 <keyword>KDE</keyword>
0021 <keyword>CSS</keyword>
0022 <keyword>Appearance</keyword>
0023 <keyword>Font</keyword>
0024 <keyword>CSS</keyword>
0025 <keyword>Stylesheets</keyword>
0026 <keyword>Accessibility</keyword>
0027 </keywordset>
0028 
0029 </articleinfo>
0030 
0031 <sect1 id="appearance">
0032 <title>Appearance</title>
0033 <para>This module consists of three tabs with configure options how to display web pages.</para>
0034 
0035 <sect2 id="general">
0036 <title>General</title> <!-- modified copy from khtml/index.docbook <sect2 id="kbrowse-html"-->
0037 
0038 <para>The check box labeled <guilabel>Automatically load
0039 images</guilabel> allows you to control whether images on web pages are
0040 loaded by default. Unless you have a very slow connection, you will
0041 probably want to leave this option selected, as there are many web pages
0042 that are difficult to use without images. If you don't select the option
0043 to automatically load images, you can still view the text on the page,
0044 and then load the images if you need them.</para>
0045 
0046 <para>If <guilabel>Draw frame around not completely loaded images</guilabel>
0047 is checked, &konqueror; will draw a frame as a placeholder 
0048 around images embedded in a web page that are not yet fully loaded. You 
0049 will probably want to check this box to enhance your browsing experience, 
0050 especially if have a slow network connection.</para>
0051 
0052 <para>Many web pages use animated gif images, and these can be very
0053 annoying, and in some cases, quite a drain on your system resources.
0054 The <guilabel>Animations</guilabel> option lets you choose when
0055 animations are enabled.  The default is enabled, but you can set this
0056 to disabled, or to run the animation only once, even if the file
0057 itself contains instructions that the animation should run more times,
0058 or continuously.</para>
0059 
0060 <para>The next setting is <guilabel>Underline links:</guilabel>. You can
0061 choose to underline links <guilabel>Enabled</guilabel>.  If this option
0062 is selected, any text on web pages that acts as a link will be shown in
0063 an underlined font. While many web pages do use color to distinguish
0064 text that acts as a link, underlining makes it very easy to spot
0065 links.</para>
0066 
0067 <para>If you don't like underlined links, you can choose
0068 <guilabel>Disabled</guilabel>, so that no links are underlined.  Or you
0069 can choose a middle ground, <guilabel>Only on Hover</guilabel>, so that links
0070 are underlined when the mouse cursor is resting over them, and not
0071 underlined the rest of the time.</para>
0072 
0073 <note><para>The site's CSS definitions can override this value.</para></note>
0074 
0075 <para><guilabel>Smooth scrolling</guilabel>
0076 determines whether &konqueror; should use smooth steps to scroll &HTML; 
0077 pages, or whole steps:
0078 <itemizedlist>
0079 <listitem><para><guilabel>Always</guilabel>: Always use smooth steps 
0080 when scrolling.</para></listitem>
0081 <listitem><para><guilabel>Never</guilabel>: Never use smooth scrolling, scroll 
0082 with whole steps instead.</para></listitem>
0083 <listitem><para><guilabel>When Efficient</guilabel>: Only use smooth 
0084 scrolling on pages where it can be achieved with moderate usage of system 
0085 resources.</para></listitem>
0086 </itemizedlist>
0087 </para>
0088 
0089 </sect2>
0090 
0091 <sect2 id="fonts"> <!-- modified copy from khtml/index.docbook <sect2 id="kbrowse-appearance"-->
0092 <title>Fonts</title>
0093 <para>Under this tab, you can select various options related to the use
0094 of fonts. Although the shapes and sizes of fonts are often part of the
0095 design of a web page, you can select some default settings for
0096 &konqueror; to use.</para>
0097 
0098 <para>The first thing you can set here is the font size.  There are two
0099 settings which work together to allow you a comfortable browsing
0100 experience.</para>
0101 
0102 <para>Firstly, you can set a <guilabel>Minimum font size</guilabel>.
0103 This means, even if the font size is set specifically in the page you
0104 are viewing, &konqueror; will ignore that instruction and never show
0105 smaller fonts than you set here.</para>
0106 
0107 <para>Next you can set a <guilabel>Medium font size</guilabel>.  This is
0108 not only the default size of text, used when the page does not specify
0109 sizes, but it is also used as the base size that relative font sizes are
0110 calculated against.  That is, the &HTML; instruction
0111 <quote>smaller</quote>, it means smaller than the size you set for this
0112 option.</para>
0113 
0114 <para>For either option, you can select the exact font size in points by
0115 using the up/down spin control (or just typing) next to the option
0116 label.</para>
0117 
0118 <para>These options are independent of each other.  Pages that do not
0119 set a font size, or ask for the default, will display with the size
0120 you set from <guilabel>Medium font size</guilabel>, while any pages
0121 that ask for a size smaller than your <guilabel>Minimum font
0122 size</guilabel> setting will instead show that size.  The one does not
0123 affect the other.</para>
0124 
0125 <para>The remaining options are for the fonts to be associated with
0126 different types of markup used in &HTML; pages. Note
0127 that many web pages may override these settings. For any type of font
0128 (Standard, Fixed, Serif, &etc;) you can select a different font if you like.</para>
0129 
0130 <para>Below this, you can set a <guilabel>Font size adjustment for this
0131 encoding</guilabel>.  Sometimes the fonts you want to use for a
0132 particular encoding or language are much larger or smaller than average,
0133 so you can use this setting to bring them into line.</para>
0134 
0135 <para>You can set a default encoding that &konqueror; should assume
0136 pages are when rendering them.  The default setting is <guilabel>Use
0137 Language Encoding</guilabel>, but you can change it to any encoding
0138 available in the list.</para>
0139 
0140 </sect2>
0141 
0142 <sect2 id="stylesheets">
0143 
0144 <title>Stylesheets</title>
0145 
0146 <sect3>
0147 <title>Introduction</title>
0148 
0149 <para><acronym>CSS</acronym> style sheets affect the way web pages
0150 appear.  <acronym>CSS</acronym> stands for
0151 <emphasis>C</emphasis>ascading <emphasis>S</emphasis>tyle
0152 <emphasis>S</emphasis>heets.</para>
0153 
0154 <para>&kde; can use its own stylesheet, based on simple defaults and
0155 the color scheme you are using for your desktop.  &kde; can also use a
0156 stylesheet that you have written yourself.  Finally, you can specify a
0157 stylesheet in this module.  The options presented in this module are
0158 tuned for accessibility purposes, especially for people with reduced
0159 vision.</para>
0160 
0161 <para>Your choices here affect every &kde; application that renders HTML
0162 with &kde;'s own renderer, which is called khtml.  These include
0163 &kmail;, &khelpcenter; and of course &konqueror;.  Choices here do not
0164 affect other browsers such as &firefox;.</para>
0165 
0166 </sect3>
0167 
0168 <sect3 id="css-general">
0169 <title>Stylesheets</title>
0170 
0171 <para>This section contains the following options:</para>
0172 
0173 <variablelist>
0174 <varlistentry>
0175 <term><guilabel>Use default stylesheet</guilabel></term>
0176 <listitem>
0177 <para>&kde; will use the default stylesheet.  Some of the colors will
0178 default to those defined in your chosen color scheme.  Most settings are
0179 easily overridden by the page you are viewing.</para>
0180 </listitem>
0181 </varlistentry>
0182 
0183 <varlistentry>
0184 <term><guilabel>Use user-defined stylesheet</guilabel></term>
0185 <listitem>
0186 <para>&kde; will use a stylesheet that you have written yourself. You
0187 can use the browse button to locate the stylesheet on your system.
0188 <acronym>CSS</acronym> files traditionally have a <literal
0189 role="extension">.css</literal> extension, but this is not
0190 required.</para>
0191 </listitem>
0192 </varlistentry>
0193 
0194 <varlistentry>
0195 <term><guilabel>Use accessibility stylesheet</guilabel></term>
0196 <listitem>
0197 <para>Use the settings defined in the <guilabel>Customize</guilabel>
0198 dialog.  Enabling this option will enable the <guibutton>Customize</guibutton> 
0199 button lo launch a dialog to define stylesheet settings.</para>
0200 </listitem>
0201 </varlistentry>
0202 </variablelist>
0203 
0204 </sect3>
0205 
0206 <sect3 id="css-customize">
0207 <title>Customize</title>
0208 
0209 <para>In this dialog you can set up a user stylesheet.  The options available are
0210 only a subset of the instructions you can add in a stylesheet, and they
0211 are geared towards people with reduced vision, to allow users to create
0212 a stylesheet that makes web pages and the &kde; help files more
0213 readable.</para>
0214 
0215 <para>The options in this dialog are disabled unless you chose
0216 <guilabel>Use accessibility stylesheet</guilabel>.</para>
0217 
0218 <sect4>
0219 <title><guilabel>Font Family</guilabel></title>
0220 
0221 <variablelist>
0222 <varlistentry>
0223 <term><guilabel>Base family</guilabel></term>
0224 <listitem>
0225 <para>Choose a font family to use for body text.</para>
0226 </listitem>
0227 </varlistentry>
0228 
0229 <varlistentry>
0230 <term><guilabel>Use same family for all text</guilabel></term>
0231 <listitem>
0232 <para>If you enable this, then the same font family will be used for all
0233 text, regardless of the settings on the page you are viewing.  This is
0234 useful for pages which have used a decorative or hard to read font for
0235 headlines.</para>
0236 </listitem>
0237 </varlistentry>
0238 </variablelist>
0239 </sect4>
0240 
0241 <sect4>
0242 <title>Font Size</title>
0243 
0244 <variablelist>
0245 <varlistentry>
0246 <term><guilabel>Base font size</guilabel></term>
0247 <listitem>
0248 <para>This is the default size for text on the page.  Many web sites set
0249 their font sizes relative to this default, using <quote>larger</quote>
0250 or <quote>+1</quote> to make the text bigger, and <quote>smaller</quote>
0251 or <quote>-1</quote> to make the text smaller.</para>
0252 <para>Many people design their web pages on platforms where the ordinary
0253 default text size is too large for the average user to read, so it is
0254 very common to come across web pages that have forced the font smaller
0255 in this way.</para>
0256 <para>This setting will allow you to set the default font to a
0257 comfortable size, so that the relative sizes are also enlarged enough to
0258 be comfortable.</para>
0259 <para>Do not forget you can also have &konqueror; enforce a minimum size,
0260 so that text is <emphasis>never</emphasis> too small to read.
0261 <!-- Set that under Behavior, in the Web Browser section in &kcontrol;.
0262 adapt to new documentation-->
0263 </para>
0264 </listitem>
0265 </varlistentry>
0266 
0267 <varlistentry>
0268 <term><guilabel>Use same size for all elements</guilabel></term>
0269 <listitem>
0270 <para>If you enable this option, then all text will be rendered at your
0271 specified font size, regardless of the instructions the page contains.
0272 Relative font sizes as discussed earlier, and even specific instructions
0273 that text should be rendered at a certain size will be overridden
0274 here.</para>
0275 </listitem>
0276 </varlistentry>
0277 </variablelist>
0278 </sect4>
0279 
0280 <sect4>
0281 <title>Images</title>
0282 
0283 <variablelist>
0284 <varlistentry>
0285 <term><guilabel>Suppress images</guilabel></term>
0286 <listitem>
0287 <para>If you do not want to view images, you can turn this off
0288 here.</para></listitem>
0289 </varlistentry>
0290 
0291 <varlistentry>
0292 <term><guilabel>Suppress background images</guilabel></term>
0293 <listitem>
0294 <para>One major problem for reduced vision users is that background
0295 images do not give sufficient contrast to allow them to read the text.
0296 You can disable background images here, independently of your choice
0297 above to view all images.</para>
0298 </listitem>
0299 </varlistentry>
0300 </variablelist>
0301 </sect4>
0302 
0303 <sect4>
0304 <title>Colors</title>
0305 
0306 <variablelist>
0307 <varlistentry>
0308 <term><guilabel>Black on white</guilabel></term>
0309 <listitem>
0310 <para>Many people with reduced vision find black text on a white screen
0311 gives the most contrast, and is easiest to read.  If this applies to
0312 you, you can set this here.</para>
0313 </listitem>
0314 </varlistentry>
0315 
0316 <varlistentry>
0317 <term><guilabel>White on black</guilabel></term>
0318 <listitem>
0319 <para>Many other people with reduced vision find the opposite to be
0320 true, that white text on a black screen is easier to read.</para>
0321 </listitem>
0322 </varlistentry>
0323 
0324 <varlistentry>
0325 <term><guilabel>Custom</guilabel></term>
0326 <listitem>
0327 <para>Still other people find that pure black and white, in either
0328 order, is difficult to read.  You can set custom colors here for both
0329 the <guilabel>Background</guilabel> and the
0330 <guilabel>Foreground</guilabel>.</para>
0331 </listitem>
0332 </varlistentry>
0333 
0334 <varlistentry>
0335 <term><guilabel>Use same color for all text</guilabel></term>
0336 <listitem>
0337 <para>Many web sites use a different, often contrasting color for
0338 headings or other flourishes.  If this interferes with your ability to
0339 read the content, you can enable this check box to have &kde; use the
0340 colors you have set above for all text.</para>
0341 </listitem>
0342 </varlistentry>
0343 </variablelist>
0344 
0345 </sect4>
0346 
0347 <sect4>
0348 <title>Preview</title>
0349 
0350 <para>The <guilabel>Preview</guilabel> section allows you to see the effect of
0351 your changes.  Several types of headings are displayed with your stylesheet, 
0352 and a sentence in the default body text.</para>
0353 
0354 <para>This should allow you to fine-tune your stylesheet until you have
0355 something that you can comfortably read.</para>
0356 
0357 <para>Happy surfing!</para>
0358 
0359 </sect4>
0360 
0361 </sect3>
0362 
0363 </sect2>
0364 
0365 </sect1>
0366 
0367 </article>