Browse Source

Fixes style of top nav bar for mobile layout

Muhammad Talha Mansoor 12 years ago
parent
commit
b3abf226a5
2 changed files with 13 additions and 5 deletions
  1. 8 0
      css/custom.css
  2. 5 5
      index.html

+ 8 - 0
css/custom.css

@@ -81,6 +81,14 @@ a#contentsNavBar:hover {
    color: darkGoldenRod;
 }
 
+a.topNavElementsMobile {
+   color: black;
+}
+
+a.topNavElementsMobile:hover {
+   color: darkGoldenRod;
+}
+
 .pageForeground {
    background-color: white;
 }

+ 5 - 5
index.html

@@ -74,19 +74,19 @@
     <div class="row pageForeground">
 
 <div class="pre_2 col_9 suf_1 mobile-only topNavMobile">
-      <span class="col_1">
+      <a class="col_1 topNavElementsMobile" href="http://www.google.com">
         Contents
-      </span>
+      </a>
 
-      <a class="col_1" href="http://twitter.com/talha_131">
+      <a class="col_1 topNavElementsMobile" href="http://twitter.com/talha_131">
         Twitter
       </a>
 
-      <a class="col_1" href="http://github.com/talha131">
+      <a class="col_1 topNavElementsMobile" href="http://github.com/talha131">
         Github
       </a>
 
-      <a class="col_1 suf_5 last" href="/rss">
+      <a class="col_1 suf_5 last topNavElementsMobile" href="/rss">
         Feed
       </a>
 </div>