NC_ not working here, remove it
[claws.git] / src / plugins / litehtml_viewer / litehtml / master_css.h
blob0e7b0ca4e3ddfba1b9dabd4fb80a956a56042ccf
1 #ifndef LH_MASTER_CSS_H
2 #define LH_MASTER_CSS_H
3 namespace litehtml{ const char* const master_css = R"##(
6 html {
7 display: block;
8 position: relative;
11 head {
12 display: none
15 meta {
16 display: none
19 title {
20 display: none
23 link {
24 display: none
27 style {
28 display: none
31 script {
32 display: none
35 body {
36 display:block;
37 margin:8px;
40 p {
41 display:block;
42 margin-top:1em;
43 margin-bottom:1em;
46 b, strong {
47 display:inline;
48 font-weight:bold;
51 i, em, cite {
52 display:inline;
53 font-style:italic;
56 ins, u {
57 text-decoration:underline
60 del, s, strike {
61 text-decoration:line-through
64 center
66 text-align:center;
67 display:block;
70 a:link
72 text-decoration: underline;
73 color: #00f;
74 cursor: pointer;
77 h1, h2, h3, h4, h5, h6, div {
78 display:block;
81 h1 {
82 font-weight:bold;
83 margin-top:0.67em;
84 margin-bottom:0.67em;
85 font-size: 2em;
88 h2 {
89 font-weight:bold;
90 margin-top:0.83em;
91 margin-bottom:0.83em;
92 font-size: 1.5em;
95 h3 {
96 font-weight:bold;
97 margin-top:1em;
98 margin-bottom:1em;
99 font-size:1.17em;
102 h4 {
103 font-weight:bold;
104 margin-top:1.33em;
105 margin-bottom:1.33em
108 h5 {
109 font-weight:bold;
110 margin-top:1.67em;
111 margin-bottom:1.67em;
112 font-size:.83em;
115 h6 {
116 font-weight:bold;
117 margin-top:2.33em;
118 margin-bottom:2.33em;
119 font-size:.67em;
122 br {
123 display:inline-block;
126 br[clear="all"]
128 clear:both;
131 br[clear="left"]
133 clear:left;
136 br[clear="right"]
138 clear:right;
141 span {
142 display:inline
145 img {
146 display: inline-block;
149 img[align="right"]
151 float: right;
154 img[align="left"]
156 float: left;
159 hr {
160 display: block;
161 margin-top: 0.5em;
162 margin-bottom: 0.5em;
163 margin-left: auto;
164 margin-right: auto;
165 border-style: inset;
166 border-width: 1px
170 /***************** TABLES ********************/
172 table {
173 display: table;
174 border-collapse: separate;
175 border-spacing: 2px;
176 border-top-color:gray;
177 border-left-color:gray;
178 border-bottom-color:black;
179 border-right-color:black;
180 font-size: medium;
181 font-weight: normal;
182 font-style: normal;
185 tbody, tfoot, thead {
186 display:table-row-group;
187 vertical-align:middle;
190 tr {
191 display: table-row;
192 vertical-align: inherit;
193 border-color: inherit;
196 td, th {
197 display: table-cell;
198 vertical-align: inherit;
199 border-width:1px;
200 padding:1px;
203 th {
204 font-weight: bold;
207 table[border] {
208 border-style:solid;
211 table[border|=0] {
212 border-style:none;
215 table[border] td, table[border] th {
216 border-style:solid;
217 border-top-color:black;
218 border-left-color:black;
219 border-bottom-color:gray;
220 border-right-color:gray;
223 table[border|=0] td, table[border|=0] th {
224 border-style:none;
227 table[align=left] {
228 float: left;
231 table[align=right] {
232 float: right;
235 table[align=center] {
236 margin-left: auto;
237 margin-right: auto;
240 caption {
241 display: table-caption;
244 td[nowrap], th[nowrap] {
245 white-space:nowrap;
248 tt, code, kbd, samp {
249 font-family: monospace
252 pre, xmp, plaintext, listing {
253 display: block;
254 font-family: monospace;
255 white-space: pre;
256 margin: 1em 0
259 /***************** LISTS ********************/
261 ul, menu, dir {
262 display: block;
263 list-style-type: disc;
264 margin-top: 1em;
265 margin-bottom: 1em;
266 margin-left: 0;
267 margin-right: 0;
268 padding-left: 40px
271 ol {
272 display: block;
273 list-style-type: decimal;
274 margin-top: 1em;
275 margin-bottom: 1em;
276 margin-left: 0;
277 margin-right: 0;
278 padding-left: 40px
281 li {
282 display: list-item;
285 ul ul, ol ul {
286 list-style-type: circle;
289 ol ol ul, ol ul ul, ul ol ul, ul ul ul {
290 list-style-type: square;
293 dd {
294 display: block;
295 margin-left: 40px;
298 dl {
299 display: block;
300 margin-top: 1em;
301 margin-bottom: 1em;
302 margin-left: 0;
303 margin-right: 0;
306 dt {
307 display: block;
310 ol ul, ul ol, ul ul, ol ol {
311 margin-top: 0;
312 margin-bottom: 0
315 blockquote {
316 display: block;
317 margin-top: 1em;
318 margin-bottom: 1em;
319 margin-left: 40px;
320 margin-right: 40px;
323 /*********** FORM ELEMENTS ************/
325 form {
326 display: block;
327 margin-top: 0em;
330 option {
331 display: none;
334 input, textarea, keygen, select, button, isindex {
335 margin: 0em;
336 color: initial;
337 line-height: normal;
338 text-transform: none;
339 text-indent: 0;
340 text-shadow: none;
341 display: inline-block;
343 input[type="hidden"] {
344 display: none;
348 article, aside, footer, header, hgroup, nav, section
350 display: block;
353 sub {
354 vertical-align: sub;
355 font-size: smaller;
358 sup {
359 vertical-align: super;
360 font-size: smaller;
363 figure {
364 display: block;
365 margin-top: 1em;
366 margin-bottom: 1em;
367 margin-left: 40px;
368 margin-right: 40px;
371 figcaption {
372 display: block;
375 )##"; }
376 #endif // LH_MASTER_CSS_H