Skip to content

Commit fe90b4c

Browse files
author
Lanny McNie
committed
Updated documentation styles
1 parent d03c44a commit fe90b4c

File tree

4 files changed

+32
-22
lines changed

4 files changed

+32
-22
lines changed

build/createjsTheme/assets/scss/elements/tags.scss

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -178,27 +178,27 @@ h2 {
178178

179179
h3 {
180180
@extend h1;
181+
font-size: $fontSize-smaller;
181182
font-weight: 400;
182183
text-transform: none;
183-
@include bp($bp_width-600, max-) {
184-
font-size: $fontSize-small;
185-
}
186-
@include bp($bp_width-600, min-) {
187-
font-size: $fontSize-default;
188-
}
184+
}
185+
186+
.args code,
187+
h3 code {
188+
font-family: "effra", sans-serif;
189+
}
190+
h3 code {
191+
font-weight: bold;
192+
}
193+
.paren {
194+
font-size: $fontSize-smaller;
195+
margin: auto 5px;
189196
}
190197

191198
h4 {
192-
@extend h1;
193199
font-variant: normal;
194-
//text-transform: uppercase;
195-
line-height: $gridUnit-large;
196-
@include bp($bp_width-600, max-) {
197-
font-size: $fontSize-small;
198-
}
199-
@include bp($bp_width-600, min-) {
200-
font-size: $fontSize-default;
201-
}
200+
line-height: $gridUnit-smallest;
201+
font-size: $fontSize-smaller;
202202
}
203203

204204
h5 {
@@ -284,7 +284,7 @@ hr {
284284

285285
code {
286286
@extend %fontSmoothing;
287-
font-size: $fontSize-smaller;
287+
//font-size: $fontSize-smaller;
288288
font-weight: 400;
289289
font-family: $fontFamily-monospace;
290290
}

build/createjsTheme/assets/scss/main.scss

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//*******************************************
22
//
3-
// TWEENJS DOCS
3+
// EASELJS DOCS
44
// - 2.0 skin
55
//
66
// 1) IMPORTS
@@ -38,17 +38,17 @@
3838
//
3939
//*******************************************
4040
.header {
41-
@extend %color_tweenjs-gradient;
41+
@extend %color_easeljs-gradient;
4242
}
4343
.yui3-skin-sam .yui3-tab-selected .yui3-tab-label,
4444
.yui3-skin-sam .yui3-tab-selected .yui3-tab-label:focus,
4545
.yui3-skin-sam .yui3-tab-selected .yui3-tab-label:hover {
4646
background: none !important;
4747
border: none !important;
48-
background-color: $color_tweenjs-default !important;
48+
background-color: $color_easeljs-default !important;
4949
}
5050
.yui3-skin-sam .yui3-tabview-list {
51-
border-bottom: 5px solid $color_tweenjs-default !important;
51+
border-bottom: 5px solid $color_easeljs-default !important;
5252
}
5353

5454

@@ -108,7 +108,7 @@ kbd,
108108
pre,
109109
samp {
110110
font-family: $fontFamily-monospace;
111-
font-size: $fontSize-smaller;
111+
font-size: $fontSize-smallest;
112112
line-height: $gridUnit-default;
113113
}
114114
p code,
@@ -523,6 +523,7 @@ specific tabview, see the other sections below.
523523
/* Comma-separated list. */
524524
.apidocs ul.commas li:after {
525525
content: ',';
526+
font-size: $fontSize-smaller;
526527
}
527528
.apidocs ul.commas li:last-child:after {
528529
content: '';
@@ -631,6 +632,9 @@ kbd .cmd {
631632
.apidocs .item pre.code {
632633
margin: 1em 0 0;
633634
}
635+
.apidocs .item .description {
636+
font-size: $fontSize-smaller;
637+
}
634638
.apidocs .item .meta {
635639
background: none;
636640
border: none;
@@ -665,6 +669,12 @@ kbd .cmd {
665669
.apidocs .param {
666670
margin-bottom: 1em;
667671
}
672+
.apidocs .param-description {
673+
font-size: $fontSize-smaller;
674+
code {
675+
font-size: $fontSize-smallest
676+
}
677+
}
668678
.apidocs .param .type,
669679
.apidocs .param .type a {
670680
color: $color_gray-default;
@@ -684,7 +694,7 @@ kbd .cmd {
684694
/* -- Item "Returns" block -------------------------------------------------- */
685695
.apidocs .item .returns .type,
686696
.apidocs .item .returns .type a {
687-
font-size: 100%;
697+
font-size: 11px;
688698
margin: 0;
689699
}
690700
/* -- Class Constructor block ----------------------------------------------- */

docs/TweenJS_docs-0.6.0.zip

-3.59 KB
Binary file not shown.

docs/TweenJS_docs-NEXT.zip

-96 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)