1
0
mirror of https://github.com/golang/go synced 2024-11-22 01:04:40 -07:00

cleanup style:

- consistently remove all underbars from links
- this removes need for noline style
- removed unused info style

R=r, rsc
http://go/go-review/1025032
This commit is contained in:
Robert Griesemer 2009-11-09 16:19:38 -08:00
parent 0b4de7aa8a
commit c110269579
5 changed files with 32 additions and 36 deletions

View File

@ -7,6 +7,10 @@
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */
/* Styles meant to help page authors achieve beauty. */ /* Styles meant to help page authors achieve beauty. */
a {
text-decoration: none;
}
code, .code { code, .code {
font-size: 100%; font-size: 100%;
font-family: monospace; font-family: monospace;
@ -179,14 +183,6 @@ div#linkList li.navhead {
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */
/* Styles used by godoc */ /* Styles used by godoc */
a.noline {
text-decoration: none;
}
a.info {
text-decoration: none;
}
table.layout { table.layout {
border-width: 0px; border-width: 0px;
border-spacing: 0px; border-spacing: 0px;

View File

@ -14,11 +14,11 @@
<th align="left">Modified</th> <th align="left">Modified</th>
</tr> </tr>
<tr> <tr>
<td><a href=".." class="noline">..</a></td> <td><a href="..">..</a></td>
</tr> </tr>
{.repeated section @} {.repeated section @}
<tr> <tr>
<td align="left"><a href="{Name|html}" class="noline">{Name|html}</a></td> <td align="left"><a href="{Name|html}">{Name|html}</a></td>
<td></td> <td></td>
<td align="right">{Size|html}</td> <td align="right">{Size|html}</td>
<td></td> <td></td>

View File

@ -75,34 +75,34 @@
<div id="linkList"> <div id="linkList">
<ul> <ul>
<li class="navhead"><a href="/" class="noline">Home</a></li> <li class="navhead"><a href="/">Home</a></li>
<li class="blank">&nbsp;</li> <li class="blank">&nbsp;</li>
<li class="navhead">Documents</li> <li class="navhead">Documents</li>
<li><a href="/doc/go_tutorial.html" class="noline">Tutorial</a></li> <li><a href="/doc/go_tutorial.html">Tutorial</a></li>
<li><a href="/doc/effective_go.html" class="noline">Effective Go</a></li> <li><a href="/doc/effective_go.html">Effective Go</a></li>
<li><a href="/doc/go_faq.html" class="noline">FAQ</a></li> <li><a href="/doc/go_faq.html">FAQ</a></li>
<li><a href="/doc/go_lang_faq.html" class="noline">Language Design FAQ</a></li> <li><a href="/doc/go_lang_faq.html">Language Design FAQ</a></li>
<li><a href="/XXX" class="noline">Tech talk (1 hour)</a></li> <li><a href="/XXX">Tech talk (1 hour)</a></li>
<li><a href="/doc/go_spec.html" class="noline">Language Specification</a></li> <li><a href="/doc/go_spec.html">Language Specification</a></li>
<li><a href="/doc/go_mem.html" class="noline">Memory Model</a></li> <li><a href="/doc/go_mem.html">Memory Model</a></li>
<li><a href="/doc/go_for_cpp_programmers.html" class="noline">Go for C++ Programmers</a></li> <li><a href="/doc/go_for_cpp_programmers.html">Go for C++ Programmers</a></li>
<li class="blank">&nbsp;</li> <li class="blank">&nbsp;</li>
<li class="navhead">How To</li> <li class="navhead">How To</li>
<li><a href="/doc/install.html" class="noline">Install Go</a></li> <li><a href="/doc/install.html">Install Go</a></li>
<li><a href="/doc/contribute.html" class="noline">Contribute code</a></li> <li><a href="/doc/contribute.html">Contribute code</a></li>
<li class="blank">&nbsp;</li> <li class="blank">&nbsp;</li>
<li class="navhead">Programming</li> <li class="navhead">Programming</li>
<li><a href="/cmd" class="noline">Command documentation</a></li> <li><a href="/cmd">Command documentation</a></li>
<li><a href="/pkg" class="noline">Package documentation</a></li> <li><a href="/pkg">Package documentation</a></li>
<li><a href="/src" class="noline">Source files</a></li> <li><a href="/src">Source files</a></li>
<li class="blank">&nbsp;</li> <li class="blank">&nbsp;</li>
<li class="navhead">Help</li> <li class="navhead">Help</li>
<li><a href="http://code.google.com/p/go/issues/list" class="noline">Issue tracker</a></li> <li><a href="http://code.google.com/p/go/issues/list">Issue tracker</a></li>
<li><a href="http://groups.google.com/group/golang-nuts" class="noline">Go Nuts mailing list</a></li> <li><a href="http://groups.google.com/group/golang-nuts">Go Nuts mailing list</a></li>
<li class="blank">&nbsp;</li> <li class="blank">&nbsp;</li>
<li class="navhead">Go code search</li> <li class="navhead">Go code search</li>

View File

@ -38,14 +38,14 @@
{.end} {.end}
{.section Funcs} {.section Funcs}
{.repeated section @} {.repeated section @}
<h2>func <a href="{Decl|link}" class="noline">{Name|html}</a></h2> <h2>func <a href="{Decl|link}">{Name|html}</a></h2>
<p><code>{Decl|html}</code></p> <p><code>{Decl|html}</code></p>
{Doc|html-comment} {Doc|html-comment}
{.end} {.end}
{.end} {.end}
{.section Types} {.section Types}
{.repeated section @} {.repeated section @}
<h2>type <a href="{Decl|link}" class="noline">{Type.Name|html}</a></h2> <h2>type <a href="{Decl|link}">{Type.Name|html}</a></h2>
{Doc|html-comment} {Doc|html-comment}
<p><pre>{Decl|html}</pre></p> <p><pre>{Decl|html}</pre></p>
{.repeated section Consts} {.repeated section Consts}
@ -57,12 +57,12 @@
<pre>{Decl|html}</pre> <pre>{Decl|html}</pre>
{.end} {.end}
{.repeated section Factories} {.repeated section Factories}
<h3>func <a href="{Decl|link}" class="noline">{Name|html}</a></h3> <h3>func <a href="{Decl|link}">{Name|html}</a></h3>
<p><code>{Decl|html}</code></p> <p><code>{Decl|html}</code></p>
{Doc|html-comment} {Doc|html-comment}
{.end} {.end}
{.repeated section Methods} {.repeated section Methods}
<h3>func ({Recv|html}) <a href="{Decl|link}" class="noline">{Name|html}</a></h3> <h3>func ({Recv|html}) <a href="{Decl|link}">{Name|html}</a></h3>
<p><code>{Decl|html}</code></p> <p><code>{Decl|html}</code></p>
{Doc|html-comment} {Doc|html-comment}
{.end} {.end}
@ -87,7 +87,7 @@
{.repeated section List} {.repeated section List}
<tr> <tr>
{Depth|padding} {Depth|padding}
<td align="left" colspan="{Height|html}"><a href="{Path|html}" class="noline">{Name|html}<a></td> <td align="left" colspan="{Height|html}"><a href="{Path|html}">{Name|html}<a></td>
<td></td> <td></td>
<td align="left">{Synopsis|html}</td> <td align="left">{Synopsis|html}</td>
</tr> </tr>

View File

@ -22,11 +22,11 @@
{.section Decls} {.section Decls}
<h2>Package-level declarations</h2> <h2>Package-level declarations</h2>
{.repeated section @} {.repeated section @}
<h3>package <a href="{Pak.Path|path}" class="noline">{Pak.Name|html}</a></h3> <h3>package <a href="{Pak.Path|path}">{Pak.Name|html}</a></h3>
{.repeated section Files} {.repeated section Files}
{.repeated section Groups} {.repeated section Groups}
{.repeated section Infos} {.repeated section Infos}
<a href="{File.Path|html}?h={Query|html}#L{@|infoLine}" class="noline">{File.Path|html}:{@|infoLine}</a> <a href="{File.Path|html}?h={Query|html}#L{@|infoLine}">{File.Path|html}:{@|infoLine}</a>
<pre>{@|infoSnippet}</pre> <pre>{@|infoSnippet}</pre>
{.end} {.end}
{.end} {.end}
@ -36,9 +36,9 @@
{.section Others} {.section Others}
<h2>Local declarations and uses</h2> <h2>Local declarations and uses</h2>
{.repeated section @} {.repeated section @}
<h3>package <a href="{Pak.Path|path}" class="noline">{Pak.Name|html}</a></h3> <h3>package <a href="{Pak.Path|path}">{Pak.Name|html}</a></h3>
{.repeated section Files} {.repeated section Files}
<a href="{File.Path|html}?h={Query|html}" class="noline">{File.Path|html}</a> <a href="{File.Path|html}?h={Query|html}">{File.Path|html}</a>
<table class="layout"> <table class="layout">
{.repeated section Groups} {.repeated section Groups}
<tr> <tr>
@ -47,7 +47,7 @@
<td align="left" width="4"></td> <td align="left" width="4"></td>
<td> <td>
{.repeated section Infos} {.repeated section Infos}
<a href="{File.Path|html}?h={Query|html}#L{@|infoLine}" class="info">{@|infoLine}</a> <a href="{File.Path|html}?h={Query|html}#L{@|infoLine}">{@|infoLine}</a>
{.end} {.end}
</td> </td>
</tr> </tr>