Skip to content

Commit

Permalink
moar minor website tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Feb 1, 2014
1 parent b326d4a commit 0d3bb34
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 31 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ <h2>JavaScript Apps</h2>
</ul>
<ul class="legend">
<li><b>*</b> <span class="label">R</span> = App also demonstrates routing</li>
<li><b>*</b> <span class="labs-example">Maroon</span> = App requires further work to comply with <a href="https://github.com/tastejs/todomvc/blob/gh-pages/app-spec.md">the spec</a></li>
<li><b>*</b> <strong>Maroon</strong> = App requires further work to comply with <a href="https://github.com/tastejs/todomvc/blob/gh-pages/app-spec.md">the spec</a></li>
</ul>
<hr>
<h2>Compile To JavaScript</h2>
Expand Down
38 changes: 8 additions & 30 deletions site-assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,16 @@ h2 {
font-size: 24px;
}

a, .link {
a,
.link {
color: #9f3c3c;
font-weight: 500;
cursor: pointer;
}


a:hover, .link:hover {
a:hover,
.link:hover {
color: #431919;
text-decoration: underline;
}
Expand All @@ -52,11 +54,6 @@ p {
font-weight: 300;
}

hr {
border-top: 1px dashed #C5C5C5;
border-bottom: 1px dashed #F7F7F7;
}

var {
font-style: normal;
}
Expand Down Expand Up @@ -89,15 +86,6 @@ header nav a:not(:last-child) {
display: none;
}

.nav-tabs > li,
.nav-pills > li {
clear: both;
}

.nav-pills {
margin-left: -10px;
}

.row {
margin-top: 20px;
margin-bottom: 20px;
Expand Down Expand Up @@ -134,14 +122,6 @@ header nav a:not(:last-child) {
left: -20px;
}

.whats-new li ul {
margin-left: 10px;
}

.whats-new li ul li {
margin-left: 20px;
}

.applist {
list-style: none;
margin: 0;
Expand Down Expand Up @@ -215,15 +195,11 @@ header nav a:not(:last-child) {
margin-bottom: 0;
}

.labs-example {
font-weight: bold;
}

.collapsed {
overflow: hidden;
max-height: 0;
-webkit-transition: max-height 1s;
transition: max-height 1s;
-webkit-transition: max-height 0.7s ease-out;
transition: max-height 0.7s ease-out;
}

#news-expander {
Expand All @@ -232,6 +208,8 @@ header nav a:not(:last-child) {

#news-expander:checked ~ .collapsed {
max-height: 999px;
-webkit-transition: max-height 0.7s ease-in;
transition: max-height 0.7s ease-in;
}

.credit a {
Expand Down

0 comments on commit 0d3bb34

Please sign in to comment.