Skip to content

Commit

Permalink
Updated Java Style Guide to reflect current internal version.
Browse files Browse the repository at this point in the history
  • Loading branch information
dimo414 committed Jun 29, 2016
1 parent 70d6b7d commit c938dba
Show file tree
Hide file tree
Showing 3 changed files with 969 additions and 586 deletions.
2 changes: 1 addition & 1 deletion include/styleguide.js
Expand Up @@ -245,7 +245,7 @@ function hasClass(element, cls) {
function LinkifyHeader(header, fileName, sizePixels) {
var link = document.createElement('a');
link.href = '#' + header.id;
link.alt = 'link to ' + header.id;
link.setAttribute('alt', 'link to ' + header.id);
link.innerHTML =
'<img src="include/' + fileName + '"' +
' width=' + sizePixels +
Expand Down
57 changes: 57 additions & 0 deletions javaguide.css
Expand Up @@ -513,3 +513,60 @@ code {
padding: 0.25em 0.5em;
white-space: nowrap
}


/* TOC CSS */

table.columns {
border: none;
}

td.two_columns {
-webkit-column-count: 2;
column-count: 2;
}

.toc_category {
font-size: 10pt;
padding-top: 1em;
padding-bottom: 1em;
border-left-width: 2px;
border-right-width: 2px;
border-color: grey;
}

.toc_stylepoint {
font-size: 10pt;
padding-top: 1em;
padding-bottom: 1em;
}

li.toc_entry {
padding-right: 1em;
display: inline;
list-style-type: none;
}

/*
* This space is required to trigger the linewrap on the links
* at href boundaries
*/
li.toc_entry::after {
content: " ";
}

li.toc_entry a {
white-space: nowrap;
}

/* Horizontal TOC */
.toc td, .toc th {
border-width: 1px 5px;
overflow: hidden;
}

/* Vertical TOC */

.toc td.two_columns {
border-width: 0px;
}

0 comments on commit c938dba

Please sign in to comment.