Selaa lähdekoodia

adjustements of styles

Casey DeLorme 10 vuotta sitten
vanhempi
säilyke
47a83ae0a0
2 muutettua tiedostoa jossa 9 lisäystä ja 7 poistoa
  1. 5 5
      public/css/main.css
  2. 4 2
      template.tmpl

+ 5 - 5
public/css/main.css

@@ -227,17 +227,17 @@ footer .link {
     overflow: hidden;
 }
 .facebook {
-    background-image: '/images/facebook.png';
+    background-image: url('/images/facebook.png');
 }
 .linkedin {
-    background-image: '/images/linkedin.png';
+    background-image: url('/images/linkedin.png');
 }
 .youtube {
-    background-image: '/images/youtube.png';
+    background-image: url('/images/youtube.png');
 }
 .github {
-    background-image: '/images/github.png';
+    background-image: url('/images/github.png');
 }
 .skype {
-    background-image: '/images/skype.png';
+    background-image: url('/images/skype.png');
 }

+ 4 - 2
template.tmpl

@@ -10,7 +10,7 @@
     <body>
 
         <header>
-            <h1>Casey DeLorme</h1>
+            <a href='/'><h1>Casey DeLorme</h1></a>
             {{if .Nav}}
             <nav>
                 <ul>
@@ -22,7 +22,9 @@
             {{end}}
         </header>
 
-        <div class="content group">{{.Content}}</div>
+        <div class="content group">
+            {{.Content}}
+        </div>
 
         <div class="footer">
             <a href='https://www.facebook.com/CaseyRDeLorme' class='link facebook'></a> |