site.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. body {
  2. font: 13px Helvetica, arial, freesans, sans-serif;
  3. line-height: 1.4;
  4. min-width: 1020px;
  5. color: #333;
  6. background-color: #fff;
  7. margin: 0 0 50px 0;
  8. padding: 0;
  9. }
  10. .header {
  11. background: #eee;
  12. color: #555;
  13. border-bottom: 1px solid #ddd;
  14. height: 40px;
  15. margin-bottom: 20px;
  16. line-height: 40px;
  17. }
  18. .header h1 {
  19. line-height: 40px;
  20. display: inline-block;
  21. margin: 0 20px 0 0;
  22. padding: 0;
  23. font-size: 18px;
  24. }
  25. .header nav {
  26. display: inline-block;
  27. line-height: 40px;
  28. margin: 0;
  29. padding: 0;
  30. }
  31. .header nav a {
  32. display: inline-block;
  33. margin: 0 10px 0 0;
  34. padding: 0 5px;
  35. color: #44d;
  36. font-weight: bold;
  37. }
  38. .header nav a:hover {
  39. background: #ddd;
  40. }
  41. .header nav.right {
  42. float: right;
  43. position: relative;
  44. line-height: 40px;
  45. text-decoration: none;
  46. color: #44d;
  47. }
  48. .header nav.right a {
  49. display: inline-block;
  50. padding: 0 10px;
  51. font-weight: 500;
  52. border-left: 1px solid #ccc;
  53. margin: 0;
  54. }
  55. .header nav.right a:first-child {
  56. border-left: none;
  57. }
  58. .container {
  59. width: 940px;
  60. margin-left: auto;
  61. margin-right: auto;
  62. }
  63. .explain {
  64. color: #222;
  65. font-size: 16px;
  66. margin-bottom: 20px;
  67. }
  68. .text-input {
  69. font-size: 24px;
  70. padding: 5px;
  71. width: 930px;
  72. display: block;
  73. }
  74. canvas.text {
  75. border: 1px solid #ddd;
  76. box-shadow: 1px 0 5px rgba(0, 0, 0, 0.2);
  77. margin-bottom: 5px;
  78. }
  79. .wrapper {
  80. border: 1px solid #ddd;
  81. margin: 0 5px 10px 0;
  82. float: left;
  83. }
  84. .wrapper canvas {
  85. display: inline-block;
  86. }
  87. .wrapper span {
  88. text-align: center;
  89. background: #ddd;
  90. display: block;
  91. }
  92. #message {
  93. position: relative;
  94. top: -3px;
  95. background: red;
  96. color: white;
  97. padding: 1px 5px;
  98. font-weight: bold;
  99. border-radius: 2px;
  100. display: none;
  101. clear: both;
  102. }
  103. .message {
  104. clear: both;
  105. font-style: oblique;
  106. }
  107. #glyphs {
  108. width: 950px;
  109. }
  110. #file {
  111. float: left;
  112. font-size: 11px;
  113. color: #999;
  114. }
  115. .info {
  116. float: right;
  117. font-size: 11px;
  118. color: #999;
  119. }
  120. h1 {
  121. margin: 5px 0;
  122. }
  123. hr {
  124. clear: both;
  125. border: none;
  126. border-bottom: 1px solid #ccc;
  127. margin: 20px 0 20px 0;
  128. padding: 0;
  129. }
  130. label {
  131. font-weight: bold;
  132. font-size: 12px;
  133. display: inline-block;
  134. margin-right: 10px;
  135. }
  136. label input[type="range"] {
  137. vertical-align: middle;
  138. }
  139. a {
  140. text-decoration: none;
  141. color: #44d;
  142. }
  143. /* Font Inspector */
  144. #font-data h3 {
  145. font-weight: normal;
  146. margin: 0;
  147. cursor: pointer;
  148. background-color: #f8f8f8;
  149. }
  150. #font-data h3.expanded::before {
  151. font-size: 85%;
  152. content: "▼ ";
  153. }
  154. #font-data h3.collapsed::before {
  155. font-size: 85%;
  156. content: "► ";
  157. }
  158. #font-data h3.collapsed + dl {
  159. display: none;
  160. }
  161. #font-data dl {
  162. margin-top: 0;
  163. padding-left: 2em;
  164. color: #707070;
  165. }
  166. #font-data dt {
  167. float: left;
  168. }
  169. #font-data dd {
  170. margin-left: 12em;
  171. word-break: break-all;
  172. max-height: 100px;
  173. overflow-y: auto;
  174. }
  175. #font-data .langtag {
  176. font-size: 85%;
  177. color: #999;
  178. white-space: nowrap;
  179. }
  180. #font-data .langname {
  181. padding-right: 0.5em;
  182. }
  183. #file {
  184. float: left;
  185. font-size: 11px;
  186. color: #999;
  187. }
  188. /* Glyph Inspector */
  189. #pagination span {
  190. margin: 0 0.3em;
  191. color: #505050;
  192. cursor: pointer;
  193. }
  194. #pagination span.page-selected {
  195. font-weight: bold;
  196. color: black;
  197. }
  198. canvas.item {
  199. float: left;
  200. border: solid 1px #a0a0a0;
  201. margin-right: -1px;
  202. margin-bottom: -1px;
  203. cursor: pointer;
  204. }
  205. canvas.item:hover {
  206. background-color: #e0e0e0;
  207. }
  208. #glyph-list-end {
  209. clear: both;
  210. height: 20px;
  211. }
  212. #glyph-display {
  213. float: left;
  214. border: solid 1px #a0a0a0;
  215. position: relative;
  216. width: 500px;
  217. height: 500px;
  218. }
  219. #glyph, glyph-bg {
  220. position: absolute;
  221. top: 0;
  222. left: 0;
  223. }
  224. #glyph-data {
  225. float: left;
  226. margin-left: 2em;
  227. display: flex;
  228. flex-flow: column nowrap;
  229. height: 500px;
  230. }
  231. #glyph-data dl { margin: 0; }
  232. #glyph-data dt { float: left; }
  233. #glyph-data dd { margin-left: 12em; }
  234. #glyph-contours {
  235. flex: 1 1 0;
  236. overflow: auto;
  237. }
  238. #glyph-data pre { font-size: 11px; }
  239. pre:not(.contour) { margin: 0; }
  240. pre.contour { margin: 0 0 1em 2em; border-bottom: solid 1px #a0a0a0; }
  241. span.oncurve { color: blue; }
  242. span.offcurve { color: red; }
  243. .disabled {
  244. color: gray;
  245. }