Browse Source

linking to twitter

jomo 10 years ago
parent
commit
8580f0ade3
3 changed files with 16 additions and 0 deletions
  1. BIN
      public/images/twitter.png
  2. 14 0
      public/stylesheets/style.css
  3. 2 0
      views/layout.jade

BIN
public/images/twitter.png


+ 14 - 0
public/stylesheets/style.css

@@ -38,6 +38,20 @@ a.forkme:hover {
   text-decoration: none;
 }
 
+a.navbar-brand.twitter {
+  color: #55acee;
+  font-size: 16px;
+}
+
+a.navbar-brand.twitter:before {
+  content: "";
+  background: url("/images/twitter.png");
+  display: inline-block;
+  height: 16px;
+  width: 16px;
+  vertical-align: middle;
+}
+
 mark.green {
   background: inherit;
   color: #008000;

+ 2 - 0
views/layout.jade

@@ -14,4 +14,6 @@ html
         .container
           .navbar-header
             a.navbar-brand(href="/") Crafatar
+          .navbar-header
+            a.navbar-brand.twitter(href="https://twitter.com/Crafatar", target="_blank") crafatar
     block content