main.css 3.1 KB

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