123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
- @font-face {
- font-family: 'RobotoMono';
- src: local('RobotoMono'), 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 {
- margin: 78px auto;
- padding: 0px 24px;
- max-width: 780px;
- color: #555;
- font-family: 'SF-Pro-Text', sans-serif;
- font-size: 16px;
- line-height: 23px;
- tab-size: 4;
- overflow: auto;
- }
- a {
- color: #1184CE;
- cursor: pointer;
- text-decoration: underline;
- }
- h1 {
- color: #049EF4;
- font-size: 32px;
- font-weight: normal;
- line-height: 42px;
- }
- h2 {
- color: #4B0;
- font-size: 22px;
- font-weight: normal;
- line-height: 31px;
- }
- h3 {
- color: #000;
- font-size: 16px;
- font-weight: normal;
- margin-top: 40px;
- }
- p, ul, ol {
- margin-top: 0;
- margin-bottom: 20px;
- max-width: 780px;
- }
- div {
- /* padding-left: 30px; */
- margin-bottom: 20px;
- }
- .desc {
- padding-left: 0px;
- }
- pre, code {
- margin-top: 20px;
- margin-bottom: 20px;
- }
- code {
- display: block;
- padding: 20px;
- white-space: pre-wrap;
- background-color: #f9f9f9;
- overflow: auto;
- }
- 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: 16px;
- right: 16px;
- padding: 8px;
- border-radius: 50%;
- margin-bottom: 0px; /* TODO div sets it to 20px */
- background-color: #dddddd;
- opacity: 0.4;
- }
- #button:hover {
- cursor: pointer;
- opacity: 1;
- }
- #button img {
- display: block;
- }
- 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 {
- margin: 14px auto;
- padding: 0px 14px;
- font-size: 14px;
- line-height: 22px;
- }
- h1 {
- font-size: 26px;
- }
- h2 {
- font-size: 18px;
- line-height: 25px;
- }
- }
|