Commit 7730dcc3 authored by Sindre Sorhus's avatar Sindre Sorhus

minor website refresh

parent 6a1d5df5
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
<p>Helping you <strong>select</strong> an MV* framework</p> <p>Helping you <strong>select</strong> an MV* framework</p>
<nav> <nav>
<a href="https://github.com/tastejs/todomvc/zipball/1.2.0" class="zocial red">Download (1.2)</a> <a href="https://github.com/tastejs/todomvc/zipball/1.2.0" class="zocial red">Download (1.2)</a>
<a href="https://github.com/tastejs/todomvc" class="zocial red">View on GitHub</a> <a href="https://github.com/tastejs/todomvc" class="zocial ltgray">View on GitHub</a>
<a href="http://tastejs.roon.io" class="zocial red">Blog</a> <a href="http://tastejs.roon.io" class="zocial ltgray">Blog</a>
</nav> </nav>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
...@@ -312,7 +312,7 @@ ...@@ -312,7 +312,7 @@
<p>If so, feel free to fork the repo, read our <a href="https://github.com/tastejs/todomvc/wiki">contribution guidelines</a>, and submit a pull request &mdash; we'll be happy to review it for inclusion.</p> <p>If so, feel free to fork the repo, read our <a href="https://github.com/tastejs/todomvc/wiki">contribution guidelines</a>, and submit a pull request &mdash; we'll be happy to review it for inclusion.</p>
<p>Make sure you use the <a href="https://github.com/tastejs/todomvc/tree/gh-pages/template">template</a> as a starting point and read the <a href="https://github.com/tastejs/todomvc/blob/gh-pages/app-spec.md">app specification</a>.</p> <p>Make sure you use the <a href="https://github.com/tastejs/todomvc/tree/gh-pages/template">template</a> as a starting point and read the <a href="https://github.com/tastejs/todomvc/blob/gh-pages/app-spec.md">app specification</a>.</p>
<p> <p>
<a class="zocial small gray" href="https://github.com/tastejs/todomvc/wiki">Submit Pull Request &raquo;</a> <a class="zocial small ltgray" href="https://github.com/tastejs/todomvc/wiki">Submit Pull Request &raquo;</a>
</p> </p>
</div> </div>
</div> </div>
......
...@@ -5,12 +5,12 @@ body { ...@@ -5,12 +5,12 @@ body {
} }
body { body {
font: 15px 'Helvetica Neue', Helvetica, Arial; font: 16px 'Helvetica Neue', Helvetica, Arial;
font-weight: 300; font-weight: 300;
line-height: 1.5; line-height: 1.5;
width: auto; width: auto;
background: #EAEAEA url('../site-assets/bg.png'); background: #f7f7f7;
color: #4D4D4D; color: #353535;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-font-smoothing: antialiased; -moz-font-smoothing: antialiased;
-ms-font-smoothing: antialiased; -ms-font-smoothing: antialiased;
...@@ -24,19 +24,19 @@ h3, ...@@ -24,19 +24,19 @@ h3,
h4, h4,
h5, h5,
h6 { h6 {
font-weight: 500; font-weight: 400;
line-height: 1.2; line-height: 1.2;
color: #000; color: #000;
} }
h2 { h2 {
margin: 10px 0; margin: 10px 0;
font-size: 20px; font-size: 24px;
} }
a { a {
color: #B83F45; color: #9f3c3c;
font-weight: bold; font-weight: 500;
} }
a:hover { a:hover {
...@@ -44,7 +44,7 @@ a:hover { ...@@ -44,7 +44,7 @@ a:hover {
} }
p { p {
font-size: 15px; font-size: 16px;
line-height: 1.5; line-height: 1.5;
font-weight: 300; font-weight: 300;
} }
...@@ -66,6 +66,11 @@ header p { ...@@ -66,6 +66,11 @@ header p {
header nav { header nav {
margin-top: 20px; margin-top: 20px;
font-size: 20px;
}
header nav a {
font-weight: 200;
} }
header nav a:not(:last-child) { header nav a:not(:last-child) {
...@@ -143,6 +148,7 @@ header nav a:not(:last-child) { ...@@ -143,6 +148,7 @@ header nav a:not(:last-child) {
-ms-columns: 1; -ms-columns: 1;
-o-columns: 1; -o-columns: 1;
columns: 1; columns: 1;
font-size: 17px;
} }
.applist li { .applist li {
...@@ -163,20 +169,22 @@ header nav a:not(:last-child) { ...@@ -163,20 +169,22 @@ header nav a:not(:last-child) {
column-break-inside: avoid; column-break-inside: avoid;
} }
.applist .routing::after { .applist .routing::after,
.applist .label,
.legend .label {
content: 'R'; content: 'R';
position: relative; position: relative;
top: -3px; top: -3px;
font-size: 9px; font-size: 9px;
padding: 1px 3px 1px; padding: 1px 3px 1px;
background-color: rgba(0, 0, 0, .2); background-color: rgba(0, 0, 0, .1);
border-radius: 3px; border-radius: 3px;
font-weight: bold; font-weight: bold;
line-height: 13px; line-height: 13px;
color: white; color: #777;
vertical-align: middle; vertical-align: middle;
white-space: nowrap; white-space: nowrap;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
} }
.applist .labs a, .applist .labs a,
...@@ -184,15 +192,6 @@ header nav a:not(:last-child) { ...@@ -184,15 +192,6 @@ header nav a:not(:last-child) {
color: #582C42; color: #582C42;
} }
.applist .label,
.legend .label {
position: relative;
top: -3px;
font-size: 9px;
padding: 1px 3px 1px;
background-color: rgba(0, 0, 0, .2);
}
.applist a:hover .label { .applist a:hover .label {
text-decoration: none !important; text-decoration: none !important;
color: red; color: red;
...@@ -201,6 +200,7 @@ header nav a:not(:last-child) { ...@@ -201,6 +200,7 @@ header nav a:not(:last-child) {
.legend { .legend {
margin-top: 20px; margin-top: 20px;
margin-left: 0; margin-left: 0;
padding: 0;
list-style-type: none; list-style-type: none;
} }
...@@ -232,7 +232,7 @@ header nav a:not(:last-child) { ...@@ -232,7 +232,7 @@ header nav a:not(:last-child) {
} }
.credit a { .credit a {
margin: 0 5px; margin: 5px;
white-space: nowrap; white-space: nowrap;
} }
...@@ -320,7 +320,7 @@ header nav a:not(:last-child) { ...@@ -320,7 +320,7 @@ header nav a:not(:last-child) {
} }
.zocial.red { .zocial.red {
background-color: #a82400; background-color: #b12d2b;
} }
.zocial.gray { .zocial.gray {
...@@ -343,18 +343,15 @@ header nav a:not(:last-child) { ...@@ -343,18 +343,15 @@ header nav a:not(:last-child) {
.zocial, .zocial,
a.zocial { a.zocial {
background: #f4f4f4;
border: 1px solid #777; border: 1px solid #777;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
border-bottom-color: #333; border-bottom-color: #333;
border-bottom-color: rgba(0, 0, 0, 0.4); border-bottom-color: rgba(0, 0, 0, 0.4);
color: white; color: white;
box-shadow: inset 0 0.08em 0 rgba(255, 255, 255, 0.3),
inset 0 0 0.1em rgba(255, 255, 255, 0.9),
0 1px 3px rgba(0, 0, 0, 0.3);
cursor: pointer; cursor: pointer;
display: inline-block; display: inline-block;
font: bold 100%/2.1 "Helvetica Neue", Helvetica, Arial; padding: 6px 10px;
padding: 5px 10px;
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
...@@ -364,8 +361,6 @@ a.zocial { ...@@ -364,8 +361,6 @@ a.zocial {
user-select: none; user-select: none;
position: relative; position: relative;
border-radius: .3em; border-radius: .3em;
background-image: -webkit-linear-gradient(rgba(255, 255, 255, .1), rgba(255, 255, 255, .05) 49%, rgba(0, 0, 0, .05) 51%, rgba(0, 0, 0, .1));
background-image: linear-gradient(rgba(255, 255, 255, .1), rgba(255, 255, 255, .05) 49%, rgba(0, 0, 0, .05) 51%, rgba(0, 0, 0, .1));
} }
@media (max-width: 480px) { @media (max-width: 480px) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment