File: html.css.h

package info (click to toggle)
claws-mail-extra-plugins 3.5.0-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 35,040 kB
  • ctags: 10,917
  • sloc: ansic: 86,223; sh: 15,775; makefile: 4,400; perl: 983; yacc: 219; lex: 168
file content (120 lines) | stat: -rw-r--r-- 5,316 bytes parent folder | download | duplicates (4)
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
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
   Copyright (C) 2000 CodeFactory AB
   Copyright (C) 2000 Jonas Borgstr\366m <jonas@codefactory.se>
   Copyright (C) 2000 Anders Carlsson <andersca@codefactory.se>

   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., 59 Temple Place - Suite 330,
   Boston, MA 02111-1307, USA.
*/

const gchar html_css [] =
"*     { margin: 0px }"
"      ADDRESS,"
"      BLOCKQUOTE, "
"      BODY, DD, DIV, "
"      DL, DT, "
"      FIELDSET, FORM,"
"      FRAME, FRAMESET,"
"      H1, H2, H3, H4, "
"      H5, H6, IFRAME, "
"      NOFRAMES, HTML, " /* FIXME, remove HTML */
"      OBJECT, OL, P, "
"      UL, APPLET, "
"      CENTER, DIR, "
"      HR, MENU, PRE   { display: block }"
"BR            { display: block }"
"BR:first-child2, BR + BR       { height: 1em }"
"NOBR            { white-space: nowrap }"
"HTML          { line-height: 1.33; }"
"head,script,style, title  { display: none }"
"BODY            { margin: 8px; min-height: 100%}"
"TEXTAREA        { font-family: monospace }"
"TABLE           { display: table ; text-align: left }"
"TR              { display: table-row }"
"THEAD           { display: table-header-group }"
"TBODY           { display: table-row-group }"
"TFOOT           { display: table-footer-group }"
"COL             { display: table-column }"
"COLGROUP        { display: table-column-group }"
"TD, TH          { display: table-cell }"
"CAPTION         { display: table-caption }"
"A[href]         { color: linkblue; text-decoration: underline; cursor: pointer }"
"img:focus,A[href]:focus   { outline: 2px dotted invert }"
"OPTION          { display: none}"
"B               { font-weight: bold }"
"TH              { font-weight: bold }"
"I               { font-style: italic }"
"CENTER          { text-align: center }"
"H1              { font-size: 2em; margin-top: 0.67em; margin-bottom: 0.67em}"
"H2              { font-size: 1.5em; margin-top: 0.83em; margin-bottom: 0.83em}"
"H3              { font-size: 1.17em; margin-top: 1em; margin-bottom: 1em}"
"H5              { font-size: 0.83em; line-height: 1.17em; margin-top: 1.67em; margin-bottom: 1.67em}"
"H4, P,"
"BLOCKQUOTE, UL,"
"FIELDSET, FORM,"
"OL, DL, DIR,"
"MENU            { margin: 1.33em 0 }"
"TD > H1:first-child, TD > H2:first-child,"
"TD > H3:first-child, TD > H4:first-child,"
"TD > H5:first-child, TD > P:first-child,"
"TD > FIELDSET:first-child, TD > FORM:first-child,"
"TD > OL:first-child, TD > D:first-child,"
"TD > MENU:first-child, TD > DIR:first-child,"
"TD > BLOCKQUOTE:first-child, TD > UL:first-child,"
"LI > P:first-child"
"{ margin-top: 0 }"
"TD > H1:last-child, TD > H2:last-child,"
"TD > H3:last-child, TD > H4:last-child,"
"TD > H5:last-child, TD > P:last-child,"
"TD > FIELDSET:last-child, TD > FORM:last-child,"
"TD > OL:last-child, TD > D:last-child,"
"TD > MENU:last-child, TD > DIR:last-child,"
"TD > BLOCKQUOTE:last-child, TD > UL:last-child,"
"{ margin-bottom: 0 }"
"TABLE > FORM, TR > FORM { margin: 0 }"
"H6              { font-size: 0.67em; margin-top: 2.33em; margin-bottom: 2.33em }"
"STRONG          { font-weight: bold }"
"I, CITE, EM,"
"VAR, ADDRESS    { font-style: italic }"
"PRE             { white-space: pre; font-family: monospace }"
"BIG             { font-size: 1.17em }"
"SMALL, SUB, SUP { font-size: 0.83em }"
"HR              { display: block; margin-top: 0.5em; margin-bottom:0.5em; border: outset 1px }" /* Fix me */
"LI              { display: list-item }"
"OL              { list-style-type: decimal }"
"UL              { list-style-type: disc }"
"SCRIPT          { display: none }"
"BLINK           { text-decoration: blink }"
"ABBR, ACRONYM   { font-variant: small-caps; letter-spacing: 0.1em }"
"BDO[DIR=\"ltr\"]  { direction: ltr; unicode-bidi: bidi-override }"
"BDO[DIR=\"rtl\"]  { direction: rtl; unicode-bidi: bidi-override }"
"*[DIR=\"ltr\"]    { direction: ltr; unicode-bidi: embed }"
"*[DIR=\"rtl\"]    { direction: rtl; unicode-bidi: embed }"
"table { border-spacing: 2px }"
"table[align=\"center\"] { margin-left: auto; margin-right: auto }"
"td { vertical-align: inherit }"
"td[valign=\"top\"],tr[valign=\"top\"] { vertical-align: top }"
"td[valign=\"bottom\"],tr[valign=\"bottom\"] { vertical-align: bottom }"
"td[valign=\"middle\"],tr[valign=\"middle\"] { vertical-align: middle }"
"td[valign=\"baseline\"],tr[valign=\"baseline\"] { vertical-align: baseline }"
"td[nowrap],th[nowrap] { white-space: nowrap }"
"*[clear=\"left\"] { clear: left }"
"*[clear=\"right\"] { clear: right }"
"*[clear=\"both\"] { clear: both }"
"*[clear=\"all\"] { clear: both }"
"img[align=\"left\"] { float: left }"
"img[align=\"right\"] { float: right }";