[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [nyx/master] Drop the 'first' class attribute



commit acbb6cdb974ae1a7616de618a54c5d3e8541e354
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Sun Jul 23 21:56:33 2017 -0700

    Drop the 'first' class attribute
    
    Simply bumping the content top padding does the same.
---
 web/index.html | 4 ++--
 web/styles.css | 5 +----
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/web/index.html b/web/index.html
index 278e282..3f5c081 100644
--- a/web/index.html
+++ b/web/index.html
@@ -22,8 +22,8 @@
       </div>
     </div>
 
-    <div id="home" class="content">
-      <div class="header-line first"></div>
+    <div class="content" id="home">
+      <div class="header-line"></div>
       <h1>Welcome to Nyx</h1>
 
       <p>Nyx is a command-line monitor for <a href="https://www.torproject.org/";>Tor</a>. With this you can get detailed real-time information about your relay such as bandwidth usage, connections, logs, and much more.</p>
diff --git a/web/styles.css b/web/styles.css
index d2faa47..e6ca4ae 100644
--- a/web/styles.css
+++ b/web/styles.css
@@ -86,6 +86,7 @@ a:hover {
   margin: 50px auto 0px auto;
   max-width: 630px;
   padding: 50px;
+  padding-top: 55px;
   text-align: center;
 }
 
@@ -94,10 +95,6 @@ a:hover {
   margin-bottom: -16px;
 }
 
-.first {
-  margin-top: 5px;
-}
-
 .content h1 {
   background: white;
   color: #856231;



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits