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.

291 lines
4.6 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. /* ************************************** */
  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. -webkit-border-radius: 6px;
  119. -moz-border-radius: 6px;
  120. border-radius: 6px;
  121. border: 1px #93dee5 solid;
  122. }
  123. select.form-select-small {
  124. border-radius: 6px;
  125. border: 1px #93dee5 solid;
  126. height: 24px;
  127. margin-top: 2px;
  128. font-size: 13px;
  129. color: #51a1a8;
  130. }
  131. .publish-dropdown {
  132. position: fixed;
  133. top: 62px;
  134. right: 110px;
  135. z-index: 1001;
  136. background: white;
  137. width: 280px;
  138. min-height: 60px;
  139. font-family: sans-serif;
  140. font-size: 14px;
  141. line-height: 18px;
  142. border: 1px solid #dbdbdb;
  143. -webkit-border-radius: 6px;
  144. -moz-border-radius: 6px;
  145. border-radius: 6px;
  146. box-shadow: 0 0 9px rgba(0,0,0,0.07);
  147. }
  148. .publish-dropdown .arrow {
  149. clip: rect(0 14px 14px -4px);
  150. transform: rotate(45deg);
  151. margin-top: -7px;
  152. position: absolute;
  153. right: 20px;
  154. }
  155. .publish-dropdown .arrow::after {
  156. content: '';
  157. height: 16px;
  158. width: 16px;
  159. background: white;
  160. display: block;
  161. border: #dbdbdb 1px solid;
  162. }
  163. .publish-dropdown .dropdown-content {
  164. padding: 9px;
  165. }
  166. .publish-dropdown .dropdown-content,
  167. .publish-dropdown .dropdown-content a {
  168. color: #51a1a8;
  169. }
  170. .publish-dropdown input {
  171. font-family: sans-serif;
  172. }
  173. .publish-dropdown .helptext {
  174. padding: 8px 4px 12px 4px;
  175. color: #333;
  176. }
  177. pre#publish-error-debug {
  178. overflow: scroll;
  179. font-size: 11px;
  180. line-height: 12px;
  181. }
  182. .hidden {
  183. display: none;
  184. }
  185. .small {
  186. font-size: 0.8em;
  187. }
  188. /* ************************************** */
  189. /* Editor CSS */
  190. body {
  191. font-size: 22px;
  192. line-height: 30px;
  193. }
  194. body, input {
  195. font-family: Georgia,Cambria,"Times New Roman",Times,serif;
  196. }
  197. *:focus {
  198. outline: none;
  199. }
  200. .container {
  201. width: 960px;
  202. margin: 0 auto;
  203. margin-top: 63px;
  204. z-index: 0;
  205. }
  206. #post-name {
  207. margin-top: 20px;
  208. margin-bottom: 20px;
  209. border: 0;
  210. font-weight: bold;
  211. font-size: 38px;
  212. width: 100%;
  213. }
  214. #content {
  215. min-height: 300px;
  216. }
  217. .medium-editor-insert-plugin .medium-insert-buttons {
  218. color: #bbb;
  219. }
  220. /* editor's h1 is actually h3 */
  221. h3 {
  222. font-weight: bold;
  223. font-size: 36px;
  224. }
  225. h4 {
  226. font-weight: bold;
  227. font-size: 30px;
  228. }
  229. p {
  230. margin-bottom: 30px;
  231. }
  232. pre {
  233. font-family: 'Menlo', monospace;
  234. font-size: 15px;
  235. background-color: #f0f0f0;
  236. padding: 15px;
  237. border: 1px solid #ccc;
  238. border-radius: 5px;
  239. color: #666;
  240. }
  241. blockquote {
  242. display: block;
  243. padding-left: 20px;
  244. border-left: 6px solid #dbdbdb;
  245. margin-left: -15px;
  246. padding-left: 15px;
  247. font-style: italic;
  248. color: #555;
  249. }
  250. .editable,
  251. .secondEditable {
  252. outline: none;
  253. margin: 0 0 20px 0;
  254. padding: 0 0 20px 0;
  255. border-bottom: 1px solid #dbdbdb;
  256. border-top: 1px solid #dbdbdb;
  257. }
  258. .editable .placeholder {
  259. color: #ccc;
  260. }