Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
todomvc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eugene Shen
todomvc
Commits
b7c9f381
Commit
b7c9f381
authored
Jul 07, 2012
by
Sindre Sorhus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New website design
parent
bb3b86a9
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
236 additions
and
58 deletions
+236
-58
index.html
index.html
+54
-54
site/css/Todo MVC.png
site/css/Todo MVC.png
+0
-0
site/css/main.css
site/css/main.css
+171
-3
site/js/main.js
site/js/main.js
+11
-1
site/screenshot.png
site/screenshot.png
+0
-0
No files found.
index.html
View file @
b7c9f381
This diff is collapsed.
Click to expand it.
site/css/Todo MVC.png
0 → 100755
View file @
b7c9f381
1 MB
site/css/main.css
View file @
b7c9f381
body
{
font
:
120%
Merriweather
,
Georgia
;
font-weight
:
300
;
line-height
:
1.5
;
width
:
auto
;
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
font-weight
:
500
;
font-weight
:
600
;
color
:
#594A43
;
text-shadow
:
1px
1px
0
#7D2A2F
;
}
h2
{
margin
:
10px
0
;
font-size
:
30px
;
}
a
{
color
:
#B83F45
;
font-weight
:
400
;
}
a
:hover
{
color
:
#787e7e
;
}
p
{
font
:
100%
Merriweather
,
Georgia
;
line-height
:
1.5
;
font-weight
:
300
;
}
hr
{
border-top
:
1px
dashed
#C5C5C5
;
border-bottom
:
1px
dashed
#F7F7F7
;
}
header
h1
{
font-size
:
100px
;
line-height
:
1.2
;
text-shadow
:
2px
2px
1px
#7D2A2F
;
font-weight
:
900
;
}
header
p
{
font-size
:
45px
;
}
header
.btn-large
{
font-size
:
25px
;
margin-right
:
10px
;
}
header
nav
{
margin
:
20px
0
;
}
.btn
{
background
:
#fafafa
;
box-shadow
:
2px
2px
0
rgba
(
0
,
0
,
0
,
0.3
);
}
.btn
:active
{
position
:
relative
;
top
:
1px
;
left
:
1px
;
box-shadow
:
1px
1px
0
rgba
(
0
,
0
,
0
,
0.3
);
}
.btn
:hover
{
background
:
#fafafa
;
}
.btn.btn-primary
{
background
:
#ad6e7f
;
box-shadow
:
2px
2px
0
#594a43
;
}
.btn.btn-primary
:active
{
background
:
#ad6e7f
;
box-shadow
:
1px
1px
0
#594a43
;
}
.vertical-space
li
{
margin
:
5px
0
;
line-height
:
inherit
;
}
.row
{
margin-top
:
20px
;
margin-top
:
40px
;
margin-bottom
:
40px
;
}
.hero-unit
{
...
...
@@ -63,6 +141,32 @@ h2 {
float
:
none
;
}
.container
{
margin-top
:
50px
;
margin-bottom
:
50px
;
}
.nav-pills
{
margin-left
:
-10px
;
}
#icon
{
float
:
right
;
}
#screenshot
{
width
:
100%
;
height
:
auto
;
max-width
:
570px
;
margin-top
:
50px
;
}
#app-preview
{
display
:
none
;
margin-top
:
43px
;
margin-left
:
-25px
;
}
#demos
{
display
:
inline-block
;
}
...
...
@@ -97,9 +201,18 @@ h2 {
right
:
20px
;
}
.credit
a
{
margin
:
0
5px
;
}
.credit
a
img
{
border-radius
:
3px
;
margin-right
:
5px
;
}
#contributor-list
{
display
:
none
;
font-size
:
1
1
px
;
font-size
:
1
3
px
;
}
@media
(
max-width
:
480px
)
{
...
...
@@ -145,3 +258,58 @@ h2 {
margin
:
5px
;
}
}
.button
{
display
:
inline-block
;
margin
:
10px
;
border-radius
:
8px
;
font-size
:
25px
;
color
:
#fff
;
box-shadow
:
0
8px
0
#C53737
,
0
15px
20px
rgba
(
0
,
0
,
0
,
.35
);
-webkit-transition
:
-webkit-box-shadow
.1s
ease-in-out
;
-moz-transition
:
-moz-box-shadow
.1s
ease-in-out
;
-o-transition
:
-o-box-shadow
.1s
ease-in-out
;
transition
:
box-shadow
.1s
ease-in-out
;
}
.button
span
{
display
:
inline-block
;
padding
:
20px
30px
;
background-color
:
#CF5258
;
background-image
:
-webkit-gradient
(
linear
,
0%
0%
,
0%
100%
,
from
(
rgba
(
255
,
119
,
119
,
.8
)),
to
(
rgba
(
255
,
73
,
73
,
.2
)));
background-image
:
-webkit-linear-gradient
(
rgba
(
255
,
119
,
119
,
.8
),
rgba
(
255
,
73
,
73
,
.2
));
background-image
:
-moz-linear-gradient
(
rgba
(
255
,
119
,
119
,
.8
),
rgba
(
255
,
73
,
73
,
.2
));
background-image
:
-o-linear-gradient
(
rgba
(
255
,
119
,
119
,
.8
),
rgba
(
255
,
73
,
73
,
.2
));
border-radius
:
8px
;
box-shadow
:
inset
0
-1px
1px
rgba
(
255
,
255
,
255
,
.15
);
font-family
:
'Pacifico'
,
Arial
,
sans-serif
;
line-height
:
1
;
text-shadow
:
0
-1px
1px
rgba
(
146
,
46
,
46
,
.7
);
-webkit-transition
:
background-color
.2s
ease-in-out
,
-webkit-transform
.1s
ease-in-out
;
-moz-transition
:
background-color
.2s
ease-in-out
,
-moz-transform
.1s
ease-in-out
;
-o-transition
:
background-color
.2s
ease-in-out
,
-o-transform
.1s
ease-in-out
;
transition
:
background-color
.2s
ease-in-out
,
transform
.1s
ease-in-out
;
}
.button
:hover
span
{
background-color
:
#e45b62
;
color
:
#fff
;
}
.button
:active
,
.button
:focus
{
box-shadow
:
0
8px
0
#aa3030
,
0
12px
10px
rgba
(
0
,
0
,
0
,
.3
);
}
.button
:active
span
{
-webkit-transform
:
translate
(
0
,
4px
);
-moz-transform
:
translate
(
0
,
4px
);
-o-transform
:
translate
(
0
,
4px
);
transform
:
translate
(
0
,
4px
);
}
.button
small
{
color
:
#666
;
font-size
:
12px
;
}
\ No newline at end of file
site/js/main.js
View file @
b7c9f381
...
...
@@ -48,4 +48,14 @@
$
(
'
#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
site/screenshot.png
View replaced file @
bb3b86a9
View file @
b7c9f381
39 KB
|
W:
|
H:
41.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment