Files
WebODF/javascriptzip/defaultodfstyle.css
T

99 lines
1.9 KiB
CSS
Raw Normal View History

2010-06-14 17:31:36 +02:00
@namespace text url(urn:oasis:names:tc:opendocument:xmlns:text:1.0);
@namespace draw url(urn:oasis:names:tc:opendocument:xmlns:drawing:1.0);
@namespace office url(urn:oasis:names:tc:opendocument:xmlns:office:1.0);
@namespace table url(urn:oasis:names:tc:opendocument:xmlns:table:1.0);
2010-06-15 00:22:42 +02:00
office|document-styles {
display: none;
}
2010-06-15 17:24:35 +02:00
office|automatic-styles {
display: none;
}
2010-06-14 17:31:36 +02:00
text|p, text|h {
display: block;
padding: 3px 3px 3px 3px;
margin: 5px 5px 5px 5px;
}
text|h {
font-weight: bold;
}
text|s:before { /* this needs to be the number of spaces given by text:c */
content: ' ';
}
text|tab:before {
display: inline;
content: ' ';
}
text|line-break:before {
display: inline;
content: '\A'; /* "\A" is a forced line break similar to <BR> in HTML */
}
office|text {
display: block;
background: white;
}
office|spreadsheet {
display: block;
border-collapse: collapse;
empty-cells: show;
font-family: sans-serif;
font-size: 10pt;
}
office|presentation {
background: #888888;
display: inline-block;
}
draw|page {
display: block;
2010-06-15 17:24:35 +02:00
height: 19.05cm;
width: 25.4cm;
2010-06-14 17:31:36 +02:00
background: white;
margin: 3px;
}
office|spreadsheet text|p {
border: 0px;
padding: 1px;
margin: 0px;
}
office|spreadsheet table|table {
background: white;
margin: 3px;
}
office|spreadsheet table|table:after {
/* show sheet name the end of the sheet */
2010-06-17 14:54:54 +02:00
/*content: attr(table|name);*/ /* gives parsing error in opera */
2010-06-14 17:31:36 +02:00
}
office|spreadsheet table|table-row {
counter-increment: row;
}
office|spreadsheet table|table-row:before {
width: 3em;
background: #cccccc;
border: 1px solid black;
text-align: center;
content: counter(row);
}
office|spreadsheet table|table-cell {
border: 1px solid #cccccc;
}
table|table {
display: table;
border: 1px solid black;
}
table|table-row {
display: table-row;
}
table|table-column {
display: table-column;
}
table|table-cell {
display: table-cell;
}
2010-06-15 17:24:35 +02:00
draw|frame {
display: block;
}
draw|image {
display: block;
2010-06-14 17:31:36 +02:00
}