Mirror of Quill
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

261 lines
4.2 KiB

  1. /* CSS Mini Reset */
  2. html, body, div, form, fieldset, legend, label
  3. {
  4. margin: 0;
  5. padding: 0;
  6. }
  7. table
  8. {
  9. border-collapse: collapse;
  10. border-spacing: 0;
  11. }
  12. th, td
  13. {
  14. text-align: left;
  15. vertical-align: top;
  16. }
  17. h1, h2, h3, h4, h5, h6, th, td, caption { font-weight:normal; }
  18. img { border: 0; }
  19. /* ************************************** */
  20. /* Toolbar */
  21. .toolbar {
  22. padding: 13px;
  23. border-bottom: 1px #eee solid;
  24. background-color: rgba(255,255,255,0.97);
  25. position: fixed;
  26. top: 0;
  27. width: 100%;
  28. z-index: 1000;
  29. }
  30. .toolbar-left {
  31. float: left;
  32. }
  33. .toolbar-right {
  34. float: right;
  35. margin-right: 40px;
  36. }
  37. .toolbar-left .item {
  38. margin-right: 8px;
  39. display: inline-block;
  40. }
  41. .toolbar-left .logo {
  42. vertical-align: middle;
  43. }
  44. #draft-status {
  45. color: #aaa;
  46. font-family: sans-serif;
  47. font-size: 16px;
  48. }
  49. .toolbar .clear {
  50. clear: both;
  51. }
  52. .btn {
  53. height: 38px;
  54. -webkit-border-radius: 999px;
  55. -moz-border-radius: 999px;
  56. border-radius: 999px;
  57. display: inline-block;
  58. padding: 0 24px;
  59. background: rgba(0,0,0,0);
  60. font-size: 14px;
  61. text-decoration: none;
  62. text-align: center;
  63. border: 1px #93dee5 solid;
  64. color: #72c1c8;
  65. vertical-align: middle;
  66. cursor: pointer;
  67. }
  68. .btn:hover {
  69. border-color: #61a7ae;
  70. color: #51a1a8;
  71. }
  72. .btn.btn-medium {
  73. height: 30px;
  74. padding: 0 16px;
  75. font-size: 13px;
  76. }
  77. .btn.btn-small {
  78. height: 26px;
  79. padding: 0 16px;
  80. font-size: 13px;
  81. -webkit-border-radius: 10px;
  82. -moz-border-radius: 10px;
  83. border-radius: 10px;
  84. }
  85. input.form-field-small {
  86. height: 24px;
  87. margin-top: 1px;
  88. font-size: 13px;
  89. color: #51a1a8;
  90. padding: 0 10px;
  91. -webkit-border-radius: 10px;
  92. -moz-border-radius: 10px;
  93. border-radius: 10px;
  94. border: 1px #93dee5 solid;
  95. }
  96. .publish-dropdown {
  97. position: absolute;
  98. top: 62px;
  99. right: 110px;
  100. z-index: 1001;
  101. background: white;
  102. width: 280px;
  103. min-height: 60px;
  104. font-family: sans-serif;
  105. font-size: 14px;
  106. line-height: 18px;
  107. border: 1px solid #dbdbdb;
  108. -webkit-border-radius: 6px;
  109. -moz-border-radius: 6px;
  110. border-radius: 6px;
  111. box-shadow: 0 0 9px rgba(0,0,0,0.07);
  112. }
  113. .publish-dropdown .arrow {
  114. clip: rect(0 14px 14px -4px);
  115. transform: rotate(45deg);
  116. margin-top: -7px;
  117. position: absolute;
  118. right: 20px;
  119. }
  120. .publish-dropdown .arrow::after {
  121. content: '';
  122. height: 16px;
  123. width: 16px;
  124. background: white;
  125. display: block;
  126. border: #dbdbdb 1px solid;
  127. }
  128. .publish-dropdown .dropdown-content {
  129. padding: 9px;
  130. }
  131. .publish-dropdown input {
  132. font-family: sans-serif;
  133. }
  134. .publish-dropdown .helptext {
  135. padding: 8px 4px 12px 4px;
  136. color: #333;
  137. }
  138. pre#publish-error-debug {
  139. overflow: scroll;
  140. font-size: 11px;
  141. line-height: 12px;
  142. }
  143. .hidden {
  144. display: none;
  145. }
  146. /* ************************************** */
  147. /* App Cache */
  148. #new_version_available {
  149. display: none;
  150. position: fixed;
  151. z-index: 1000;
  152. bottom: 0;
  153. left: 0;
  154. right: 0;
  155. background: rgba(246,206,217,0.3);
  156. }
  157. #new_version_available .inner {
  158. padding: 10px;
  159. width: 600px;
  160. margin: 0 auto;
  161. text-align: center;
  162. font-weight: bold;
  163. color: #cf224f;
  164. font-size: 14px;
  165. font-family: sans-serif;
  166. }
  167. /* ************************************** */
  168. /* Editor CSS */
  169. body {
  170. font-size: 22px;
  171. line-height: 30px;
  172. }
  173. body, input {
  174. font-family: Georgia,Cambria,"Times New Roman",Times,serif;
  175. }
  176. *:focus {
  177. outline: none;
  178. }
  179. .container {
  180. width: 960px;
  181. margin: 0 auto;
  182. margin-top: 63px;
  183. z-index: 0;
  184. }
  185. #post-name {
  186. margin-top: 20px;
  187. margin-bottom: 20px;
  188. border: 0;
  189. font-weight: bold;
  190. font-size: 42px;
  191. }
  192. #content {
  193. min-height: 300px;
  194. }
  195. /* editor's h1 is actually h3 */
  196. h3 {
  197. font-weight: bold;
  198. font-size: 36px;
  199. }
  200. h4 {
  201. font-weight: bold;
  202. font-size: 30px;
  203. }
  204. p {
  205. margin-bottom: 30px;
  206. }
  207. pre {
  208. font-family: 'Menlo', monospace;
  209. font-size: 15px;
  210. background-color: #f0f0f0;
  211. padding: 15px;
  212. border: 1px solid #ccc;
  213. border-radius: 5px;
  214. color: #666;
  215. }
  216. blockquote {
  217. display: block;
  218. padding-left: 20px;
  219. border-left: 6px solid #dbdbdb;
  220. margin-left: -15px;
  221. padding-left: 15px;
  222. font-style: italic;
  223. color: #555;
  224. }
  225. .editable,
  226. .secondEditable {
  227. outline: none;
  228. margin: 0 0 20px 0;
  229. padding: 0 0 20px 0;
  230. border-bottom: 1px solid #dbdbdb;
  231. border-top: 1px solid #dbdbdb;
  232. }
  233. .editable .placeholder {
  234. color: #ccc;
  235. }