Skip to content

Commit

Permalink
Minor fixes for docs
Browse files Browse the repository at this point in the history
Signed-off-by: Torrey Rice <rice@sitepen.com>
  • Loading branch information
SitePenTorreyRice committed May 4, 2015
1 parent 492eb89 commit cebe300
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 26 deletions.
2 changes: 1 addition & 1 deletion src/_partials/ui/tutorialCard.ejs
Expand Up @@ -2,7 +2,7 @@
<div class="card <%- cssClass %>">
<div class="content">
<div class="title">
<a href="<%= tutUrl %>"><%= title %></a>
<a href="<%= tutUrl %>"><%- title %></a>
</div>
<div class="description">
<%- description %>
Expand Down
12 changes: 9 additions & 3 deletions src/css/mixins.styl
Expand Up @@ -67,21 +67,27 @@ codeTable() {


th {
background: $lightBg;
border: 1px solid darken($lightBg, 15%);
color: #333333;
font-family: $headingFont;
font-weight: bold;
text-align:center;
font-size:14px;
padding:0.5em 1em;
background: $lightBg;
border: 1px solid darken($lightBg, 15%);
color: #333333;
}

td {
font-size:14px;
padding:0.5em 1em;
vertical-align: top;
border:1px solid darken($lightBg, 15%);

&:nth-child(1) {
whitespace: nowrap;
}
}

.first {
font-weight: normal;
margin-top: 0;
Expand Down
23 changes: 2 additions & 21 deletions src/css/views/api.styl
Expand Up @@ -584,29 +584,10 @@ div.jsdoc-field div.jsdoc-return-type {
}

table.jsdoc-parameters {
font-size: 1em;
width: auto;
margin: 1em 0;
border-collapse: collapse;
}
table.jsdoc-parameters th,
table.jsdoc-parameters td {
padding: 0.25em 0.5em;
text-align: left;
vertical-align: top;
border: 1px solid $lightBorder;
}
table.jsdoc-parameters th {
background-color: #eee;
font-weight: bold;
}
table.jsdoc-parameters td {
background-color: #fff;
}
table.jsdoc-parameters .jsdoc-param-description p {
margin: 0;
codeTable();
}


div.jsdoc-fields .jsdoc-example {
margin-top: 1em;
}
Expand Down
13 changes: 12 additions & 1 deletion src/css/views/guide.styl
Expand Up @@ -86,8 +86,9 @@


li {
line-height:1.7;
p {
line-height:1.3;
line-height:1.7;
padding:0;
margin:0;

Expand All @@ -108,6 +109,16 @@
display:none;
}

dl.docutils {
dt {
font-weight:bold;
}
dd {
margin-left:15px;
margin-bottom:1.5em;
}
}


&.claro {

Expand Down

0 comments on commit cebe300

Please sign in to comment.