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.

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