Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Made the theme garden a bit better.

  • Loading branch information...
commit 254f6e2760454fd553f220de9efd4a4f24a80e95 1 parent 6a744aa
@idiot idiot authored
View
49 assets/css/main.css
@@ -473,7 +473,7 @@ aside#sidebar {
border-bottom: 1px solid #f2f2f2;
}
- aside#sidebar ul li a {
+ aside#sidebar ul li a, aside#sidebar ul li strong {
display: block;
padding: 10px;
@@ -484,6 +484,9 @@ aside#sidebar {
border-bottom: 1px solid #f2f2f2;
}
+ aside#sidebar ul li strong {
+ color: #bbb;
+ }
aside#sidebar ul li a:hover, aside#sidebar li.active > a {
color: #379ad3;
}
@@ -638,6 +641,50 @@ ul.submissions {
font-size: 13px;
text-align: right;
}
+
+figure.image {
+ position: relative;
+ top: -6px;
+ margin-bottom: -6px;
+}
+ figure.image:before {
+ content: '';
+ position: absolute;
+ left: 0;
+ top: 0;
+
+ display: block;
+ width: 100%;
+ height: 3px;
+
+ background: rgba(0,0,0,.05);
+ border-top: 1px solid rgba(0,0,0,.1);
+ }
+ figure.image img {
+ width: 100%;
+ height: auto;
+
+ box-shadow: 0 1px 2px rgba(0,0,0,.05);
+ }
+
+aside#sidebar dl {
+ font-size: 13px;
+}
+ aside#sidebar dt {
+ font-weight: bold;
+ padding: 10px 10px 0;
+ width: 80px;
+ color: #888;
+
+ position: absolute;
+ }
+ aside#sidebar dd {
+ padding: 10px 10px 10px 90px;
+ border-bottom: 1px solid #eee;
+
+ position: relative;
+ color: #aaa;
+ }
/* @end */
View
14 pages/themes/view.php
@@ -19,9 +19,17 @@
<section>
+ <figure class="image">
+ <img src="/submissions/<?php echo $key; ?>/preview.png">
+ </figure>
+
<aside id="sidebar">
<ul>
- <li><a href="/submissions/<?php echo $key; ?>/<?php echo $key; ?>.zip">Download</a></li>
+ <?php if(file_exists(PATH . 'submissions/' . $key . $key . '.zip')): ?>
+ <li><a class="download" href="/submissions/<?php echo $key; ?>/<?php echo $key; ?>.zip">Download</a></li>
+ <?php else: ?>
+ <li><strong class="soon">Download coming soon!</strong></li>
+ <?php endif; ?>
</ul>
<dl>
@@ -37,10 +45,6 @@
</aside>
<div class="primary submission">
- <figure class="prev">
- <img src="/submissions/<?php echo $key; ?>/preview.png">
- </figure>
-
<h2><?php echo $theme['name']; ?></h2>
<p><?php echo $theme['description']; ?></p>
View
2  submissions/noteworthy/views.txt
@@ -1 +1 @@
-4
+43
Please sign in to comment.
Something went wrong with that request. Please try again.