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.

294 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. /* ************************************** */
  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 .dropdown-content table#publish-fields td {
  171. vertical-align: middle;
  172. }
  173. .publish-dropdown input {
  174. font-family: sans-serif;
  175. }
  176. .publish-dropdown .helptext {
  177. padding: 8px 4px 12px 4px;
  178. color: #333;
  179. }
  180. pre#publish-error-debug {
  181. overflow: scroll;
  182. font-size: 11px;
  183. line-height: 12px;
  184. }
  185. .hidden {
  186. display: none;
  187. }
  188. .small {
  189. font-size: 0.8em;
  190. }
  191. /* ************************************** */
  192. /* Editor CSS */
  193. body {
  194. font-size: 22px;
  195. line-height: 30px;
  196. }
  197. body, input {
  198. font-family: Georgia,Cambria,"Times New Roman",Times,serif;
  199. }
  200. *:focus {
  201. outline: none;
  202. }
  203. .container {
  204. width: 960px;
  205. margin: 0 auto;
  206. margin-top: 63px;
  207. z-index: 0;
  208. }
  209. #post-name {
  210. margin-top: 20px;
  211. margin-bottom: 20px;
  212. border: 0;
  213. font-weight: bold;
  214. font-size: 38px;
  215. width: 100%;
  216. }
  217. #content {
  218. min-height: 300px;
  219. }
  220. .medium-editor-insert-plugin .medium-insert-buttons {
  221. color: #bbb;
  222. }
  223. /* editor's h1 is actually h3 */
  224. h3 {
  225. font-weight: bold;
  226. font-size: 36px;
  227. }
  228. h4 {
  229. font-weight: bold;
  230. font-size: 30px;
  231. }
  232. p {
  233. margin-bottom: 30px;
  234. }
  235. pre {
  236. font-family: 'Menlo', monospace;
  237. font-size: 15px;
  238. background-color: #f0f0f0;
  239. padding: 15px;
  240. border: 1px solid #ccc;
  241. border-radius: 5px;
  242. color: #666;
  243. }
  244. blockquote {
  245. display: block;
  246. padding-left: 20px;
  247. border-left: 6px solid #dbdbdb;
  248. margin-left: -15px;
  249. padding-left: 15px;
  250. font-style: italic;
  251. color: #555;
  252. }
  253. .editable,
  254. .secondEditable {
  255. outline: none;
  256. margin: 0 0 20px 0;
  257. padding: 0 0 20px 0;
  258. border-bottom: 1px solid #dbdbdb;
  259. border-top: 1px solid #dbdbdb;
  260. }
  261. .editable .placeholder {
  262. color: #ccc;
  263. }