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

atagar at torproject.org atagar at torproject.org
Sat Aug 5 01:18:26 UTC 2017


commit acbb6cdb974ae1a7616de618a54c5d3e8541e354
Author: Damian Johnson <atagar at torproject.org>
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;





More information about the tor-commits mailing list