398acdefc7
cellules d'une table.
36 lines
2.7 KiB
Java
36 lines
2.7 KiB
Java
package fenetres;
|
|
|
|
public class baliseStyle {
|
|
|
|
public baliseStyle() {
|
|
|
|
}
|
|
|
|
|
|
public static String balise() {
|
|
return "<style type=\"text/css\">"
|
|
+ "h1 {color:#010100;margin-bottom: 0.25cm;font-size: 24pt;font-family:\"Arial\";text-align:center;font-weight: bold;}"
|
|
+ "h2 {color:#010100;margin-bottom: 0.25cm;font-size: 18pt;font-family:\"Arial\";text-align:center;font-weight: bold;}"
|
|
+ "h3 {color:#010100;margin-bottom: 0.25cm;font-size: 18pt;font-family:\"Arial\";text-align:left;font-weight: bold;}"
|
|
+ "h4 {color:#010100;text-align:left;font-family: \"Arial\"; font-size: 18pt; font-weight: bold; line-height: 110%;}"
|
|
+ "p {color:#010100;font-family:\"Arial\";font-size: 18pt;margin-bottom: 0cm; margin-top: 0cm; line-height: 0%; background: transparent; margin-left: 0cm; white-space: pre;}"
|
|
+ "hr { display: block; margin-top: 0.5em; margin-bottom: 8em; margin-left: 2em; margin-right: 2em; border-style: inset; border-width: 4px;}"
|
|
+ "spanpablo { float: right; width: 8em; font-size: 250%; font-family: algerian, courier; line-height: 80%; margin-right: 1%; color: red; text-align: center}"
|
|
+ ".p1{color:blue;font-family:\"Arial\";font-size: 14pt;margin-bottom: 0cm; margin-top: 0cm; line-height: 0%; background: transparent; margin-left: 0cm; white-space: pre;}"
|
|
+ "bleu{color:blue;font-family:\"Arial\";font-size: 14pt;margin-bottom: 0cm; margin-top: 0cm; line-height: 0%; background: #AAAAAA; margin-left: 0cm; white-space: pre;}"
|
|
+ ".city { background-color: transparent;color: #008B8B;padding: 10px;}"
|
|
+ ".rouge { background-color: #8B0000;color: white;padding: 10px;}"
|
|
+ "li.p2{color:green;font-family:\"Arial\";font-size: 15pt;margin-bottom: 0cm; margin-top: 0cm; line-height: 0%; background: transparent; margin-left: 0cm; white-space: pre;}"
|
|
+ "li.p4{color:#1122EE;font-family:\"Arial\";font-size: 15pt;margin-bottom: 0cm; margin-top: 0cm; line-height: 0%; background: transparent; margin-left: 0cm; white-space: pre;}"
|
|
+ "li.p3{color:red;font-family:\"Arial\";font-size: 14pt;margin-bottom: 0cm; margin-top: 0cm; line-height: 0%; background: transparent; margin-left: 0cm; white-space: pre;}"
|
|
+ "li.p5{color:#55BB11;font-family:\"Arial\";font-size: 16pt;margin-bottom: 0cm; margin-top: 0cm; line-height: 0%; background: transparent; margin-left: 0cm; white-space: pre;}"
|
|
+ "p.p4{margin-left: 0px; margin-bottom: 0cm; margin-top: 4px; line-height: 115%}"
|
|
+ "p.p5 {color: navy;text-indent: 30px;}"
|
|
+ ".center { display: block;margin-left: auto;margin-right: auto;width: 50%}"
|
|
+ ".tabulation { display: inline-block; margin-left: 40px;}"
|
|
+ "table, th, td { border:1px solid black;}"
|
|
+ "</style>";
|
|
}
|
|
|
|
}
|