styling social links with colors
authordanix <danix@danix.xyz>
Sun, 26 Feb 2023 18:10:43 +0000 (19:10 +0100)
committerdanix <danix@danix.xyz>
Sun, 26 Feb 2023 18:10:43 +0000 (19:10 +0100)
footer.html
gitweb-danixland/gitweb.css

index 14ac460..cddb452 100644 (file)
@@ -4,10 +4,10 @@
        </div>
        <div class="social-links footer-columns">
                <ul>
-                       <li>github</li>
-                       <li>twitter</li>
-                       <li>instagram</li>
-                       <li>spotify</li>
+                       <li class="github"><a href="https://github.com/danixland/" title="I'm on github">github</a></li>
+                       <li class="twitter"><a href="https://twitter.com/danixland/" title="I'm on twitter">twitter</a></li>
+                       <li class="instagram"><a href="https://www.instagram.com/danixland/" title="I'm on instagram">instagram</a></li>
+                       <li class="spotify"><a href="https://open.spotify.com/user/1166786773" title="I'm on spotify">spotify</a></li>
                </ul>
        </div>
        <div class="rss-links footer-columns">
index f848301..fc64fe9 100644 (file)
@@ -55,6 +55,7 @@ a { outline: none; }
   --link-visited: #e7b788;
   --border: 34,40,49,0.035;
   --accent: #FD7014;
+/* Icons */
   --file-icon: url("file-dark.svg");
   --dir-icon: url("folder-dark.svg");
   --ref-icon: url("commit-dark.svg");
@@ -62,6 +63,11 @@ a { outline: none; }
   --branch-icon: url("merge-dark.svg");
   --rss-icon:url("rss-dark.svg");
   --opml-icon:url("opml-dark.svg");
+/* social colors */
+  --twitter: #1DA1F2;
+  --instagram: #E4405F;
+  --spotify: ##1ed760;
+  --github: #6e5494;
 }
 @media screen and (prefers-color-scheme: dark) {
   :root {
@@ -257,6 +263,19 @@ td, th {
   color: var(--bg);
 }
 
+.social-links ul li.spotify a {
+  color: var(--spotify);
+}
+.social-links ul li.twitter a {
+  color: var(--twitter);
+}
+.social-links ul li.instagram a {
+  color: var(--instagram);
+}
+.social-links ul li.github a {
+  color: var(--github);
+}
+
 a.rss_logo {
   border: 0;
   clip: rect(1px, 1px, 1px, 1px);