Skip to content

Commit

Permalink
Update info
Browse files Browse the repository at this point in the history
  • Loading branch information
milcktoast committed Apr 30, 2015
1 parent f8377f3 commit ee9e2e1
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 14 deletions.
37 changes: 31 additions & 6 deletions pages/_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,38 @@
{% endif %}
</head>
<body>
<article id="info" class="modal">
<article id="info" class="modal info-modal">
<h1>Medusae</h1>
<p>
Built with <a href="http://particulatejs.org">particulate.js</a> and
<a href="http://threejs.org">three.js</a> by
<a href="http://twitter.com/jpweeks">jpweeks</a>.
</p>
<div class="info-section">
<dl>
<dt>Concept, Design & Code</dt>
<dd><a href="http://jayweeks.com">Jay Weeks</a></dd>
</dl>
<dl>
<dt>Audio Design</dt>
<dd>JP Arsenault</a></dd>
</dl>
</div>
<div class="info-section">
<dl>
<dt>Physics</dt>
<dd><a href="http://particulatejs.org">Particulate</a></dd>
</dl>
<dl>
<dt>Graphics</dt>
<dd><a href="http://threejs.org">Three</a></dd>
</dl>
<dl>
<dt>Audio</dt>
<dd><a href="http://howlerjs.com/">Howler</a></dd>
</dl>
</div>
<div class="info-section">
<dl>
<dt>Source</dt>
<dd><a href="http://github.com/jpweeks/particulate-medusae">Github</a></dd>
</dl>
</div>
</article>
<div id="cover-info" class="modal-cover"></div>

Expand Down
8 changes: 4 additions & 4 deletions static/scss/apps/_application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body {

canvas {
opacity: 0;
transition: opacity 2500ms 500ms;
transition: opacity 500ms 200ms;

&.active {
opacity: 1;
Expand All @@ -19,20 +19,20 @@ body {
.controls {
position: absolute;
left: 0;
bottom: 0;
bottom: 10px;
z-index: 2;
}

.controls-button {
position: relative;
display: block;
width: 50px;
height: 50px;
height: 30px;
cursor: pointer;

&:before {
position: absolute;
top: 20px;
top: 10px;
left: 20px;
width: 10px;
height: 10px;
Expand Down
37 changes: 37 additions & 0 deletions static/scss/apps/_index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
.info-modal {
h1 {
margin: 4px 0 8px;

&:after {
display: block;
content: "-------";
}
}

dl {
display: block;
margin: 4px 0;
}

dt {
color: #e9e9e9;
display: inline-block;
opacity: 0.5;

&:after {
display: inline-block;
padding: 0 4px;
color: #e30060;
content: "/";
}
}

dd {
display: inline-block;
color: #fff;
}
}

.info-section {
margin: 12px 0 0;
}
20 changes: 16 additions & 4 deletions static/scss/helpers/_type.scss
Original file line number Diff line number Diff line change
@@ -1,18 +1,30 @@
body {
color: #fff;
font: 12px/1.2 Monaco, monospace;
-webkit-font-smoothing: antialiased;
}

h1 {
margin: 0 0 8px;
font-size: 14px;
}

a {
color: #e30060;
position: relative;
display: inline-block;
color: #fff;
text-decoration: none;

&:hover {
text-decoration: underline;
&:after {
position: absolute;
bottom: -1px;
left: 0;
right: 0;
border-bottom: 1px solid #fff;
opacity: 0.25;
content: "";
}

&:hover:after {
opacity: 1;
}
}

0 comments on commit ee9e2e1

Please sign in to comment.