style.css 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557
  1. *,
  2. *:after,
  3. *:before{
  4. box-sizing: inherit;
  5. }
  6. html{
  7. box-sizing: border-box;
  8. width: 100%;
  9. height: 100%;
  10. font-weight: 300;
  11. padding:0;
  12. border:0;
  13. margin:0;
  14. }
  15. body{
  16. color: #eee !important;
  17. background:#123 !important;
  18. font-family: Helvetica, sans-serif;
  19. font-size: 14px;
  20. font-weight: 100;
  21. line-height: 140%;
  22. padding: 0;
  23. border: 0;
  24. margin: 0;
  25. }
  26. blockquote {
  27. border-left: 2px solid #789;
  28. padding: 4px 8px;
  29. }
  30. /* ***** link ***** */
  31. a{
  32. color: #ec0;
  33. text-decoration: none;
  34. cursor: pointer;
  35. }
  36. a:hover{
  37. color: #ee0;
  38. }
  39. /* ***** code ***** */
  40. code{
  41. font-family: Courier, monospace;
  42. font-weight: 400;
  43. white-space: nowrap;
  44. color: #fff;
  45. }
  46. pre{
  47. background: #456;
  48. border: 1px solid #456;
  49. border-radius: 3px;
  50. padding: 4px;
  51. padding-left: 12px;
  52. font-family: Courier, monospace;
  53. }
  54. pre>code{
  55. white-space: pre;
  56. font-weight: 300;
  57. }
  58. fieldset{
  59. background: #234;
  60. border: 1px solid #234;
  61. border-radius: 5px;
  62. }
  63. legend{
  64. float: left;
  65. font-size: 14px;
  66. font-weight: 400;
  67. padding: 16px 0;
  68. }
  69. /* ***** gadgets ***** */
  70. textarea,
  71. button,
  72. select,
  73. input{
  74. font-family: Helvetica, sans-serif;
  75. font-size: 14px;
  76. font-weight: 300;
  77. line-height: 140%;
  78. color: #eee;
  79. background-color: #456;
  80. border: 1px solid #456;
  81. border-radius: 3px;
  82. padding: 0 4px;
  83. margin: 2px;
  84. outline: 0;
  85. }
  86. select{
  87. padding: 2px 0;
  88. }
  89. input[type=submit]:hover{
  90. color: #ec0;
  91. }
  92. button[type=submit]:hover{
  93. color: #ec0;
  94. }
  95. button[type=button]:hover{
  96. color: #ec0;
  97. }
  98. input[type=checkbox]{
  99. -webkit-appearance: none;
  100. width: 16px;
  101. height: 16px;
  102. vertical-align: middle;
  103. }
  104. input[type=checkbox]:checked{
  105. -webkit-appearance: none;
  106. background: #0e0 !important;
  107. }
  108. /* Hacks for theme my login */
  109. input:-webkit-autofill {
  110. -webkit-box-shadow: 0 0 0px 1000px #456 inset;
  111. -webkit-text-fill-color: #eee;
  112. background-clip: content-box;
  113. }
  114. p.message{
  115. background-color: #456 !important;
  116. border: 1px solid #456 !important;
  117. border-radius: 3px !important;
  118. color: #eee !important;
  119. }
  120. /* Hacks for tiny-mce */
  121. button.add_media{
  122. color: #eee !important;
  123. background-color: #456 !important;
  124. border: 1px solid #456 !important;
  125. border-radius: 3px !important;
  126. box-shadow: none !important;
  127. }
  128. button.wp-switch-editor{
  129. color: #eee !important;
  130. background-color: #456 !important;
  131. border-width: 1px !important;
  132. border-style: solid !important;
  133. border-color: #456 !important;
  134. border-radius: 6px 6px 0 0 !important;
  135. box-shadow: none !important;
  136. margin-bottom: 1px !important;
  137. }
  138. button.wp-switch-editor:hover{
  139. color: #ec0 !important;
  140. }
  141. div.mce-panel{
  142. background: #234 !important;
  143. }
  144. div.mce-toolbar-grp{
  145. background: #abc !important;
  146. border: none !important;
  147. }
  148. div.mce-statusbar{
  149. border: none !important;
  150. }
  151. #crayon-te-table{
  152. padding:0px !important;
  153. }
  154. /* Hacks for crayon */
  155. #colorbox{
  156. width:720px !important;
  157. }
  158. #cboxWrapper{
  159. width:100% !important;
  160. }
  161. #cboxContent{
  162. width:100% !important;
  163. }
  164. #cboxLoadedContent{
  165. color: #eee !important;
  166. background: #abc !important;
  167. font-size: 16px !important;
  168. width:100% !important;
  169. }
  170. #crayon-te-bar-content{
  171. font-size: 16px !important;
  172. }
  173. .crayon-setting{
  174. color: #eee !important;
  175. background-color: #456 !important;
  176. border: 1px solid #456 !important;
  177. border-radius: 3px !important;
  178. box-shadow: none !important;
  179. }
  180. #crayon-code{
  181. color: #eee !important;
  182. background: #456 !important;
  183. }
  184. /* jstree */
  185. .modules_nav_tree .jstree-anchor{
  186. padding: 0 2px;
  187. text-shadow: none !important;
  188. color: #ccc !important;
  189. }
  190. .modules_nav_tree .jstree-anchor:hover{
  191. background: #345;
  192. }
  193. .modules_nav_tree .jstree-anchor.jstree-clicked{
  194. background: #567;
  195. color: #eee;
  196. }
  197. /* ***** spacing ***** */
  198. hr{
  199. border: 0;
  200. width: 100%;
  201. border-top: 1px solid #789;
  202. margin: 48px 0 16px;
  203. }
  204. /* ***** table ***** */
  205. table{
  206. border-spacing: 0;
  207. width: 100%;
  208. margin: 16px 0;
  209. }
  210. table.modman{
  211. font-size: 90%;
  212. table-layout: auto;
  213. margin: 0;
  214. }
  215. tr:nth-child(even){
  216. background: #182838;
  217. }
  218. tr:nth-child(odd){
  219. background: #1e2e3e;
  220. }
  221. th{
  222. background: #456;
  223. border-radius: 3px 3px 0 0;
  224. }
  225. th,td{
  226. text-align: left;
  227. padding: 4px;
  228. }
  229. th{
  230. font-weight: 500;
  231. }
  232. th.mx2docs:first-child{
  233. width: 200px;
  234. }
  235. td.mx2docs:first-child{
  236. width: 200px;
  237. }
  238. th.modman{
  239. padding: 0 8px;
  240. }
  241. td.modman{
  242. padding: 0 8px;
  243. }
  244. /* ***** typography ***** */
  245. p{
  246. margin-top: 16px;
  247. }
  248. h1,
  249. h2,
  250. h3,
  251. h4,
  252. h5,
  253. h6{
  254. font-weight: 400;
  255. }
  256. h1{
  257. font-size: 26px;
  258. margin: 26px 0 26px;
  259. }
  260. h2{
  261. font-size: 24px;
  262. margin: 24px 0 24px;
  263. }
  264. h3{
  265. font-size: 22px;
  266. margin: 22px 0 22px;
  267. }
  268. h4{
  269. font-size: 20px;
  270. margin: 20px 0 20px;
  271. }
  272. h5{
  273. font-size: 18px;
  274. margin: 18px 0 18px;
  275. }
  276. h6{
  277. font-size: 16px;
  278. margin: 16px 0 16px;
  279. }
  280. /* ***** wordpress css ***** */
  281. div.comments-area{
  282. background-color: #234;
  283. border: 1px solid #234;
  284. border-radius:3px;
  285. padding:8px;
  286. }
  287. /* ***** mx2-theme layout ***** */
  288. body.page_body{
  289. position:relative;
  290. width:100%;
  291. height:100%;
  292. }
  293. /* parent: page_body */
  294. div.page_header{
  295. position:fixed;
  296. width: 100%;
  297. top:0;
  298. height:40px;
  299. line-height:40px;
  300. text-align: center;
  301. background: #abc;
  302. z-index: 5;
  303. }
  304. img{
  305. vertical-align: middle;
  306. }
  307. /* parent: page_header */
  308. span.header_title_strip{
  309. margin-left: calc( ( 100% - 960px ) / 2 + 24px );
  310. float: left;
  311. }
  312. /* parent: page_title_strip */
  313. span.header_logo{
  314. }
  315. .header_logo img{
  316. margin-bottom: 4px;
  317. }
  318. /* parent: page_title_strip */
  319. span.header_text{
  320. font-size: 16px;
  321. color: #123;
  322. margin-left: 8px;
  323. margin-right: 68px;
  324. }
  325. /* parent: page_header */
  326. span.header_button_strip{
  327. }
  328. /* parent: header_button_strip */
  329. a.header_button{
  330. vertical-align: middle;
  331. background-color: #456;
  332. border: 1px solid #456;
  333. border-radius: 3px;
  334. padding: 4px 7px;
  335. font-size: 10px;
  336. font-weight: 400;
  337. color: #fcfcfc;
  338. cursor: pointer;
  339. text-align: center;
  340. text-decoration: none;
  341. text-transform: uppercase;
  342. white-space: nowrap;
  343. letter-spacing: 0.05em;
  344. }
  345. a.header_button:hover{
  346. background-color: #789;
  347. border-color: #789;
  348. color: #ffee00;
  349. outline: 0;
  350. }
  351. input.header_paypal_button{
  352. background: none;
  353. border: none;
  354. }
  355. /* parent: page_header */
  356. span.header_donate_strip{
  357. margin-right: calc( ( 100% - 960px ) / 2 + 24px );
  358. float: right;
  359. }
  360. /* parent: header_donate_strip */
  361. form.header_paypal{
  362. display: inline;
  363. }
  364. /* parent: header_donate_strip */
  365. a.header_patreon{
  366. }
  367. a.header_patreon:hover{
  368. }
  369. /* parent: page_body */
  370. div.page_content{
  371. position:relative;
  372. top: 0;
  373. height: 100%;
  374. width: 100%;
  375. margin-top: 40px;
  376. }
  377. /* parent: page_content */
  378. div.post_content{
  379. position: static;
  380. padding:16px 24px;
  381. max-width: 960px; /* 840 */
  382. margin: 0 auto;
  383. clear: left;
  384. background:#123;
  385. }
  386. /* parent: page_content */
  387. div.modules_content{
  388. width: 100%;
  389. height: calc( 100% - 40px );
  390. position: relative;
  391. }
  392. /* parent: modules_content */
  393. div.modules_nav_wrapper{
  394. position:absolute;
  395. left:0;
  396. bottom: 0;
  397. width:299px;
  398. height:100%;
  399. padding:16px 12px;
  400. overflow:auto;
  401. -webkit-overflow-scrolling:touch;
  402. }
  403. /* parent: modules_nav_wrapper */
  404. div.modules_nav_tree{
  405. background: transparent;
  406. width:100%;
  407. margin: 4px 0;
  408. border:0;
  409. }
  410. /* parent: modules_content */
  411. div.modules_docs_wrapper{
  412. position:absolute;
  413. left:300px;
  414. right:0;
  415. height:100%;
  416. padding:0;
  417. border:0;
  418. margin:0;
  419. overflow:auto;
  420. -webkit-overflow-scrolling:touch;
  421. }
  422. /* parent: modules_docs_wrapper */
  423. iframe.modules_docs_iframe{
  424. display:block;
  425. width:100%;
  426. height:100%;
  427. padding:0;
  428. border:0;
  429. margin:0;
  430. }
  431. /* parent: modules_docs_iframe */
  432. body.docs_body{
  433. width:100%;
  434. padding:12px 24px;
  435. }
  436. /* parent: docs_body */
  437. div.docs_content{
  438. }
  439. /* page styles */
  440. body.page-modules-reference {
  441. overflow: hidden;
  442. width:100%;
  443. height:100%;
  444. }
  445. body.page-manuals-reference {
  446. overflow: hidden;
  447. width:100%;
  448. height:100%;
  449. }
  450. body.page-language-reference {
  451. overflow: hidden;
  452. width:100%;
  453. height:100%;
  454. }
  455. body.forums.post_content {
  456. max-width: 1100px;
  457. }
  458. div.toc{
  459. display:none;
  460. }