style.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607
  1. /*! Tweaked version of milligram!
  2. * Milligram v1.1.0
  3. * http://milligram.github.io
  4. *
  5. * Copyright (c) 2016 CJ Patoilo
  6. * Licensed under the MIT license
  7. */
  8. /* ***** color ***** */
  9. /*
  10. $color-initial: #fcfcfc !default
  11. $color-primary: #9b4dca !default
  12. $color-secondary: #606c76 !default
  13. $color-tertiary: #f4f5f6 !default
  14. $color-quaternary: #d1d1d1 !default
  15. */
  16. /* ***** base ***** */
  17. html{
  18. box-sizing: border-box;
  19. width: 100%;
  20. height: 100%;
  21. font-weight: 300;
  22. padding:0;
  23. border:0;
  24. margin:0;
  25. }
  26. body{
  27. background: #fcfcfc;
  28. color: #404c56; /* $color-secondary */
  29. font-family: "Roboto", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  30. font-size: 16px;
  31. line-height: 140%;
  32. padding:0;
  33. border:0;
  34. margin:0;
  35. }
  36. blockquote {
  37. border-left: 2px solid #d1d1d1;
  38. padding: 4px 8px;
  39. }
  40. *,
  41. *:after,
  42. *:before{
  43. box-sizing: inherit;
  44. }
  45. /* ***** gadegets ***** */
  46. .button,
  47. button,
  48. input[type='button'],
  49. input[type='reset'],
  50. input[type='submit'] {
  51. background-color: #9b4dca;
  52. border: 1px solid #9b4dca;
  53. border-radius: 3px;
  54. color: #fcfcfc;
  55. cursor: pointer;
  56. display: inline-block;
  57. text-align: center;
  58. text-decoration: none;
  59. text-transform: uppercase;
  60. white-space: nowrap;
  61. }
  62. .button:hover, .button:focus,
  63. button:hover,
  64. button:focus,
  65. input[type='button']:hover,
  66. input[type='button']:focus,
  67. input[type='reset']:hover,
  68. input[type='reset']:focus,
  69. input[type='submit']:hover,
  70. input[type='submit']:focus {
  71. background-color: #606c76;
  72. border-color: #606c76;
  73. color: #fcfcfc;
  74. outline: 0;
  75. }
  76. .button.button-disabled, .button[disabled],
  77. button.button-disabled,
  78. button[disabled],
  79. input[type='button'].button-disabled,
  80. input[type='button'][disabled],
  81. input[type='reset'].button-disabled,
  82. input[type='reset'][disabled],
  83. input[type='submit'].button-disabled,
  84. input[type='submit'][disabled] {
  85. opacity: 0.5;
  86. cursor: default;
  87. }
  88. .button.button-disabled:hover, .button.button-disabled:focus, .button[disabled]:hover, .button[disabled]:focus,
  89. button.button-disabled:hover,
  90. button.button-disabled:focus,
  91. button[disabled]:hover,
  92. button[disabled]:focus,
  93. input[type='button'].button-disabled:hover,
  94. input[type='button'].button-disabled:focus,
  95. input[type='button'][disabled]:hover,
  96. input[type='button'][disabled]:focus,
  97. input[type='reset'].button-disabled:hover,
  98. input[type='reset'].button-disabled:focus,
  99. input[type='reset'][disabled]:hover,
  100. input[type='reset'][disabled]:focus,
  101. input[type='submit'].button-disabled:hover,
  102. input[type='submit'].button-disabled:focus,
  103. input[type='submit'][disabled]:hover,
  104. input[type='submit'][disabled]:focus {
  105. background-color: #9b4dca;
  106. border-color: #9b4dca;
  107. }
  108. .button.button-outline,
  109. button.button-outline,
  110. input[type='button'].button-outline,
  111. input[type='reset'].button-outline,
  112. input[type='submit'].button-outline {
  113. color: #9b4dca;
  114. background-color: transparent;
  115. }
  116. .button.button-outline:hover, .button.button-outline:focus,
  117. button.button-outline:hover,
  118. button.button-outline:focus,
  119. input[type='button'].button-outline:hover,
  120. input[type='button'].button-outline:focus,
  121. input[type='reset'].button-outline:hover,
  122. input[type='reset'].button-outline:focus,
  123. input[type='submit'].button-outline:hover,
  124. input[type='submit'].button-outline:focus {
  125. color: #606c76;
  126. background-color: transparent;
  127. border-color: #606c76;
  128. }
  129. .button.button-outline.button-disabled:hover, .button.button-outline.button-disabled:focus, .button.button-outline[disabled]:hover, .button.button-outline[disabled]:focus,
  130. button.button-outline.button-disabled:hover,
  131. button.button-outline.button-disabled:focus,
  132. button.button-outline[disabled]:hover,
  133. button.button-outline[disabled]:focus,
  134. input[type='button'].button-outline.button-disabled:hover,
  135. input[type='button'].button-outline.button-disabled:focus,
  136. input[type='button'].button-outline[disabled]:hover,
  137. input[type='button'].button-outline[disabled]:focus,
  138. input[type='reset'].button-outline.button-disabled:hover,
  139. input[type='reset'].button-outline.button-disabled:focus,
  140. input[type='reset'].button-outline[disabled]:hover,
  141. input[type='reset'].button-outline[disabled]:focus,
  142. input[type='submit'].button-outline.button-disabled:hover,
  143. input[type='submit'].button-outline.button-disabled:focus,
  144. input[type='submit'].button-outline[disabled]:hover,
  145. input[type='submit'].button-outline[disabled]:focus {
  146. color: #9b4dca;
  147. border-color: inherit;
  148. }
  149. .button.button-clear,
  150. button.button-clear,
  151. input[type='button'].button-clear,
  152. input[type='reset'].button-clear,
  153. input[type='submit'].button-clear {
  154. color: #9b4dca;
  155. background-color: transparent;
  156. border-color: transparent;
  157. }
  158. .button.button-clear:hover, .button.button-clear:focus,
  159. button.button-clear:hover,
  160. button.button-clear:focus,
  161. input[type='button'].button-clear:hover,
  162. input[type='button'].button-clear:focus,
  163. input[type='reset'].button-clear:hover,
  164. input[type='reset'].button-clear:focus,
  165. input[type='submit'].button-clear:hover,
  166. input[type='submit'].button-clear:focus {
  167. color: #606c76;
  168. background-color: transparent;
  169. border-color: transparent;
  170. }
  171. .button.button-clear.button-disabled:hover, .button.button-clear.button-disabled:focus, .button.button-clear[disabled]:hover, .button.button-clear[disabled]:focus,
  172. button.button-clear.button-disabled:hover,
  173. button.button-clear.button-disabled:focus,
  174. button.button-clear[disabled]:hover,
  175. button.button-clear[disabled]:focus,
  176. input[type='button'].button-clear.button-disabled:hover,
  177. input[type='button'].button-clear.button-disabled:focus,
  178. input[type='button'].button-clear[disabled]:hover,
  179. input[type='button'].button-clear[disabled]:focus,
  180. input[type='reset'].button-clear.button-disabled:hover,
  181. input[type='reset'].button-clear.button-disabled:focus,
  182. input[type='reset'].button-clear[disabled]:hover,
  183. input[type='reset'].button-clear[disabled]:focus,
  184. input[type='submit'].button-clear.button-disabled:hover,
  185. input[type='submit'].button-clear.button-disabled:focus,
  186. input[type='submit'].button-clear[disabled]:hover,
  187. input[type='submit'].button-clear[disabled]:focus {
  188. color: #9b4dca;
  189. }
  190. input[type='email'],
  191. input[type='number'],
  192. input[type='password'],
  193. input[type='search'],
  194. input[type='tel'],
  195. input[type='text'],
  196. input[type='url'],
  197. textarea,
  198. select {
  199. -webkit-appearance: none;
  200. -moz-appearance: none;
  201. appearance: none;
  202. font-family: "Roboto", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  203. font-size: 14px;
  204. font-weight: 300;
  205. line-height: 140%;
  206. padding:4px;
  207. background-color: transparent;
  208. border: 1px solid #d1d1d1;
  209. border-radius: 3px;
  210. box-shadow: none;
  211. width: 100%;
  212. }
  213. input[type='email']:focus,
  214. input[type='number']:focus,
  215. input[type='password']:focus,
  216. input[type='search']:focus,
  217. input[type='tel']:focus,
  218. input[type='text']:focus,
  219. input[type='url']:focus,
  220. textarea:focus,
  221. select:focus {
  222. border: 1px solid #9b4dca;
  223. outline: 0;
  224. }
  225. textarea {
  226. }
  227. label,
  228. legend {
  229. display: block;
  230. }
  231. fieldset {
  232. }
  233. input[type='checkbox'],
  234. input[type='radio'] {
  235. display: inline;
  236. }
  237. /* ***** code ***** */
  238. code{
  239. font-family: Courier, monospace;
  240. font-weight: 400;
  241. white-space: nowrap;
  242. color: #111;
  243. }
  244. pre{
  245. background: #f4f5f6; /* $color-tertiary */
  246. border-left: 1px solid #9b4dca; /* $color-primary */
  247. padding: 2px;
  248. padding-left: 12px;
  249. font-family: Courier, monospace;
  250. }
  251. pre>code{
  252. white-space: pre;
  253. font-weight: 300;
  254. }
  255. /* ***** link ***** */
  256. a{
  257. color: #9b4dca; /* $color-primary */
  258. text-decoration: none;
  259. cursor: pointer;
  260. }
  261. a:hover{
  262. color: #606c76; /* $color-secondary */
  263. }
  264. /* ***** spacing ***** */
  265. hr {
  266. border: 0;
  267. width: 100%;
  268. border-top: 1px solid #c4c5c6;
  269. margin: 64px 0 24px;
  270. }
  271. .button,
  272. button{
  273. margin-bottom: 1px;
  274. }
  275. input,
  276. textarea,
  277. select,
  278. fieldset{
  279. margin-bottom: 1px;
  280. }
  281. pre,
  282. blockquote,
  283. dl,
  284. figure,
  285. table,
  286. p,
  287. ul,
  288. ol,
  289. form{
  290. }
  291. /* ***** table ***** */
  292. table{
  293. table-layout: fixed;
  294. border-spacing: 0;
  295. width: 100%;
  296. margin: 16px 0;
  297. }
  298. table.modman{
  299. font-size: 90%;
  300. table-layout: auto;
  301. margin: 0;
  302. }
  303. th,td{
  304. border-bottom: 1px solid #e1e1e1;
  305. text-align: left;
  306. padding: 4px 0;
  307. }
  308. th{
  309. font-weight: 600;
  310. }
  311. th.modman{
  312. padding: 0 8px;
  313. }
  314. td.modman{
  315. padding: 0 8px;
  316. }
  317. /* ***** typography ***** */
  318. p{
  319. margin-top: 16px;
  320. }
  321. h1,
  322. h2,
  323. h3,
  324. h4,
  325. h5,
  326. h6{
  327. font-weight: 400;
  328. }
  329. h1{
  330. font-size: 36px;
  331. margin: 38px 0 28px;
  332. }
  333. h2{
  334. font-size: 32px;
  335. margin: 34px 0 24px;
  336. }
  337. h3{
  338. font-size: 28px;
  339. margin: 32px 0 22px;
  340. }
  341. h4{
  342. font-size: 24px;
  343. margin: 30px 0 20px;
  344. }
  345. h5{
  346. font-size: 20px;
  347. margin: 28px 0 18px;
  348. }
  349. h6{
  350. font-size: 16px;
  351. margin: 26px 0 16px;
  352. }
  353. /* ***** wordpress css ***** */
  354. div.comments-area{
  355. background-color: #e8e8e8;
  356. border: 1px solid #e8e8e8;
  357. border-radius:3px;
  358. padding:8px;
  359. }
  360. /* ***** mx2-theme layout ***** */
  361. body.page_body{
  362. position:relative;;
  363. width:100%;
  364. height:100%;
  365. }
  366. /* parent: page_body */
  367. div.page_header{
  368. position:fixed;
  369. width:100%;
  370. top:0;
  371. height:72px;
  372. border-bottom:1px solid #9b4dca;
  373. padding-left:12px;
  374. padding-right:16px;
  375. line-height:72px;
  376. text-align:center;
  377. background:#e8e8e8;
  378. z-index: 5;
  379. }
  380. .header_logo {
  381. height: 72px;
  382. }
  383. .header_logo a {
  384. display: block;
  385. height: 100%;
  386. }
  387. /* parent: page_header */
  388. div.header_title_strip{
  389. display:inline;
  390. float:left;
  391. }
  392. /* parent: page_title_strip */
  393. div.header_logo{
  394. float:left;
  395. }
  396. /* parent: page_title_strip */
  397. div.header_text{
  398. float: left;
  399. font-size: 21px;
  400. letter-spacing: -0.04em;
  401. }
  402. /* parent: page_header */
  403. div.header_button_strip{
  404. display:inline;
  405. float:right
  406. top:0;
  407. bottom:0;
  408. }
  409. /* parent: header_button_strip */
  410. a.header_button{
  411. background-color: #9b4dca;
  412. border: 1px solid #9b4dca;
  413. border-radius: 3px;
  414. padding: 4px 7px;
  415. font-size: 11px;
  416. font-weight: 400;
  417. color: #fcfcfc;
  418. cursor: pointer;
  419. text-align: center;
  420. text-decoration: none;
  421. text-transform: uppercase;
  422. white-space: nowrap;
  423. letter-spacing: 0.05em;
  424. }
  425. a.header_button:hover{
  426. background-color: #606c76;
  427. border-color: #606c76;
  428. color: #fcfcfc;
  429. outline: 0;
  430. }
  431. /* parent: page_header */
  432. div.header_donate_strip{
  433. display:inline;
  434. float:right;
  435. }
  436. /* parent: header_donate_strip */
  437. form.header_paypal{
  438. display:inline;
  439. }
  440. /* parent: header_donate_strip */
  441. a.header_patreon{
  442. }
  443. a.header_patreon:hover{
  444. }
  445. /* parent: page_body */
  446. div.page_content{
  447. position:relative;
  448. top: 0;
  449. height: 100%;
  450. width: 100%;
  451. margin-top: 72px;
  452. }
  453. /* parent: page_content */
  454. div.post_content{
  455. position: static;
  456. padding:8px 24px;
  457. max-width: 840px;
  458. margin: 0 auto;
  459. clear: left;
  460. }
  461. /* parent: page_content */
  462. div.modules_content{
  463. width: 100%;
  464. height: calc(100% - 72px);
  465. position: relative;
  466. }
  467. /* parent: modules_content */
  468. div.modules_nav_wrapper{
  469. position:absolute;
  470. left:0;
  471. bottom: 0;
  472. width:249px;
  473. height:100%;
  474. padding:16px 12px;
  475. border-right:1px solid #d1d1d1;
  476. overflow:auto;
  477. -webkit-overflow-scrolling:touch;
  478. }
  479. /* parent: modules_nav_wrapper */
  480. div.modules_nav_tree{
  481. border:0;
  482. width:100%;
  483. }
  484. /* parent: modules_content */
  485. div.modules_docs_wrapper{
  486. position:absolute;
  487. left:250px;
  488. right:0;
  489. height:100%;
  490. padding:0;
  491. border:0;
  492. margin:0;
  493. overflow:auto;
  494. -webkit-overflow-scrolling:touch;
  495. }
  496. /* parent: modules_docs_wrapper */
  497. iframe.modules_docs_iframe{
  498. display:block;
  499. width:100%;
  500. height:100%;
  501. padding:0;
  502. border:0;
  503. margin:0;
  504. }
  505. /* parent: modules_docs_iframe */
  506. body.docs_body{
  507. width:100%;
  508. padding:12px 24px;
  509. }
  510. /* parent: docs_body */
  511. div.docs_content{
  512. }
  513. /* page styles */
  514. body.page-modules-reference {
  515. overflow: hidden;
  516. width:100%;
  517. height:100%;
  518. }
  519. body.page-language-reference {
  520. overflow: hidden;
  521. width:100%;
  522. height:100%;
  523. }
  524. body.forums.post_content {
  525. max-width: 1100px;
  526. }
  527. div.toc{
  528. display:none;
  529. }