guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: website: Remove unused code.


From: Florian Pelz
Subject: 01/01: website: Remove unused code.
Date: Fri, 1 Nov 2019 11:40:39 -0400 (EDT)

pelzflorian pushed a commit to branch master
in repository guix-artwork.

commit ddc3758f205f31aacba44f276eed94d32424e4ca
Author: Florian Pelz <address@hidden>
Date:   Fri Nov 1 16:05:32 2019 +0100

    website: Remove unused code.
    
    * website/apps/base/templates/components.scm (link-light): Remove procedure
    no longer needed after da44f0e0ba9a223c8d0c7a6cafa721fcdbbd5daf.
    * website/static/base/css/common.css (link-light):
    Remove corresponding CSS code.
---
 website/apps/base/templates/components.scm | 16 ----------------
 website/static/base/css/common.css         | 16 ----------------
 2 files changed, 32 deletions(-)

diff --git a/website/apps/base/templates/components.scm 
b/website/apps/base/templates/components.scm
index f524cf6..a10fb00 100644
--- a/website/apps/base/templates/components.scm
+++ b/website/apps/base/templates/components.scm
@@ -21,7 +21,6 @@
            contact->shtml
            horizontal-separator
            link-more
-            link-light
            link-subtle
            link-yellow
            navbar
@@ -194,21 +193,6 @@
     ,label))
 
 
-(define* (link-light #:key (label "More") (url "#"))
-  "Return an SHTML a element with light-colored label text.
-
-   LABEL (string)
-     The text for the link. For example: 'Installation from Script'.
-
-   URL (string)
-     A URL to use for the href attribute of the a element. If not
-     specified, the value defaults to #."
-  `(a
-    (@ (class "link-light")
-       (href ,url))
-    ,label))
-
-
 (define* (link-subtle #:key (label "link") (url "#"))
   "Return an SHTML a element that does not stand too much on white backgrounds.
 
diff --git a/website/static/base/css/common.css 
b/website/static/base/css/common.css
index df24f49..373558e 100644
--- a/website/static/base/css/common.css
+++ b/website/static/base/css/common.css
@@ -86,22 +86,6 @@
     color: #E6E6E6;
 }
 
-.link-light:active,
-.link-light:focus,
-.link-light:hover {
-    color: black;
-}
-
-.link-light:link,
-.link-light:visited {
-    border-style: none;
-    color: #E6E6E6;
-    font-size: 1.2em;
-    line-height: 20px;
-    margin: 20px 0px;
-    padding-right: 30px;
-}
-
 .link-subtle:link,
 .link-subtle:visited {
     border-color: transparent;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]