Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2017-06-29 10:19:21 +0300
committerAchilleas Pipinellis <axilleas@axilleas.me>2017-06-29 10:25:55 +0300
commit42a96be1942090ba019fec01cacaf52aaa8eb5c4 (patch)
tree7ed2fa7996109fedf9c696479f8e00eae42f9211 /content
parent4daf1bdbe303f4bbb73583f993ce64e6fc34e14b (diff)
Add subfooter with links to site source code and Pages
Diffstat (limited to 'content')
-rw-r--r--content/assets/stylesheets/footer.scss23
1 files changed, 22 insertions, 1 deletions
diff --git a/content/assets/stylesheets/footer.scss b/content/assets/stylesheets/footer.scss
index 4f666873..c996df1f 100644
--- a/content/assets/stylesheets/footer.scss
+++ b/content/assets/stylesheets/footer.scss
@@ -1,5 +1,5 @@
---
-version: 1
+version: 2
---
$color-white: #fff;
@@ -21,6 +21,7 @@ $color-primary: #548;
$color-primary-alt: #6b4fbb;
$color-secondary: #e14329;
$color-secondary-alt: #fba225;
+$color-subfooter-bg: rgb(85, 68, 136);
$color-primary-medium: #503991;
@@ -276,3 +277,23 @@ $linkedin-bg: #007bb5;
margin-left: -15px;
margin-right: -15px;
}
+
+.source-link {
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ padding: 1rem;
+ font-size: 15px;
+ background-color: $color-subfooter-bg;
+ z-index: 9;
+
+ a {
+ color: $color-secondary-alt;
+ text-decoration: none;
+
+ &:hover {
+ text-decoration: underline;
+ }
+ }
+}