From 6b308ea38437bad1d2e29fe651f2e36d5dcdd338 Mon Sep 17 00:00:00 2001 From: umamigabi <123357590+gabrielle-barnes@users.noreply.github.com> Date: Sat, 9 Mar 2024 23:14:12 -0800 Subject: [PATCH] changing button colors and github links --- docs/_layouts/default.html | 10 +++---- docs/_sass/jekyll-theme-dinky.scss | 43 ++++++++++++------------------ 2 files changed, 22 insertions(+), 31 deletions(-) diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 2608f7e..7dbb03b 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -17,7 +17,7 @@

{{ site.title | default: site.github.repository_name }}

-

{{ site.description | default: site.github.project_tagline }}

+

class="header">{{ site.description | default: site.github.project_tagline }}

{% if site.github.is_project_page %} -

This project is maintained by
- {{ site.github.owner_name }}
- {{ Funmi Idowu }}
- {{ Kimberly Kubo }} +

class="header">This project is maintained by +

{{ site.github.owner_name }}

+

{{ Funmi Idowu }}

+

{{ Kimberly Kubo }}

{% endif %} diff --git a/docs/_sass/jekyll-theme-dinky.scss b/docs/_sass/jekyll-theme-dinky.scss index 7c42ed8..73edb3b 100644 --- a/docs/_sass/jekyll-theme-dinky.scss +++ b/docs/_sass/jekyll-theme-dinky.scss @@ -77,7 +77,7 @@ h4, h5, h6 { } a { - color:#C30000; + color:#4f9c90; font-weight:200; text-decoration:none; } @@ -264,6 +264,8 @@ header ul { padding:0; } +/* View On GitHub button */ + header li { list-style-type: none; width:132px; @@ -272,30 +274,30 @@ header li { line-height: 1em; padding: 6px 6px 6px 7px; - background: #AF0011; - background: -moz-linear-gradient(top, #AF0011 0%, #820011 100%); + background: #449186; + background: -moz-linear-gradient(top, #449186 0%, #357067 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd)); - background: -webkit-linear-gradient(top, #AF0011 0%,#820011 100%); - background: -o-linear-gradient(top, #AF0011 0%,#820011 100%); - background: -ms-linear-gradient(top, #AF0011 0%,#820011 100%); - background: linear-gradient(to top, #AF0011 0%,#820011 100%); + background: -webkit-linear-gradient(top, #449186 0%,#357067 100%); + background: -o-linear-gradient(top, #449186 0%,#357067 100%); + background: -ms-linear-gradient(top, #449186 0%,#357067 100%); + background: linear-gradient(to top, #449186 0%,#357067 100%); border-radius:4px; border:1px solid #0D0D0D; - -webkit-box-shadow: inset 0px 1px 1px 0 rgba(233,2,38, 1); - box-shadow: inset 0px 1px 1px 0 rgba(233,2,38, 1); + -webkit-box-shadow: inset 0px 1px 1px 0 rgb(112, 189, 176); + box-shadow: inset 0px 1px 1px 0 rgba(112, 189, 176); } header li:hover { - background: #C3001D; - background: -moz-linear-gradient(top, #C3001D 0%, #950119 100%); + background: #4f9c90; + background: -moz-linear-gradient(top, #4f9c90 0%, #42857b 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd)); - background: -webkit-linear-gradient(top, #C3001D 0%,#950119 100%); - background: -o-linear-gradient(top, #C3001D 0%,#950119 100%); - background: -ms-linear-gradient(top, #C3001D 0%,#950119 100%); - background: linear-gradient(to top, #C3001D 0%,#950119 100%); + background: -webkit-linear-gradient(top, #4f9c90 0%,#42857b 100%); + background: -o-linear-gradient(top, #4f9c90 0%,#42857b 100%); + background: -ms-linear-gradient(top, #4f9c90 0%,#42857b 100%); + background: linear-gradient(to top, #4f9c90 0%,#42857b 100%); } a.buttons { @@ -422,14 +424,3 @@ footer { color:#444; } } - -a.buttons.github { - background: teal; /* Change the background color to teal */ - color: teal; /* Change the text color to teal */ - } - - a.buttons.github:hover { - background: darkcyan; /* Change the background color on hover */ - color: darkcyan; /* Change the text color on hover */ - } - \ No newline at end of file