2
0
Эх сурвалжийг харах

Make the heading clickable (returns to home)

JC Brand 12 жил өмнө
parent
commit
fdd369eddd

+ 1 - 1
index.html

@@ -16,7 +16,7 @@
         <header class="inner">
           <a id="forkme_banner" href="https://github.com/jcbrand/converse.js">View on GitHub</a>
 
-          <h1 id="project_title">Converse.js</h1>
+          <h1 id="project_title"><a href="http://conversejs.org">Converse.js</a></h1>
           <h2 id="project_tagline">Browser-based Instant Messaging with Strophe.js and Backbone.js</h2>
 
             <section id="downloads">

+ 4 - 0
stylesheets/stylesheet.css

@@ -124,6 +124,10 @@ a {
   -ms-transition: text-shadow 0.5s ease;
 }
 
+h1 a {
+  color: white;
+}
+
 #main_content a:hover {
   color: #0069ba;
   text-shadow: #5390c8 0px 0px 2px;

+ 1 - 1
tests.html

@@ -16,7 +16,7 @@
 <body>
     <div id="header_wrap" class="outer">
         <header class="inner">
-          <h1 id="project_title">Converse.js</h1>
+          <h1 id="project_title"><a href="http://conversejs.org">Converse.js</a></h1>
           <h2 id="project_tagline">Tests</h2>
         </header>
     </div>