main.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. /* Styles for cours de chinois */
  2. @font-face {
  3. font-family: "NotoSansCJKsc";
  4. font-weight: normal;
  5. font-style: normal;
  6. src: url("../Fonts/NotoSansCJKsc-DemiLight.otf");
  7. }
  8. @font-face {
  9. font-family: "NotoMono";
  10. font-weight: normal;
  11. font-style: normal;
  12. src: url("../Fonts/NotoMono.woff") format ("woff");deux
  13. }
  14. @font-face {
  15. font-family: "NotoSerif";
  16. font-weight: normal;
  17. font-style: normal;
  18. src: url("../Fonts/NotoSerif.woff") format ("woff");
  19. }
  20. h1 {
  21. font-size: 40px;
  22. }
  23. h2 {
  24. font-size: 30px;
  25. }
  26. h3 {
  27. font-size: 22px;
  28. }
  29. body {
  30. font-size: 20px;
  31. font-family: "NotoSerif", serif;
  32. font-weight: normal;
  33. font-style: serif;
  34. }
  35. ul {
  36. font-size: 20px;
  37. }
  38. ol {
  39. font-size: 20px;
  40. }
  41. h1, h2, h3 {
  42. text-align: center;
  43. }
  44. /* unvisited link */
  45. a:link {
  46. color: red;
  47. }
  48. /* visited link */
  49. a:visited {
  50. color: green;
  51. }
  52. /* mouse over link */
  53. a:hover {
  54. color: hotpink;
  55. }
  56. /* selected link */
  57. a:active {
  58. color: blue;
  59. }
  60. a:link {
  61. text-decoration: none;
  62. }
  63. a:visited {
  64. text-decoration: none;
  65. }
  66. a:hover {
  67. text-decoration: underline;
  68. }
  69. a:active {
  70. text-decoration: underline;
  71. }
  72. .bighanzi{
  73. color: red;
  74. font-size: 45px;
  75. font-family: "NotoSansCJKsc";
  76. border-style: solid;
  77. border-width: 1px;
  78. border-radius: 10px;
  79. border-color: black;
  80. padding: 3px;
  81. }
  82. .hanzist {
  83. color: red;
  84. font-size: 30px;
  85. font-family: "NotoSansCJKsc";
  86. }
  87. .hanzi {
  88. color: red;
  89. font-size: 22px;
  90. font-family: "NotoSansCJKsc";
  91. }
  92. .pinyin {
  93. color: blue;
  94. }
  95. .pinyinst {
  96. color: blue;
  97. font-size: 30px;
  98. }
  99. .jaune {
  100. color: yellow;
  101. }
  102. .vert {
  103. color: green;
  104. }
  105. .orange {
  106. color: orange;
  107. }
  108. .un {
  109. font-size: 22px;
  110. text-align: center;
  111. background-color: lightblue;
  112. border-style: solid;
  113. border-width: 1px;
  114. margin: auto;
  115. width: 50%;
  116. padding: 30px 30px 30px 30px;
  117. }
  118. .deux {
  119. font-size: 30px;
  120. text-align: center;
  121. background-color: lightblue;
  122. border-style: solid;
  123. border-width: 1px;
  124. margin: auto;
  125. width: 70%;
  126. padding: 30px 30px 30px 30px;
  127. }
  128. .exemple {
  129. margin-left: 30px;
  130. }
  131. .intro {
  132. font-size: 22px;
  133. }
  134. .logo {
  135. display: block;
  136. margin: auto;
  137. width: 20%;
  138. }
  139. .logo1 {
  140. text-align: center;
  141. }
  142. .logo2 {
  143. display: block;
  144. margin: auto;
  145. width: 60%;
  146. }
  147. .dessin-carac {
  148. border-radius: 5px;
  149. border-style: solid;
  150. border-width: 1px;
  151. text-align: center;
  152. background-color: lightgrey;
  153. font-size: 130%;
  154. }