123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291 |
- @import url('https://fonts.googleapis.com/css?family=Roboto+Mono|Source+Sans+Pro:300,400,600');
- body {
- letter-spacing: 0;
- color: #34495e;
- font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
- font-size: 15px;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- color: #34495e;
- background-color: #fff;
- margin: 0;
- }
- /* LANGS.md index page */
- .book-langs-index {
- font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
- }
- .book-langs-index .inner .languages {
- padding: 20px 0px;
- }
- .book-langs-index .inner .languages li {
- float: none;
- }
- li a {
- color: #42b983;
- font-weight: 600;
- }
- /* set correct fonts on sidebar and main page */
- .book .book-body .page-wrapper .page-inner section.normal, .book-summary { font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif; }
- /* sidebar */
- .book-summary ul.summary li a,
- .book-summary ul.summary li span {
- color: #7f8c8d;
- font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
- }
- .book .book-summary ul.summary li span {
- opacity: 0.6;
- cursor: not-allowed;
- }
- .book-summary ul.summary li.active>a {
- color: #42b983;
- font-weight: 600;
- }
- #book-search-input { background-color: #fafafa; }
- .book-summary { background-color: #fff; }
- /* markdown content found on pages */
- .markdown-section h1,
- .markdown-section h2,
- .markdown-section h3,
- .markdown-section h4,
- .markdown-section strong {
- font-weight: 600;
- color: #2c3e50;
- }
- .markdown-section a {
- color: #42b983;
- font-weight: 600;
- }
- .markdown-section p,
- .markdown-section ul,
- .markdown-section ol {
- word-spacing: 0.05em;
- }
- .markdown-section em {
- color: #7f8c8d;
- }
- .markdown-section pre {
- padding: 1.2em 1.4em;
- line-height: 1.5em;
- margin: 0;
- }
- .markdown-section code, .markdown-section pre {
- font-family: 'Roboto Mono', Monaco, courier, monospace;
- -webkit-font-smoothing: initial;
- -moz-osx-font-smoothing: initial;
- background-color: #f8f8f8;
- }
- code span.css,
- code span.javascript,
- code span.html,
- span[class^="hljs-"] {
- -webkit-font-smoothing: initial;
- -moz-osx-font-smoothing: initial;
- }
- .markdown-section pre>code {
- font-size: 0.8em;
- display: block;
- }
- .markdown-section code:after, .markdown-section code:before {
- content: none;
- letter-spacing: 0.05em;
- }
- code, pre {
- font-family: 'Roboto Mono', Monaco, courier, monospace;
- font-size: 0.8em;
- background-color: #f8f8f8;
- -webkit-font-smoothing: initial;
- -moz-osx-font-smoothing: initial;
- }
- code {
- color: #e96900;
- padding: 3px 5px;
- margin: 0 2px;
- border-radius: 2px;
- white-space: nowrap;
- }
- code .token {
- min-height: 1.5em;
- -webkit-font-smoothing: initial;
- -moz-osx-font-smoothing: initial;
- }
- pre code { position: relative; }
- pre code.lang-html:after,
- pre code.lang-js:after,
- pre code.lang-bash:after,
- pre code.lang-css:after {
- position: absolute;
- top: 0;
- right: 0;
- color: #ccc;
- text-align: right;
- font-size: 0.75em;
- padding: 5px 10px 0;
- line-height: 15px;
- height: 15px;
- font-weight: 600;
- }
- pre code.lang-html:after {
- content: 'HTML';
- }
- pre code.lang-js:after {
- content: 'JS';
- }
- pre code.lang-bash:after {
- content: 'Shell';
- }
- pre code.lang-css:after {
- content: 'CSS';
- }
- .content img {
- max-width: 100%;
- }
- .content span.light {
- color: #7f8c8d;
- }
- .content span.info {
- font-size: 0.85em;
- display: inline-block;
- vertical-align: middle;
- width: 280px;
- margin-left: 20px;
- }
- .markdown-section h1 {
- margin: 0 0 1em;
- }
- .markdown-section h2 {
- margin: 45px 0 0.8em;
- padding-bottom: 0.7em;
- border-bottom: 1px solid #ddd;
- }
- .markdown-section h3 {
- margin: 52px 0 1.2em;
- }
- .markdown-section figure,
- .markdown-section p,
- .markdown-section ul,
- .markdown-section ol {
- margin: 1.2em 0;
- }
- .markdown-section p,
- .markdown-section ul,
- .markdown-section ol {
- line-height: 1.6em;
- }
- .markdown-section ul,
- .markdown-section ol {
- padding-left: 1.5em;
- }
- .markdown-section a {
- color: #42b983;
- font-weight: 600;
- }
- .markdown-section blockquote {
- margin: 2em 0;
- padding-left: 20px;
- border-left: 4px solid #42b983;
- }
- .markdown-section blockquote p {
- font-weight: 600;
- margin-left: 0;
- }
- .markdown-section iframe {
- margin: 1em 0;
- }
- /* these aren't in gitbook at the moment, but leaving them in for future reference */
- img {
- border: none;
- }
- .highlight {
- overflow-x: auto;
- position: relative;
- padding: 0;
- background-color: #f8f8f8;
- padding: 0.8em 0.8em 0.4em;
- line-height: 1.1em;
- border-radius: 2px;
- }
- .highlight table,
- .highlight tr,
- .highlight td {
- width: 100%;
- border-collapse: collapse;
- padding: 0;
- margin: 0;
- }
- .highlight .gutter {
- width: 1.5em;
- }
- /* ads */
- #carbonads {
- height: 100px;
- margin: 15px;
- font-size: 13px;
- }
- #carbonads .carbon-img {
- float: left;
- margin-right: 10px;
- }
- #carbonads .carbon-text {
- color: #444;
- }
- #carbonads .carbon-poweredby {
- color: #999;
- display: block;
- margin-top: 5px;
- }
- .bsa-cpc {
- font-size: .9em;
- background-color: #f8f8f8;
- max-width: 770px;
- margin: 0px auto;
- }
- .bsa-cpc a._default_ {
- text-align: left;
- display: block;
- padding: 10px 15px 12px;
- margin-bottom: 20px;
- color: #666;
- font-weight: 400;
- line-height: 18px;
- }
- .bsa-cpc a._default_ .default-image,
- .bsa-cpc a._default_ .default-title,
- .bsa-cpc a._default_ .default-description {
- display: inline;
- vertical-align: middle;
- margin-right: 6px;
- }
- .bsa-cpc a._default_ .default-image img {
- height: 20px;
- border-radius: 3px;
- vertical-align: middle;
- position: relative;
- top: -1px;
- }
- .bsa-cpc a._default_ .default-title {
- font-weight: 600;
- }
- .bsa-cpc a._default_ .default-description:after {
- font-size: 0.85em;
- content: "Sponsored";
- color: #1C90F3;
- border: 1px solid #1C90F3;
- border-radius: 3px;
- padding: 0 4px 1px;
- margin-left: 6px;
- }
- .bsa-cpc .default-ad {
- display: none;
- }
|