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.

293 lines
4.7 KiB

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