123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257 |
- /*
- Colors:
- Blue color = #38608F
- Dark blue color = #153B62
- Gold color = #FCB316
- Grey color = #707174
- Red color = #C83737
- */
- *, *::before, *::after {
- font-family: inherit;
- color: inherit;
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- html {
- font-size: calc(1em + 0.33vw);
- font-family: PT Sans, sans-serif;
- line-height: 1.5;
- color: #111;
- }
- body {
- max-width: 30rem;
- margin: 0 auto;
- }
- * + * {
- margin-top: 2.25rem;
- }
- br,
- dt,
- dd,
- th,
- td,
- option,
- [hidden] + *,
- li + li {
- margin-top: 0;
- }
- p + p {
- margin-top: 0.75rem;
- }
- a {
- text-decoration: none;
- border-bottom: 1px solid;
- }
- img {
- max-width: 100%;
- }
- :focus:not([tabindex="-1"]) {
- outline: 2px solid;
- }
- /* fix for IE :( */
- div:not([tabindex]):focus {
- outline: none;
- }
- h1, h2, h3, h4 {
- font-family: Miriam Libre, serif;
- line-height: 1.125;
- }
- h1 {
- font-size: 2.25rem;
- }
- h2 {
- font-size: 1.66rem;
- }
- h3 {
- font-size: 1.25rem;
- }
- h4 {
- font-size: 1rem;
- font-family: PT Sans, sans-serif;
- }
- kbd {
- line-height: 1;
- font-size: 0.66rem;
- padding: 0.1rem 0.25rem;
- border-radius: 0.25rem;
- border: 2px solid;
- box-shadow: 0.125rem 0.125rem 0 #111;
- }
- code {
- font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
- font-size: 0.85rem;
- }
- /* Buttons */
- button {
- font-size: inherit;
- font-family: inherit;
- font-weight: inherit;
- }
- /* Tables */
- table {
- text-align: left;
- table-layout: fixed;
- width: 100%;
- border-collapse: collapse;
- }
- th, td {
- border: 2px solid;
- padding: 0.5rem;
- line-height: 1;
- margin: 0;
- }
- caption {
- font-size: 1.125rem;
- padding-bottom: 0.25rem;
- font-style: italic;
- }
- th:empty {
- border: 0;
- }
- /* Notes and warnings */
- .note {
- border-left: 0.5rem solid #FCB316;
- font-size: 0.85rem;
- }
- .note > div {
- margin-left: 0.75rem;
- }
- .note > div > img:first-child {
- height: 1.5rem;
- }
- .note.warning {
- border-color: #C83737;
- }
- .note > div > :first-child + * {
- margin-top: 0;
- }
- /* Code blocks */
- pre[class*=language-] {
- padding: 1rem;
- background: none;
- border: 0.125rem solid #eee;
- margin-top: 2.25rem;
- }
- pre[class*=language-][data-line] {
- padding: 1em 0 1em 2.25rem;
- }
- pre[class*=language-] code * {
- margin-top: 0 !important;
- }
- [data-codeblock-shortcode] {
- display: block;
- margin-top: -1rem;
- }
- .token.property,
- .token.tag,
- .token.boolean,
- .token.number,
- .token.constant,
- .token.symbol,
- .token.deleted {
- color: #38608F;
- }
- .token.selector,
- .token.attr-name,
- .token.string,
- .token.char,
- .token.builtin,
- .token.inserted {
- color: #EBA205;
- }
- .token.operator,
- .token.entity,
- .token.url,
- .language-css .token.string,
- .style .token.string {
- color: #a67f59;
- background: hsla(0, 0%, 100%, .5);
- }
- .token.atrule,
- .token.attr-value,
- .token.keyword {
- color: #07a;
- }
- .token.function {
- color: #375D84;
- }
- .line-numbers code {
- padding-left: 2.25rem;
- margin-top: -1rem;
- }
- .line-numbers {
- padding-bottom: 2.25rem !important;
- }
- .line-numbers .line-numbers-rows {
- margin-left: 2.25rem;
- top: 1.25rem;
- }
- /* Expandable sections */
- [data-expands] {
- text-align: left;
- border: 0;
- background: none;
- display: block;
- width: 100%;
- padding: 0;
- margin: 0;
- }
- [data-expands] svg {
- width: 1em;
- height: 1em;
- vertical-align: middle;
- }
- [data-expands][aria-expanded="true"] svg .up-strut {
- display: none;
- }
|