Skip to content

Instantly share code, notes, and snippets.

@qrg
Last active December 11, 2018 01:54
Show Gist options
  • Select an option

  • Save qrg/ebde7fb9a01c2a822d263bc8e1f08282 to your computer and use it in GitHub Desktop.

Select an option

Save qrg/ebde7fb9a01c2a822d263bc8e1f08282 to your computer and use it in GitHub Desktop.
devdocs.io custom style
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i|Roboto:400,700');
html {
background: none;
}
body {
background: none;
font-size: 16px;
}
body,
h1, h2, h3, h4, h5, h6,
._search-tag {
font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
}
._content {
font-size: inherit;
font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}
._page {
max-width: 50em;
margin-left: auto;
margin-right: auto;
padding-top: 2rem;
}
._content p {
max-width: 60em;
}
._lined-heading:after, ._page>h1:after, ._php h1:after {
display: none;
}
._page h1 {
font-size: 3rem;
}
._page h2,
._page h3,
._page h4,
._page h5,
._page h6 {
padding: 0;
overflow: auto;
color: inherit;
background: none;
border: none;
border-radius: 0;
line-height: inherit;
}
._page h2 {
margin: 1.4em 0 .4em;
padding-top: .4em;
font-size: 2.4rem;
border-top: 1px solid #aaa;
}
._page h3 {
font-size: 2rem;
}
._page dt {
font-size: 1.1em;
font-weight: bold;
}
._page dd {
margin-top: 0;
margin-left: 0;
padding-left: 0;
}
._page dd+dt {
margin-top: 1.2em;
}
._page .syntaxbox,
pre, ._redis>.example, ._toc, ._docs-links, ._bootstrap a.thumbnail {
padding: 1rem;
border-width: 0;
border-radius: 0;
}
pre, code, samp, ._redis>.example, ._code, ._crystal .signature, ._d .d_decl, ._haskell-api .src, ._ramda code, ._rfc-pre {
font-weight: inherit;
font-style: inherit;
}
._highlight,
._highlight th,
._highlight td {
background-color: yellow !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment