Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

update #2730

Merged
merged 9 commits into from
Jul 24, 2020
Merged
8 changes: 4 additions & 4 deletions docs/en_US/_templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ <h1 class="title">NNI capabilities in a glance</h1>
<table class="tuner">
<tbody>
<tr>
<td></td>
<td class="references"></td>
<td>
<b>Built-in</b>
</td>
<td class="references">
<td class="algorithms references">
<b>References</b>
</td>
</tr>
Expand Down Expand Up @@ -116,7 +116,7 @@ <h1 class="title">NNI capabilities in a glance</h1>
</ul>
</td>
<td>
<ul>
<ul class="algorithms">
<li><a href="https://nni.readthedocs.io/en/latest/autotune_ref.html#trial">Python API</a></li>
<li><a href="{{ pathto('Tutorial/AnnotationSpec') }}">NNI Annotation</a></li>
<li><a href="https://nni.readthedocs.io/en/latest/installation.html">Supported OS</a></li>
Expand Down Expand Up @@ -184,7 +184,7 @@ <h1 class="title">NNI capabilities in a glance</h1>
</ul>
</td>
<td>
<ul>
<ul class="algorithms">
<li><a href="{{ pathto('Tuner/CustomizeTuner') }}">CustomizeTuner</a></li>
<li><a href="{{ pathto('Assessor/CustomizeAssessor') }}">CustomizeAssessor</a></li>
<li><a href="{{ pathto('Tutorial/InstallCustomizedAlgos') }}">Install Customized Algorithms as
Expand Down
24 changes: 22 additions & 2 deletions docs/static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,19 @@

.tuner{
width: 90%;
min-width: 674px;
margin: 0 auto;
margin-bottom: 25px;
table-layout: fixed;
}

.tuner, .tuner td{
border: 1px solid #ccc;
font-size: 14px;
}

.tuner td.references{
width: 25%;
.tuner .references{
width: 16%;
}

.tuner td:not(.core-td) {
Expand All @@ -108,8 +110,22 @@
}

.tuner ul.core{
word-break: break-word;
padding-left: 25px;
padding-top: 25px;
box-sizing: border-box;
}

@media screen and (min-width:1361px){
.tuner ul.core{
width: 25%;
}
}

@media screen and (max-width:1360px){
.tuner ul.core{
width: 32%;
}
}

.tuner .title {
Expand All @@ -125,6 +141,10 @@
line-height: 26px;
}

.tuner .algorithms{
word-break: break-word;
}

.wy-nav-content .tuner li{
list-style-type: none;
line-height: 26px;
Expand Down