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.

336 lines
5.4 KiB

3 years ago
9 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  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. .micropub-html-warning {
  21. max-width: 600px;
  22. margin-left: auto;
  23. margin-right: auto;
  24. margin-top: 68px;
  25. margin-bottom: -80px;
  26. font-size: 12px;
  27. font-family: sans-serif;
  28. line-height: 16px;
  29. background: #fcf8e3;
  30. border: 1px #faebcc solid;
  31. }
  32. .micropub-html-warning div {
  33. padding: 10px 20px;
  34. }
  35. .micropub-html-warning button {
  36. display: block;
  37. }
  38. #micropub-html-btn {
  39. font-size: 14px;
  40. border-radius: 6px;
  41. padding: 0 12px;
  42. height: 28px;
  43. background: #e4f8fa;
  44. float: right;
  45. }
  46. /* ************************************** */
  47. /* Toolbar */
  48. .toolbar {
  49. padding: 13px;
  50. border-bottom: 1px #eee solid;
  51. background-color: rgba(255,255,255,0.97);
  52. position: fixed;
  53. top: 0;
  54. width: 100%;
  55. z-index: 1000;
  56. }
  57. .toolbar-left {
  58. float: left;
  59. }
  60. .toolbar-right {
  61. float: right;
  62. margin-right: 40px;
  63. }
  64. .toolbar-left .item {
  65. margin-right: 8px;
  66. display: inline-block;
  67. }
  68. .toolbar-left .logo {
  69. vertical-align: middle;
  70. }
  71. .toolbar .item.text {
  72. color: #aaa;
  73. font-family: sans-serif;
  74. font-size: 16px;
  75. }
  76. .toolbar .clear {
  77. clear: both;
  78. }
  79. .btn {
  80. height: 38px;
  81. -webkit-border-radius: 999px;
  82. -moz-border-radius: 999px;
  83. border-radius: 999px;
  84. display: inline-block;
  85. padding: 0 24px;
  86. background: rgba(0,0,0,0);
  87. font-size: 14px;
  88. text-decoration: none;
  89. text-align: center;
  90. border: 1px #93dee5 solid;
  91. color: #72c1c8;
  92. vertical-align: middle;
  93. cursor: pointer;
  94. }
  95. .btn:hover {
  96. border-color: #61a7ae;
  97. color: #51a1a8;
  98. }
  99. .btn.btn-medium {
  100. height: 30px;
  101. padding: 0 16px;
  102. font-size: 13px;
  103. }
  104. .btn.btn-small {
  105. height: 26px;
  106. padding: 0 16px;
  107. font-size: 13px;
  108. -webkit-border-radius: 10px;
  109. -moz-border-radius: 10px;
  110. border-radius: 10px;
  111. }
  112. input.form-field-small {
  113. height: 24px;
  114. margin-top: 2px;
  115. font-size: 13px;
  116. color: #51a1a8;
  117. padding: 0 10px;
  118. }
  119. input.form-field-small, .tokenfield.form-control {
  120. -webkit-border-radius: 6px;
  121. -moz-border-radius: 6px;
  122. border-radius: 6px;
  123. border: 1px #93dee5 solid;
  124. }
  125. .tokenfield.form-control {
  126. padding: 6px;
  127. padding-bottom: 0;
  128. }
  129. select.form-select-small {
  130. border-radius: 6px;
  131. border: 1px #93dee5 solid;
  132. height: 24px;
  133. margin-top: 2px;
  134. font-size: 13px;
  135. color: #51a1a8;
  136. }
  137. .tokenfield .token {
  138. height: 20px;
  139. font-size: 13px;
  140. }
  141. .tokenfield a.close {
  142. text-decoration: none;
  143. opacity: 0.3;
  144. }
  145. .publish-dropdown {
  146. position: fixed;
  147. top: 62px;
  148. right: 110px;
  149. z-index: 1001;
  150. background: white;
  151. width: 280px;
  152. min-height: 60px;
  153. font-family: sans-serif;
  154. font-size: 14px;
  155. line-height: 18px;
  156. border: 1px solid #dbdbdb;
  157. -webkit-border-radius: 6px;
  158. -moz-border-radius: 6px;
  159. border-radius: 6px;
  160. box-shadow: 0 0 9px rgba(0,0,0,0.07);
  161. }
  162. .publish-dropdown .arrow {
  163. clip: rect(0 14px 14px -4px);
  164. transform: rotate(45deg);
  165. margin-top: -7px;
  166. position: absolute;
  167. right: 20px;
  168. }
  169. .publish-dropdown .arrow::after {
  170. content: '';
  171. height: 16px;
  172. width: 16px;
  173. background: white;
  174. display: block;
  175. border: #dbdbdb 1px solid;
  176. }
  177. .publish-dropdown .dropdown-content {
  178. padding: 9px;
  179. }
  180. .publish-dropdown .dropdown-content,
  181. .publish-dropdown .dropdown-content a {
  182. color: #51a1a8;
  183. }
  184. .publish-dropdown .dropdown-content table#publish-fields td {
  185. vertical-align: middle;
  186. }
  187. .publish-dropdown input {
  188. font-family: sans-serif;
  189. }
  190. .publish-dropdown .helptext {
  191. padding: 8px 4px 12px 4px;
  192. color: #333;
  193. }
  194. #publish-fields {
  195. width: 100%;
  196. }
  197. #publish-fields .form-field-small {
  198. width: calc(100% - 22px);
  199. }
  200. pre#publish-error-debug {
  201. overflow: scroll;
  202. font-size: 11px;
  203. line-height: 12px;
  204. }
  205. .hidden {
  206. display: none;
  207. }
  208. .small {
  209. font-size: 0.8em;
  210. }
  211. /* ************************************** */
  212. /* Editor CSS */
  213. body {
  214. font-size: 22px;
  215. line-height: 30px;
  216. }
  217. body, input {
  218. font-family: Georgia,Cambria,"Times New Roman",Times,serif;
  219. }
  220. *:focus {
  221. outline: none;
  222. }
  223. .container {
  224. width: 960px;
  225. margin: 0 auto;
  226. margin-top: 63px;
  227. z-index: 0;
  228. }
  229. #post-name {
  230. margin-top: 20px;
  231. margin-bottom: 20px;
  232. border: 0;
  233. font-weight: bold;
  234. font-size: 38px;
  235. width: 100%;
  236. }
  237. #post-description {
  238. margin-top: 20px;
  239. margin-bottom: 20px;
  240. border: 0;
  241. font-weight: bold;
  242. font-size: 24px;
  243. width: 100%;
  244. }
  245. #post-image {
  246. margin-top: 20px;
  247. margin-bottom: 20px;
  248. border: 0;
  249. font-weight: normal;
  250. font-size: 18px;
  251. width: 100%;
  252. }
  253. #content {
  254. min-height: 300px;
  255. }
  256. .medium-editor-insert-plugin .medium-insert-buttons {
  257. color: #bbb;
  258. }
  259. /* editor's h1 is actually h3 */
  260. h3 {
  261. font-weight: bold;
  262. font-size: 36px;
  263. }
  264. h4 {
  265. font-weight: bold;
  266. font-size: 30px;
  267. }
  268. p {
  269. margin-bottom: 30px;
  270. }
  271. pre {
  272. font-family: 'Menlo', monospace;
  273. font-size: 15px;
  274. background-color: #f0f0f0;
  275. padding: 15px;
  276. border: 1px solid #ccc;
  277. border-radius: 5px;
  278. color: #666;
  279. }
  280. blockquote {
  281. display: block;
  282. padding-left: 20px;
  283. border-left: 6px solid #dbdbdb;
  284. margin-left: -15px;
  285. padding-left: 15px;
  286. font-style: italic;
  287. color: #555;
  288. }
  289. .editable,
  290. .secondEditable {
  291. outline: none;
  292. margin: 0 0 20px 0;
  293. padding: 0 0 20px 0;
  294. border-bottom: 1px solid #dbdbdb;
  295. border-top: 1px solid #dbdbdb;
  296. }
  297. .editable .placeholder {
  298. color: #ccc;
  299. }
  300. .medium-insert-action[data-addon=embeds] {
  301. display: none !important;
  302. }