Skip to content

Commit 7089058

Browse files
committed
Merge pull request #700 from dart-lang/devoncarew_css
css tweaks
2 parents f72ae11 + de7fb3b commit 7089058

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

.analysis_options

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ analyzer:
55
- test_package/doc/api
66
- test_package_bad/
77
- doc/api/
8+
- pub.dartlang.org/

lib/resources/styles.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,11 @@ ol#sidebar {
475475
list-style: none;
476476
padding: 0;
477477
font-size: 14px;
478+
line-height: 24px;
479+
}
480+
481+
ol#sidebar li {
482+
text-overflow: ellipsis;
478483
overflow: hidden;
479484
}
480485

@@ -490,8 +495,8 @@ ol#sidebar li.section-title {
490495
}
491496

492497
ol#sidebar li:first-child {
493-
padding-top: 0px;
494-
margin-top: 0px;
498+
padding-top: 0;
499+
margin-top: 0;
495500
}
496501

497502
#sidenav-toggle {

lib/templates/_documentation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<section class="desc markdown">
22

33
{{^hasDocumentation}}
4-
<p class="no-docs">(Not documented.)</p>
4+
<p class="no-docs">Not documented.</p>
55
{{/hasDocumentation}}
66

77
{{{ documentationAsHtml }}}

lib/templates/_footer.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,18 @@
44
<div class="container-fluid">
55
<div class="container">
66
<p class="text-center">
7-
8-
<span class="copyright no-break">{{package.name}} {{package.version}}</span>
7+
<span class="no-break">
8+
{{package.name}} {{package.version}} api docs
9+
</span>
910
&bull;
1011
<span class="copyright no-break">
11-
<a href="https://www.dartlang.org"><img src="static-assets/favicon.png" alt="Dart" title="Dart"
12-
width="24" height="24"></a> API Docs
12+
<a href="https://www.dartlang.org">
13+
<img src="static-assets/favicon.png" alt="Dart" title="Dart"width="16" height="16">
14+
</a>
1315
</span>
1416
&bull;
1517
<span class="copyright no-break">
16-
<a href="http://creativecommons.org/licenses/by-sa/4.0/">cc license</a>
18+
<a href="http://creativecommons.org/licenses/by-sa/4.0/">cc license</a>
1719
</span>
1820
</p>
1921
</div>

0 commit comments

Comments
 (0)