element.css 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566
  1. html {
  2. text-size-adjust: 100%;
  3. color: #24292e;
  4. font-family: Helvetica, Arial, sans-serif;
  5. font-size: 16px;
  6. line-height: 1.5;
  7. word-wrap: break-word;
  8. }
  9. a {
  10. background-color: transparent;
  11. text-decoration-skip: objects;
  12. }
  13. a:active,
  14. a:hover {
  15. outline-width: 0;
  16. }
  17. strong {
  18. font-weight: inherit;
  19. }
  20. strong {
  21. font-weight: bolder;
  22. }
  23. h1 {
  24. font-size: 2em;
  25. margin: 0.67em 0;
  26. }
  27. img {
  28. border-style: none;
  29. }
  30. svg:not(:root) {
  31. overflow: hidden;
  32. }
  33. code,
  34. kbd,
  35. xmp {
  36. font-family: monospace;
  37. font-size: 1em;
  38. }
  39. hr {
  40. box-sizing: content-box;
  41. height: 0;
  42. overflow: visible;
  43. }
  44. input {
  45. font: inherit;
  46. margin: 0;
  47. }
  48. input {
  49. overflow: visible;
  50. }
  51. [type="checkbox"] {
  52. box-sizing: border-box;
  53. padding: 0;
  54. }
  55. * {
  56. box-sizing: border-box;
  57. }
  58. input {
  59. font-family: inherit;
  60. font-size: inherit;
  61. line-height: inherit;
  62. }
  63. a {
  64. color: #0366d6;
  65. text-decoration: none;
  66. }
  67. a:hover {
  68. text-decoration: underline;
  69. }
  70. strong {
  71. font-weight: 600;
  72. }
  73. hr {
  74. height: 0;
  75. margin: 15px 0;
  76. overflow: hidden;
  77. background: transparent;
  78. border: 0;
  79. border-bottom: 1px solid #dfe2e5;
  80. }
  81. hr::before {
  82. display: table;
  83. content: "";
  84. }
  85. hr::after {
  86. display: table;
  87. clear: both;
  88. content: "";
  89. }
  90. td,
  91. th {
  92. padding: 0;
  93. }
  94. h1,
  95. h2,
  96. h3,
  97. h4,
  98. h5,
  99. h6 {
  100. margin-top: 24px;
  101. margin-bottom: 16px;
  102. font-weight: 600;
  103. line-height: 1.25;
  104. }
  105. h1 {
  106. padding-bottom: 0.3em;
  107. font-size: 2em;
  108. border-bottom: 1px solid #eaecef;
  109. }
  110. h2 {
  111. padding-bottom: 0.3em;
  112. font-size: 1.5em;
  113. border-bottom: 1px solid #eaecef;
  114. }
  115. h3 {
  116. font-size: 1.25em;
  117. }
  118. h4 {
  119. font-size: 1em;
  120. }
  121. h5 {
  122. font-size: 0.875em;
  123. }
  124. h6 {
  125. font-size: 0.85em;
  126. color: #6a737d;
  127. }
  128. p {
  129. margin-top: 0;
  130. margin-bottom: 10px;
  131. }
  132. blockquote {
  133. margin: 0;
  134. }
  135. ul,
  136. ol {
  137. padding-left: 0;
  138. margin-top: 0;
  139. margin-bottom: 0;
  140. }
  141. ol ol,
  142. ul ol {
  143. list-style-type: lower-roman;
  144. }
  145. ul ul ol,
  146. ul ol ol,
  147. ol ul ol,
  148. ol ol ol {
  149. list-style-type: lower-alpha;
  150. }
  151. dd {
  152. margin-left: 0;
  153. }
  154. code, xmp {
  155. font-family: monospace;
  156. font-size: 12px;
  157. }
  158. .repo-config-option:not(:checked) ~ .time-remaining {
  159. display: none;
  160. }
  161. .pl-0 {
  162. padding-left: 0 !important;
  163. }
  164. .pl-1 {
  165. padding-left: 4px !important;
  166. }
  167. .pl-2 {
  168. padding-left: 8px !important;
  169. }
  170. .pl-3 {
  171. padding-left: 16px !important;
  172. }
  173. .pl-4 {
  174. padding-left: 24px !important;
  175. }
  176. .pl-5 {
  177. padding-left: 32px !important;
  178. }
  179. .pl-6 {
  180. padding-left: 40px !important;
  181. }
  182. .element::before {
  183. display: table;
  184. content: "";
  185. }
  186. .element::after {
  187. display: table;
  188. clear: both;
  189. content: "";
  190. }
  191. .element>*:first-child {
  192. margin-top: 0 !important;
  193. }
  194. .element>*:last-child {
  195. margin-bottom: 0 !important;
  196. }
  197. a:not([href]) {
  198. color: inherit;
  199. text-decoration: none;
  200. }
  201. p,
  202. blockquote,
  203. ul,
  204. ol,
  205. dl,
  206. table {
  207. margin-top: 0;
  208. margin-bottom: 16px;
  209. }
  210. hr {
  211. height: 0.25em;
  212. padding: 0;
  213. margin: 24px 0;
  214. background-color: #e1e4e8;
  215. border: 0;
  216. }
  217. blockquote {
  218. padding: 0 1em;
  219. color: #6a737d;
  220. border-left: 0.25em solid #dfe2e5;
  221. }
  222. blockquote>:first-child {
  223. margin-top: 0;
  224. }
  225. blockquote>:last-child {
  226. margin-bottom: 0;
  227. }
  228. kbd {
  229. display: inline-block;
  230. padding: 3px 5px;
  231. font-size: 11px;
  232. line-height: 10px;
  233. color: #444d56;
  234. vertical-align: middle;
  235. background-color: #fafbfc;
  236. border: solid 1px #c6cbd1;
  237. border-bottom-color: #959da5;
  238. border-radius: 3px;
  239. box-shadow: inset 0 -1px 0 #959da5;
  240. }
  241. ul,
  242. ol {
  243. padding-left: 2em;
  244. }
  245. ul ul,
  246. ul ol,
  247. ol ol,
  248. ol ul {
  249. margin-top: 0;
  250. margin-bottom: 0;
  251. }
  252. li>p {
  253. margin-top: 16px;
  254. }
  255. dl {
  256. padding: 0;
  257. }
  258. dl dt {
  259. padding: 0;
  260. margin-top: 16px;
  261. font-size: 1em;
  262. font-style: italic;
  263. font-weight: 600;
  264. }
  265. dl dd {
  266. padding: 0 16px;
  267. margin-bottom: 16px;
  268. }
  269. table {
  270. border-spacing: 0;
  271. border-collapse: collapse;
  272. width: 100%;
  273. overflow: auto;
  274. margin-left:auto;
  275. margin-right:auto;
  276. }
  277. table th {
  278. font-weight: 600;
  279. }
  280. table th,
  281. table td {
  282. padding: 6px 13px;
  283. border: 1px solid #dfe2e5;
  284. }
  285. table tr {
  286. background-color: #fff;
  287. border-top: 1px solid #c6cbd1;
  288. }
  289. table tr:nth-child(2n) {
  290. background-color: #f6f8fa;
  291. }
  292. img {
  293. max-width: 100%;
  294. box-sizing: content-box;
  295. }
  296. code, xmp {
  297. padding: 0;
  298. padding-top: 0.2em;
  299. padding-bottom: 0.2em;
  300. margin: 0;
  301. font-size: 85%;
  302. background-color: rgba(27,31,35,0.05);
  303. border-radius: 3px;
  304. }
  305. code::before,
  306. code::after {
  307. letter-spacing: -0.2em;
  308. content: "\00a0";
  309. }
  310. .full-commit .btn-outline:not(:disabled):hover {
  311. color: #005cc5;
  312. border-color: #005cc5;
  313. }
  314. kbd {
  315. display: inline-block;
  316. padding: 3px 5px;
  317. font: 11px monospace;
  318. line-height: 10px;
  319. color: #444d56;
  320. vertical-align: middle;
  321. background-color: #fcfcfc;
  322. border: solid 1px #c6cbd1;
  323. border-bottom-color: #959da5;
  324. border-radius: 3px;
  325. box-shadow: inset 0 -1px 0 #959da5;
  326. }
  327. :checked+.radio-label {
  328. position: relative;
  329. z-index: 1;
  330. border-color: #0366d6;
  331. }
  332. .task-list-item {
  333. list-style-type: none;
  334. }
  335. .task-list-item+.task-list-item {
  336. margin-top: 3px;
  337. }
  338. .task-list-item input {
  339. margin: 0 0.2em 0.25em -1.6em;
  340. vertical-align: middle;
  341. }
  342. hr {
  343. border-bottom-color: #eee;
  344. }
  345. body {
  346. box-sizing: border-box;
  347. min-width: 200px;
  348. max-width: 980px;
  349. margin: 0 auto;
  350. padding: 45px;
  351. position: relative;
  352. padding-bottom: 200px;
  353. }
  354. body:last-child {
  355. margin-bottom: 50px;
  356. }
  357. header {
  358. margin-bottom: 1.0em;
  359. }
  360. header h1 {
  361. margin: 0px;
  362. padding: 0px;
  363. /* font-size: 3em; */
  364. font-size: 7vmin;
  365. border-bottom: none;
  366. }
  367. code, xmp {
  368. margin-bottom: 20px;
  369. padding-left: 20px;
  370. white-space: pre;
  371. display: block;
  372. color: #FFFFFF;
  373. background: #000000;
  374. word-wrap: break-word;
  375. overflow: auto;
  376. }
  377. g-row {
  378. display: block
  379. }
  380. g-col {
  381. display: inline
  382. }
  383. @media (min-width: 50em) {
  384. g-row {
  385. width: 100%;
  386. display: table;
  387. table-layout: fixed;
  388. }
  389. g-col {
  390. display: table-cell;
  391. padding-right: 2%;
  392. }
  393. g-col:last-child {
  394. padding-left: 2%;
  395. padding-right: 0;
  396. }
  397. }
  398. label {
  399. display: block;
  400. margin-bottom: 3px;
  401. }
  402. label>input[type=checkbox] {
  403. margin-top: 10px;
  404. margin-bottom: 15px;
  405. }
  406. label>input[type=radio] {
  407. margin-top: 10px;
  408. margin-bottom: 10px;
  409. }
  410. input:not([type]), input[type=password], input[type=email], input[type=url], input[type=date], input[type=month], input[type=time], input[type=datetime], input[type=datetime-local], input[type=week], input[type=tel], input[type=color], input[type=number], input[type=search], input[type=text], select, textarea {
  411. display: block;
  412. margin-bottom: 10px;
  413. padding: .3em;
  414. display: inline-block;
  415. border: 1px solid #ccc;
  416. box-shadow: inset 0 1px 3px #ddd;
  417. border-radius: 4px;
  418. vertical-align: middle;
  419. box-sizing: border-box;
  420. }
  421. input:not([type]):focus, input[type=password]:focus, input[type=email]:focus, input[type=url]:focus, input[type=date]:focus, input[type=month]:focus, input[type=time]:focus, input[type=datetime]:focus, input[type=datetime-local]:focus, input[type=week]:focus, input[type=tel]:focus, input[type=color]:focus, input[type=number]:focus, input[type=search]:focus, input[type=text]:focus, select:focus, textarea:focus {
  422. outline: 0;
  423. border-color: #129FEA;
  424. }
  425. select {
  426. display: block;
  427. margin-bottom: 10px;
  428. height: 2.25em;
  429. border: 1px solid #ccc;
  430. background-color: #fff;
  431. }
  432. button {
  433. background-color: #0078e7;
  434. color: #fff;
  435. margin-top: 10px;
  436. margin-bottom: 15px;
  437. padding: .5em 1em;
  438. text-decoration: none;
  439. border-radius: 2px;
  440. border: transparent;
  441. }
  442. footer {
  443. color: #636c72!important;
  444. position: absolute;
  445. right: 0;
  446. bottom: 0;
  447. left: 0;
  448. padding-top: 1rem;
  449. background-color: #efefef;
  450. text-align: center;
  451. }
  452. html {
  453. height: 100%;
  454. box-sizing: border-box;
  455. }
  456. p>code {
  457. padding: 0;
  458. margin: 0;
  459. font-size: 85%;
  460. border-radius: 3px;
  461. display: inline-block;
  462. background-color: grey;
  463. word-break: keep-all;
  464. vertical-align: middle;
  465. }
  466. @viewport {
  467. zoom: 1.0;
  468. width: extend-to-zoom;
  469. }