Skip to content

Commit

Permalink
demo update
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenqer committed Jul 31, 2014
1 parent ba48bb4 commit 8431af7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
components
dist
.sass-cache
.tmp
12 changes: 8 additions & 4 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@
<html>
<head>
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
<title>paper-calendar Demo</title>
<title>Paper-calendar Demo</title>

<script src="../platform/platform.js"></script>
<link rel="import" href="paper-calendar.html">
<style>
body,
html {
margin-top: 100px;
}
</style>

</head>
<body unresolved>

<p>An `paper-calendar` looks like this:</p>
<body unresolved horizontal layout center-justified>

<paper-calendar></paper-calendar>

Expand Down
9 changes: 7 additions & 2 deletions paper-calendar.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
:host {
display: block;
max-width: 200px;
}
.field {
position: relative;
Expand All @@ -17,9 +18,13 @@
border-radius: 6px;
padding: 10px;
position: absolute;
right: -110%;
top: 10px;
margin-left: 10px;
top: -10px;
text-align: center;
font-size: 18px;
font-weight: 200;
line-height: 30px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#calendar.show {
display: block;
Expand Down

0 comments on commit 8431af7

Please sign in to comment.