main.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. @font-face {
  2. font-family: "NotoSansCJKsc";
  3. font-weight: normal;
  4. font-style: normal;
  5. src: url("../Fonts/NotoSansCJKsc-DemiLight.otf");
  6. }
  7. @font-face {
  8. font-family: "NotoMono";
  9. font-weight: normal;
  10. font-style: normal;
  11. src: url("../Fonts/NotoMono.woff") format ("woff");
  12. }
  13. @font-face {
  14. font-family: "NotoSerif";
  15. font-weight: normal;
  16. font-style: normal;
  17. src: url("../Fonts/NotoSerif.woff") format ("woff");
  18. }
  19. h1 {
  20. font-size: 40px;
  21. }
  22. h2 {
  23. font-size: 30px;
  24. }
  25. h3 {
  26. font-size: 22px;
  27. color: black;
  28. background-color: #79DCFC;
  29. padding: 5px;
  30. }
  31. body {
  32. font-size: 20px;
  33. font-family: "NotoSerif", serif;
  34. font-weight: normal;
  35. font-style: serif;
  36. }
  37. ul {
  38. font-size: 20px;
  39. }
  40. ol {
  41. font-size: 20px;
  42. }
  43. dt {
  44. font-style: italic;
  45. }
  46. h1, h2, h3 {
  47. text-align: center;
  48. }
  49. .hanzist {
  50. color: coral;
  51. font-size: 30px;
  52. font-family: "NotoSansCJKsc";
  53. }
  54. .hanzi {
  55. color: darkred;
  56. font-size: 22px;
  57. font-family: "NotoSansCJKsc";
  58. }
  59. .pinyin {
  60. color: blue;
  61. }
  62. .pinyinst {
  63. color: blue;
  64. font-size: 30px;
  65. }
  66. .un {
  67. font-size: 22px;
  68. text-align: center;
  69. background-color: lightblue;
  70. border-style: solid;
  71. border-width: 1px;
  72. margin: auto;
  73. width: 50%;
  74. padding: 30px 30px 30px 30px;
  75. }
  76. .deux {
  77. font-size: 30px;
  78. text-align: center;
  79. background-color: lightblue;
  80. border-style: solid;
  81. border-width: 1px;
  82. margin: auto;
  83. width: 70%;
  84. padding: 30px 30px 30px 30px;
  85. }
  86. .trois {
  87. font-size: 26px;
  88. text-align: center;
  89. background-color: yellow;
  90. border-style: solid;
  91. border-width: 1px;
  92. margin: auto;
  93. width: 70%;
  94. padding: 30px 30px 30px 30px;
  95. }
  96. .exemple {
  97. margin-left: 30px;
  98. }
  99. .rouge {
  100. color: red;
  101. }
  102. .orange {
  103. color: orange;
  104. }
  105. .pgris {
  106. color: #D1D1D1;
  107. }
  108. .rose {
  109. color: #CE90D4;
  110. }
  111. .jaune {
  112. color: yellow;
  113. }
  114. .vert {
  115. color: green;
  116. }
  117. .gris {
  118. background-color: lightgrey;
  119. }
  120. .grisleger {
  121. background-color: AntiqueWhite;
  122. }
  123. .fondjaune {
  124. background-color: yellow;
  125. }
  126. .encadrejaune {
  127. border-style: solid;
  128. border-color: yellow;
  129. border-width: 1px;
  130. }
  131. .encadrevert {
  132. border-style: solid;
  133. border-color: green;
  134. border-width: 1px;
  135. }
  136. .encadrenoir {
  137. border-style: solid;
  138. border-color: black;
  139. border-width: 1px;
  140. }
  141. .encadrerouge {
  142. border-style: solid;
  143. border-color: red;
  144. border-width: 1px;
  145. }
  146. .table1 th {
  147. background-color: lightgrey;
  148. color: white;
  149. }
  150. .table1 th, td {
  151. border-bottom: 1px solid #ddd;
  152. }
  153. .table1 tr:nth-child(even) {
  154. background-color: #f2f2f2
  155. }
  156. .table2 {
  157. border-collapse: collapse;
  158. background-color: #F0F4F5;
  159. caption-side: bottom;
  160. margin: auto;
  161. width: 80%;
  162. }
  163. .table2.tr.td {
  164. background-color: #D2D5D6;
  165. }
  166. .table2 th {
  167. text-align: center;
  168. background-color: #4CAF50;
  169. }
  170. .table2 td {
  171. text-align: center;
  172. }
  173. .block1 {
  174. display: block;
  175. }
  176. .grissuperleger {
  177. color: #777;
  178. }
  179. .table3 {
  180. margin: 15px;
  181. border: 1px solid #ddd;
  182. border-collapse: collapse;
  183. background-color: #eee;
  184. width: 80%;
  185. }
  186. .table3 th, td {
  187. padding: 15px;
  188. border: 1px solid #ddd;
  189. border-collapse: collapse;
  190. }
  191. .al {
  192. vertical-align: top;
  193. }
  194. .exampleCorps {
  195. padding-left: 35px;
  196. padding-top: 15px;
  197. }