Skip to content

Commit

Permalink
Table style
Browse files Browse the repository at this point in the history
  • Loading branch information
gstamatelat committed Jul 3, 2018
1 parent 3cb8622 commit 47aa207
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
22 changes: 22 additions & 0 deletions src/javadoc/stylesheet.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
/* Code blocks */

.block pre {
background-color: #F6F8FA !important;
padding: 0 1rem !important;
}

/* Tables */

table.table {
border-spacing: 0;
border-collapse: collapse;
}

table.table td,
table.table th {
padding: 6px 13px;
border: 1px solid #dfe2e5;
}

table.table thead tr {
background-color: #dee3e9;
}

table.table tbody tr:nth-child(2n) {
background-color: #EEEEEF;
}
6 changes: 5 additions & 1 deletion src/main/java/gr/james/sampling/package-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,17 @@
* {@link java.util.Collection} may contain duplicate elements. Furthermore, elements need not be immutable and the
* sampling process does not rely on the elements' {@code hashCode()} and {@code equals()} methods.
* <h3>Implementations</h3>
* <table summary="">
* <table class="table" summary="">
* <thead>
* <tr>
* <th>Implementation</th>
* <th>Algorithm</th>
* <th>Space</th>
* <th>Precision</th>
* <th>Weighted</th>
* </tr>
* </thead>
* <tbody>
* <tr>
* <td>{@link gr.james.sampling.WatermanSampling}</td>
* <td>Algorithm R by Waterman</td>
Expand Down Expand Up @@ -89,6 +92,7 @@
* <td>ND</td>
* <td>YES</td>
* </tr>
* </tbody>
* </table>
*
* @see <a href="https://doi.org/10.1007/978-3-319-24024-4_12">Weighted Random Sampling over Data Streams</a>
Expand Down

0 comments on commit 47aa207

Please sign in to comment.