Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

moved css to its own .css file

  • Loading branch information...
commit 84d27a9c9e412b6b2730b25f760c46abe51d1069 1 parent 676f5d8
@Pomax Pomax authored
Showing with 31 additions and 34 deletions.
  1. +30 −0 static/css/socialmedia.css
  2. +1 −34 views/portfolio.hogan.js
View
30 static/css/socialmedia.css
@@ -0,0 +1,30 @@
+.socialshare {
+ opacity: 0.8;
+ text-shadow: 2px 2px 4px rgba(0, 200, 160, 0.2);
+ font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
+}
+
+.socialshare:focus {
+ outline: 0;
+}
+
+.socialshare span {
+ cursor: pointer;
+ display: table-cell;
+}
+
+.social-medium {
+ display: table-cell;
+ vertical-align: top;
+ height: 20px;
+}
+
+.social-medium + .social-medium {
+ padding-left: 1em;
+}
+
+.social-medium iframe {
+ height: 20px;
+ box-shadow: 4px 4px 3px rgba(100, 190, 180, 0.3);
+ background-color: rgba(100, 190, 180, 0.3);
+}
View
35 views/portfolio.hogan.js
@@ -1,4 +1,5 @@
{{#portfolio}}
+<link rel="stylesheet" href="/css/socialmedia.css">
<div class='portfolio'>
{{#message}}
@@ -112,40 +113,6 @@
{{/portfolio}}
-
-<style>
- .socialshare {
- opacity: 0.8;
- text-shadow: 2px 2px 4px rgba(0, 200, 160, 0.2);
- font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
- }
-
- .socialshare:focus {
- outline: 0;
- }
-
- .socialshare span {
- cursor: pointer;
- display: table-cell;
- }
-
- .social-medium {
- display: table-cell;
- vertical-align: top;
- height: 20px;
- }
-
- .social-medium + .social-medium {
- padding-left: 1em;
- }
-
- .social-medium iframe {
- height: 20px;
- box-shadow: 4px 4px 3px rgba(100, 190, 180, 0.3);
- background-color: rgba(100, 190, 180, 0.3);
- }
-</style>
-
{{=|| ||=}} <!-- need to change delimeter so hogan doesn't parse these --->
<script type="text/javascript" src="/js/social-media.js"></script>
Please sign in to comment.
Something went wrong with that request. Please try again.