/usr/share/kf5/khtml/css/presentational.css is in libkf5khtml-data 5.18.0-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | /*
* The default presentational attributes' styles used by khtml to render HTML pages
* (cf. CSS 2.1 - 6.4.4)
* Copyright 2007 Germain Garand (germain@ebooksfrance.org)
*
* Konqueror/khtml relies on the existence of this style sheet for
* rendering. Do not remove or modify this file unless you know
* what you are doing.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*
*/
pre[wrap], listing[wrap] {
white-space: pre-wrap
}
table[rules="groups"] > tbody,
table[rules="groups"] > thead,
table[rules="groups"] > tfoot {
border-top-width: thin;
border-bottom-width: thin;
border-top-style: solid;
border-bottom-style: solid;
}
table[rules="groups"] > colgroup {
border-left-width: thin;
border-right-width: thin;
border-left-style: solid;
border-right-style: solid;
}
table[border] > tbody > tr > td,
table[border] > tbody > tr > th,
table[border] > thead > tr > td,
table[border] > thead > tr > th,
table[border] > tfoot > tr > td,
table[border] > tfoot > tr > th,
table[border] > tr > td,
table[border] > tr > th {
border-style: inset;
border-width: thin;
}
table[bordercolor] > tbody > tr > td,
table[bordercolor] > tbody > tr > th,
table[bordercolor] > thead > tr > td,
table[bordercolor] > thead > tr > th,
table[bordercolor] > tfoot > tr > td,
table[bordercolor] > tfoot > tr > th,
table[bordercolor] > tr > td,
table[bordercolor] > tr > th {
border-style: solid;
}
table[border="0"] > tbody > tr > td,
table[border="0"] > tbody > tr > th,
table[border="0"] > thead > tr > td,
table[border="0"] > thead > tr > th,
table[border="0"] > tfoot > tr > td,
table[border="0"] > tfoot > tr > th,
table[border="0"] > tr > td,
table[border="0"] > tr > th {
/* Do not attempt to avoid this declaration by appending a :not() to the table[border] selectors
* That would increase its specificity, breaking proper cascade.
*/
border-style: none;
}
table[rules] > tbody > tr > td,
table[rules] > tbody > tr > th,
table[rules] > thead > tr > td,
table[rules] > thead > tr > th,
table[rules] > tfoot > tr > td,
table[rules] > tfoot > tr > th,
table[rules] > tr > td,
table[rules] > tr > th {
border-style: none;
}
table[rules="all"] > tbody > tr > td,
table[rules="all"] > tbody > tr > th,
table[rules="all"] > thead > tr > td,
table[rules="all"] > thead > tr > th,
table[rules="all"] > tfoot > tr > td,
table[rules="all"] > tfoot > tr > th,
table[rules="all"] > tr > td,
table[rules="all"] > tr > th {
border-width: thin;
border-style: solid;
}
table[rules="cols"] > tbody > tr > td,
table[rules="cols"] > tbody > tr > th,
table[rules="cols"] > thead > tr > td,
table[rules="cols"] > thead > tr > th,
table[rules="cols"] > tfoot > tr > td,
table[rules="cols"] > tfoot > tr > th,
table[rules="cols"] > tr > td,
table[rules="cols"] > tr > th {
border-left-width: thin;
border-right-width: thin;
border-left-style: solid;
border-right-style: solid;
}
table[rules="rows"] > tbody > tr > td,
table[rules="rows"] > tbody > tr > th,
table[rules="rows"] > thead > tr > td,
table[rules="rows"] > thead > tr > th,
table[rules="rows"] > tfoot > tr > td,
table[rules="rows"] > tfoot > tr > th,
table[rules="rows"] > tr > td,
table[rules="rows"] > tr > th {
border-top-width: thin;
border-bottom-width: thin;
border-top-style: solid;
border-bottom-style: solid;
}
table[rules]:not([rules="none"]){
/* FIXME: enabling border-collapse when 'rules' attribute is defined matches
* current Mozilla/Opera but is not standard.
*/
border-collapse: collapse;
}
table[align="center"] {
margin-left: auto;
margin-right: auto;
}
table[align="left"] {
float: -khtml-left;
}
table[align="right"] {
float: -khtml-right;
}
dl[compact] > dt {
display: compact;
}
|