| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- ._jquery {
- //
- // Index page
- //
- h2.entry-title {
- margin: 0 0 1.5rem;
- font-size: 1rem;
- font-weight: normal;
- }
- .entry-summary {
- margin: -1rem 0 1.5rem;
- padding-right: 1.5rem;
- }
- .post:not(:only-of-type),
- .page:not(:only-of-type) {
- width: 50%;
- float: left;
- &:nth-of-type(2n+1) { clear: both; }
- }
- //
- // Article page
- //
- // Table of contents
- .toc > h4 { font-size: inherit; }
- .toc-list {
- margin-top: 0;
- font-weight: var(--boldFontWeight);
- > li + li { margin-top: 1em; }
- > li > ul { font-weight: normal; }
- > li > ul > li + li { margin-top: 0; }
- }
- // Headings
- .section-title, .entry-wrapper > h3, .underline { @extend %block-heading; }
- .name > .version-details,
- .section-title > .version-details,
- .returns,
- .option-type {
- float: right;
- font-weight: var(--boldFontWeight);
- margin-left: 1em;
- }
- // Method signatures
- .signatures {
- padding: 0;
- list-style: none;
- }
- .signature {
- + .signature { margin-top: 1em; }
- > .name {
- margin-top: 1em;
- @extend %block-label, %label-blue;
- }
- > ul {
- padding-left: 1em;
- list-style: none;
- > li + li { margin-top: 1em; }
- > li > ul { list-style-type: disc; }
- }
- }
- // Examples
- .entry-example {
- > h4 {
- margin: 2em 0 1.5em;
- line-height: inherit;
- font-size: inherit;
- font-weight: normal;
- }
- }
- // Quick nav (jQuery UI)
- #quick-nav {
- margin-bottom: 2em;
- max-width: 38em;
- overflow: hidden;
- @extend %note, %note-blue;
- > h2 {
- margin: .25rem 0 1rem;
- font-size: 1rem;
- > a { float: right; }
- }
- }
- .quick-nav-section {
- width: 33%;
- float: left;
- > h3 {
- margin: 0 0 .5em;
- font-size: inherit;
- }
- }
- // Options (jQuery UI)
- .api-item {
- padding-left: 1rem;
- > h3 {
- margin-left: -1rem;
- @extend %block-label, %label-blue;
- }
- }
- // Misc
- p > code, li > code { @extend %label; }
- .warning { @extend %note; }
- .name > a,
- .version-details > a {
- color: inherit;
- @extend %internal-link;
- }
- }
|