Commit cdcad266 authored by Sindre Sorhus's avatar Sindre Sorhus

Site: More updates

- Favicon
- SVG logo
- Minimized images more
- Use minimized bootstrap
- More cleanup and optimizations
parent cfc335e0
......@@ -8,15 +8,16 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="shortcut icon" href="site/favicon.ico">
<link rel="stylesheet" href="site/css/bootstrap.min.css">
<link rel="stylesheet" href="site/css/bootstrap-responsive.css">
<link rel="stylesheet" href="site/css/bootstrap-responsive.min.css">
<link rel="stylesheet" href="site/css/main.css">
</head>
<body>
<div class="container">
<header class="row">
<div class="span8">
<img class="logo" src="site/img/logo.png" width="500">
<img class="logo" src="site/img/logo.svg" width="500" height="86">
<p>Helping you <strong>select</strong> a MV* framework</p>
<nav>
<a href="#" class="zocial red">Download (1.0)</a>
......@@ -135,7 +136,7 @@
<hr>
<div class="row">
<div class="span6">
<img class="screenshot" src="site/img/screenshot.png">
<img class="screenshot" src="site/img/screenshot.png" width="558" height="246">
<p class="tagline2">TodoMVC is a common learning application for popular JavaScript MV* frameworks</p>
</div>
<div class="span6">
......@@ -182,8 +183,8 @@
</div>
</div>
<hr>
<div class="row applist labs">
<div class="span3">
<div class="row">
<div class="span12 applist labs">
<h2>Labs</h2>
<ul class="nav nav-pills">
<li>
......@@ -284,14 +285,7 @@
</div>
<hr>
<footer class="credit">
<p>
Brought to you by
<a href="https://github.com/addyosmani">
<img src="http://www.gravatar.com/avatar/96270e4c3e5e9806cf7245475c00b275?s=40">Addy Osmani</a>
and
<a href="https://github.com/sindresorhus">
<img src="http://www.gravatar.com/avatar/d36a92237c75c5337c17b60d90686bf9.png?s=40">Sindre Sorhus</a>
</p>
<p>Brought to you by<a href="https://github.com/addyosmani"><img src="http://www.gravatar.com/avatar/96270e4c3e5e9806cf7245475c00b275?s=40" width="40" height="40">Addy Osmani</a> and <a href="https://github.com/sindresorhus"><img src="http://www.gravatar.com/avatar/d36a92237c75c5337c17b60d90686bf9.png?s=40" width="40" height="40">Sindre Sorhus</a></p>
</footer>
</div>
<script src="assets/jquery.min.js"></script>
......
......@@ -487,203 +487,3 @@
overflow: visible !important;
}
}
\ No newline at end of file
/*
@media (min-width: 1200px) {
.row {
margin-left: -30px;
*zoom: 1;
}
.row:before,
.row:after {
display: table;
content: "";
}
.row:after {
clear: both;
}
[class*="span"] {
float: left;
margin-left: 30px;
}
.container,
.navbar-fixed-top .container,
.navbar-fixed-bottom .container {
width: 1170px;
}
.span12 {
width: 1170px;
}
.span11 {
width: 1070px;
}
.span10 {
width: 970px;
}
.span9 {
width: 870px;
}
.span8 {
width: 770px;
}
.span7 {
width: 670px;
}
.span6 {
width: 570px;
}
.span5 {
width: 470px;
}
.span4 {
width: 370px;
}
.span3 {
width: 270px;
}
.span2 {
width: 170px;
}
.span1 {
width: 70px;
}
.offset12 {
margin-left: 1230px;
}
.offset11 {
margin-left: 1130px;
}
.offset10 {
margin-left: 1030px;
}
.offset9 {
margin-left: 930px;
}
.offset8 {
margin-left: 830px;
}
.offset7 {
margin-left: 730px;
}
.offset6 {
margin-left: 630px;
}
.offset5 {
margin-left: 530px;
}
.offset4 {
margin-left: 430px;
}
.offset3 {
margin-left: 330px;
}
.offset2 {
margin-left: 230px;
}
.offset1 {
margin-left: 130px;
}
.row-fluid {
width: 100%;
*zoom: 1;
}
.row-fluid:before,
.row-fluid:after {
display: table;
content: "";
}
.row-fluid:after {
clear: both;
}
.row-fluid > [class*="span"] {
float: left;
margin-left: 2.564102564%;
}
.row-fluid > [class*="span"]:first-child {
margin-left: 0;
}
.row-fluid > .span12 {
width: 100%;
}
.row-fluid > .span11 {
width: 91.45299145300001%;
}
.row-fluid > .span10 {
width: 82.905982906%;
}
.row-fluid > .span9 {
width: 74.358974359%;
}
.row-fluid > .span8 {
width: 65.81196581200001%;
}
.row-fluid > .span7 {
width: 57.264957265%;
}
.row-fluid > .span6 {
width: 48.717948718%;
}
.row-fluid > .span5 {
width: 40.170940171000005%;
}
.row-fluid > .span4 {
width: 31.623931624%;
}
.row-fluid > .span3 {
width: 23.076923077%;
}
.row-fluid > .span2 {
width: 14.529914530000001%;
}
.row-fluid > .span1 {
width: 5.982905983%;
}
input,
textarea,
.uneditable-input {
margin-left: 0;
}
input.span12, textarea.span12, .uneditable-input.span12 {
width: 1160px;
}
input.span11, textarea.span11, .uneditable-input.span11 {
width: 1060px;
}
input.span10, textarea.span10, .uneditable-input.span10 {
width: 960px;
}
input.span9, textarea.span9, .uneditable-input.span9 {
width: 860px;
}
input.span8, textarea.span8, .uneditable-input.span8 {
width: 760px;
}
input.span7, textarea.span7, .uneditable-input.span7 {
width: 660px;
}
input.span6, textarea.span6, .uneditable-input.span6 {
width: 560px;
}
input.span5, textarea.span5, .uneditable-input.span5 {
width: 460px;
}
input.span4, textarea.span4, .uneditable-input.span4 {
width: 360px;
}
input.span3, textarea.span3, .uneditable-input.span3 {
width: 260px;
}
input.span2, textarea.span2, .uneditable-input.span2 {
width: 160px;
}
input.span1, textarea.span1, .uneditable-input.span1 {
width: 60px;
}
.thumbnails {
margin-left: -30px;
}
.thumbnails > li {
margin-left: 30px;
}
}
*/
\ No newline at end of file
This diff is collapsed.
......@@ -45,7 +45,7 @@ a:hover {
.nav-tabs > li > a,
.nav-pills > li > a {
line-height: 23px;
line-height: 20px;
}
p {
......@@ -83,9 +83,8 @@ header nav a:first-child {
clear: both;
}
.vertical-space li {
margin: 5px 0;
line-height: inherit;
.nav-pills {
margin-left: -10px;
}
.row {
......@@ -96,7 +95,7 @@ header nav a:first-child {
.screenshot {
width: 100%;
height: auto;
max-width: 570px;
max-width: 558px;
margin-top: 12px;
}
......@@ -111,12 +110,9 @@ header nav a:first-child {
margin-bottom: 20px;
}
.nav-pills {
margin-left: -10px;
}
.applist a {
white-space: nowrap;
position: relative; /* popover */
}
.applist .label {
......@@ -131,6 +127,8 @@ header nav a:first-child {
margin: 0;
cursor: default;
color: #333;
white-space: normal;
z-index: 999;
}
.applist .popover-title {
......@@ -153,6 +151,14 @@ header nav a:first-child {
columns: 3;
}
.applist.labs li {
-webkit-column-break-inside: avoid;
-moz-column-break-inside: avoid;
-ms-column-break-inside: avoid;
-o-column-break-inside: avoid;
column-break-inside: avoid;
}
.credit a {
margin: 0 5px;
white-space: nowrap;
......
site/img/logo-icon.png

126 KB | W: | H:

site/img/logo-icon.png

43.7 KB | W: | H:

site/img/logo-icon.png
site/img/logo-icon.png
site/img/logo-icon.png
site/img/logo-icon.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed.
site/img/screenshot.png

29.4 KB | W: | H:

site/img/screenshot.png

15.4 KB | W: | H:

site/img/screenshot.png
site/img/screenshot.png
site/img/screenshot.png
site/img/screenshot.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -2,17 +2,17 @@
(function() {
'use strict';
// Demos popover
// Apps popover
function hover() {
$( this ).popover('toggle');
}
$('#demos li a').each(function() {
$('.applist a').each(function() {
var $this = $( this );
$this.popover({
placement: 'in right',
animation: false,
title: $this.text() + '<a href="' + $this.data('source') + '">Go to site</a>'
title: $this[0].firstChild.textContent + '<a href="' + $this.data('source') + '">Go to site</a>'
});
})
.off()
......@@ -24,38 +24,4 @@
}
});
// Contributor list
$.ajaxSetup({
cache: true
});
$.getJSON('https://github.com/api/v2/json/repos/show/addyosmani/todomvc/contributors?callback=?', function( res ) {
var data = res.contributors;
// Add some previous contributors not on the GitHub list
[].push.apply( data, [{
login: 'tomdale',
name: 'Tom Dale'
}, {
login: 'justinbmeyer',
name: 'Justin Meyer'
}]);
var ret = $.map( data, function( elem ) {
var username = elem.login;
if ( $.inArray( username, [ 'addyosmani', 'boushley', 'sindresorhus' ] ) >= 0 ) {
return;
}
return '<a href="https://github.com/' + username + '">' + ( elem.name || username ) + '</a>';
});
$('#contributor-list').show().children('span').html( ret.join(', ') );
});
/*
$('#app-preview')[0].contentWindow.localStorage['spine-Todo'] = '[{"title":"Do some nerdy stuff","completed":true,"id":"c-4"},{"title":"Redesign the website","id":"c-6"}]';
$('#app-preview').load(function() {
var $this = $(this);
var $iframe = $this.contents();
$iframe.find('html,body').scrollTop(110);
$this.show();
});
*/
})();
\ No newline at end of file
}());
\ No newline at end of file
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