Skip to content

Commit 77b2f9b

Browse files
jsdoc样式优化
1 parent 2a0bf2a commit 77b2f9b

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

build/jsdocs/template/static/styles/jaguar.css

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,10 @@ li {
150150
}
151151

152152
.main h2 {
153-
font-size: 2.5em;
153+
font-size: 2.25em;
154154
margin: 0;
155155
margin-bottom: 10px;
156+
font-weight: bold;
156157
}
157158

158159
.main h3 {
@@ -236,7 +237,7 @@ li {
236237

237238
.main .subsection-title {
238239
font-size: 1.75rem;
239-
margin-top: 32px;
240+
margin-top: 36px;
240241
margin-bottom: 12px;
241242
}
242243

@@ -506,14 +507,21 @@ footer {
506507
}
507508
}
508509

509-
.main .container-overview h5 {
510+
.main .container-overview h5{
510511
font-size: 1.75rem;
511-
margin-top: 32px;
512+
margin-top: 36px;
512513
margin-bottom: 20px;
514+
font-weight: normal;
513515
}
514516

515517
.main .container-overview .nameContainer {
516518
position: relative;
517519
padding-top: 0;
518520
border-top: 0;
521+
}
522+
523+
.main .details h5{
524+
font-size: 13px;
525+
margin-top: 14px;
526+
margin-bottom: 14px;
519527
}

build/jsdocs/template/tmpl/method.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ var self = this;
5151
<?js= this.partial('details.tmpl', data) ?>
5252

5353
<?js if (data.fires && fires.length) { ?>
54-
<h5>Fires:</h5>
54+
<h5>Fires</h5>
5555
<ul><?js fires.forEach(function(f) { ?>
5656
<li><?js= self.linkto(f) ?></li>
5757
<?js }); ?></ul>

0 commit comments

Comments
 (0)