File tree Expand file tree Collapse file tree 1 file changed +17
-9
lines changed
packages/doxdox-renderer-bootstrap/src Expand file tree Collapse file tree 1 file changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ const renderFileNav = (file: File) => `<p><a href="#${
7272${ file . methods
7373 . map (
7474 method =>
75- `<li><a href="#${ method . slug } " class="${
75+ `<li class="method-name" ><a href="#${ method . slug } " class="${
7676 method . private ? 'text-muted' : ''
7777 } ">${ method . name } </a></li>`
7878 )
@@ -107,25 +107,33 @@ export default async (doc: Doc): Promise<string> => `<!DOCTYPE html>
107107 font-size: 3.5rem;
108108 }
109109
110+ .pkg-name a {
111+ text-decoration: none;
112+ }
113+
110114 .pkg-description {
111115 font-size: 1.5rem;
112116 font-weight: 200;
113117 }
114118
115- .file-name {
119+ nav .file-name {
116120 color: #E54D89;
117121 }
118122
119- .method-name {
123+ nav .method-name {
124+ margin: 0.25rem 0;
125+ }
126+
127+ main .method-name {
120128 position: relative;
121129 }
122130
123- .method-scope {
131+ main .method-scope {
124132 font-size: 1.5rem;
125133 color: #999;
126134 }
127135
128- .method-permalink {
136+ main .method-permalink {
129137 position: absolute;
130138 margin-left: -1em;
131139 font-weight: normal;
@@ -153,19 +161,19 @@ export default async (doc: Doc): Promise<string> => `<!DOCTYPE html>
153161
154162 <div class="container">
155163 <div class="row">
156- <div class="p-5 col-md-3">
164+ <nav class="p-5 col-md-3">
157165 ${ doc . files
158166 . filter ( file => file . methods . length )
159167 . map ( file => renderFileNav ( file ) )
160168 . join ( '' ) }
161- </div >
169+ </nav >
162170
163- <div class="p-5 col-md-9">
171+ <main class="p-5 col-md-9">
164172 ${ doc . files
165173 . filter ( file => file . methods . length )
166174 . map ( file => renderFile ( file ) )
167175 . join ( '' ) }
168- </div >
176+ </main >
169177 </div>
170178 </div>
171179
You can’t perform that action at this time.
0 commit comments