123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234 |
- :root {
- --color-blue: #049EF4;
- --text-color: #444;
- --border-style: 1px solid #EEE;
- --header-height: 56px;
- }
- @font-face {
- font-family: 'Roboto Mono';
- src: local('Roboto Mono'), url('../files/RobotoMono-Regular.woff2') format('woff2');
- font-weight: normal;
- font-style: normal;
- }
- @font-face {
- font-family: 'SF-Pro-Text';
- src: local('SF-Pro-Text'), url('../files/SF-Pro-Text-Regular.otf');
- font-weight: normal;
- font-style: normal;
- }
- body {
- padding: 20px 24px 40px 24px;
- margin: 0;
- color: var(--text-color);
- font-family: 'SF-Pro-Text', sans-serif;
- font-size: 16px;
- line-height: 24px;
- tab-size: 4;
- overflow: auto;
- }
- a {
- color: var(--color-blue);
- cursor: pointer;
- text-decoration: none;
- }
- h1 {
- color: var(--color-blue);
- font-size: 2.4em;
- font-weight: normal;
- line-height: 1.36em;
- margin-top: 16px;
- margin-bottom: -16px;
- text-indent: -2px;
- }
- h2 {
- color: var(--color-blue);
- font-size: 1.8em;
- line-height: 1.32em;
- font-weight: normal;
- margin-top: 40px;
- margin-bottom: 12px;
- text-indent: -1px;
- }
- h3 {
- font-size: 1.32em;
- line-height: 1.48em;
- font-weight: normal;
- text-indent: -1px;
- margin-top: 24px;
- margin-bottom: 12px;
- }
- p {
- margin-top: 24px;
- margin-bottom: 24px;
- }
- ul, ol {
- box-sizing: border-box;
- padding-left: 20px;
- }
- ul li,
- ol li {
- padding-left: 4px;
- margin-bottom: 4px;
- }
- li ul,
- li ol {
- margin-top: 4px;
- }
- body {
- max-width: 760px;
- margin-left: auto;
- margin-right: auto;
- }
- table,
- pre,
- code:not(.inline) {
- margin-left: -24px;
- margin-right: -24px;
- margin-top: 20px;
- margin-bottom: 20px;
- }
- div {
- margin-bottom: 20px;
- }
- .desc {
- padding-left: 0px;
- }
- br {
- display: none;
- }
- table {
- border-spacing: 24px 4px;
- }
- table,
- table tr,
- table td {
- text-align: left;
- }
- table th {
- text-decoration: none;
- padding: 2px 0;
- }
- code {
- display: block;
- padding: 20px 24px;
- white-space: pre-wrap;
- overflow: auto;
- box-sizing: border-box;
- }
- code.inline {
- display: inline-block;
- vertical-align: middle;
- border-radius: 4px;
- padding: 2px 5px;
- }
- iframe {
- width: 100%;
- height: 420px;
- border:0;
- }
- th {
- padding: 10px;
- text-decoration: underline;
- }
- td {
- text-align: center;
- }
- table code {
- padding: 2px;
- margin: 0px;
- width: auto;
- }
- strong {
- color: #000;
- font-weight: normal;
- }
- #button {
- position: fixed;
- bottom: 12px;
- right: 12px;
- padding: 8px;
- border-radius: 50%;
- margin-bottom: 0px;
- background-color: #E5E5E5;
- opacity: .9;
- }
- #button:hover {
- cursor: pointer;
- opacity: 1;
- }
- #button img {
- display: block;
- width: 20px;
- }
- a.permalink {
- float: right;
- margin-left: 5px;
- }
- a.param,
- span.param {
- color: #999;
- }
- a.param:hover {
- color: #777;
- }
- sup, sub {
- /* prevent superscript and subscript elements from affecting line-height */
- vertical-align: baseline;
- position: relative;
- top: -0.4em;
- }
- sub {
- top: 0.4em;
- }
- /* mobile */
- @media all and ( max-width: 640px ) {
- body {
- padding: 16px 20px;
- }
- h1 {
- margin-top: 0;
- font-size: 26px;
- }
- h2 {
- margin-top: 20px;
- font-size: 18px;
- line-height: 25px;
- }
- }
|