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

github.com/hossainemruz/toha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorPablo Marcos <48572431+MarionMoseby@users.noreply.github.com>2021-09-24 20:40:41 +0300
committerGitHub <noreply@github.com>2021-09-24 20:40:41 +0300
commitbb01f1a9752ad6920cfe794892267706f859389c (patch)
tree9cc5094d5cf8383ce0c176e3af0ea72e75bf4369 /static
parent069b0aa3281b30172a458d4b32acaff559df0beb (diff)
Added some social buttons to the "Post" template (#415)
* Added new 'GitForge' param for non-git repos * Added some (optional) social buttons * Small fix for hardcoded values * Update single.html * Update look & feel for share buttons Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Fix improve-this-page btn alignment when share-buttons disabled Signed-off-by: hossainemruz <hossainemruz@gmail.com> Co-authored-by: Pablo Marcos <codebergflamingo@staplehorse.anonaddy.com> Co-authored-by: hossainemruz <hossainemruz@gmail.com>
Diffstat (limited to 'static')
-rw-r--r--static/css/layouts/main.css14
-rw-r--r--static/css/layouts/single.css69
2 files changed, 73 insertions, 10 deletions
diff --git a/static/css/layouts/main.css b/static/css/layouts/main.css
index 467bd4e..bc96652 100644
--- a/static/css/layouts/main.css
+++ b/static/css/layouts/main.css
@@ -50,17 +50,17 @@ a:hover {
}
.btn-dark {
- background-color: #3c4858;
- border-color: #3c4858;
- color: #e5e9f2;
- transition: all 0.3s ease-out;
+ background-color: #3c4858!important;
+ border-color: #3c4858!important;
+ color: #e5e9f2!important;
+ transition: all 0.3s ease-out!important;
}
.btn-dark:hover,
.btn-dark:focus {
- background-color: #248aaa;
- border-color: #248aaa;
- transition: all 0.3s ease-out;
+ background-color: #248aaa!important;
+ border-color: #248aaa!important;
+ transition: all 0.3s ease-out!important;
}
.btn-outline-info {
diff --git a/static/css/layouts/single.css b/static/css/layouts/single.css
index 2a17024..0215391 100644
--- a/static/css/layouts/single.css
+++ b/static/css/layouts/single.css
@@ -205,6 +205,69 @@ h6 {
padding: 10px;
}
+.share-buttons .btn {
+ color: #e5e9f2 !important;
+ transition: all 0.3s ease-out !important;
+}
+
+.share-buttons .btn:hover,
+.share-buttons .btn:focus {
+ background-color: #248aaa !important;
+ border-color: #248aaa !important;
+ transition: all 0.3s ease-out !important;
+}
+
+.share-buttons .facebook-btn {
+ background-color: #4267b2 !important;
+ border-color: #4267b2 !important;
+}
+
+.share-buttons .twitter-btn {
+ background-color: #1da1f2 !important;
+ border-color: #1da1f2 !important;
+}
+
+.share-buttons .reddit-btn {
+ background-color: #ff4500 !important;
+ border-color: #ff4500 !important;
+}
+
+.share-buttons .tumblr-btn {
+ background-color: #34465d !important;
+ border-color: #34465d !important;
+}
+
+.share-buttons .pocket-btn {
+ background-color: #ef4056 !important;
+ border-color: #ef4056 !important;
+}
+
+.share-buttons .linkedin-btn {
+ background-color: #2867b2 !important;
+ border-color: #2867b2 !important;
+}
+
+.share-buttons .diaspora-btn {
+ background-color: #3c4858 !important;
+ border-color: #3c4858 !important;
+}
+
+.share-buttons .mastodon-btn {
+ background-color: #2791da !important;
+ border-color: #2791da !important;
+}
+
+.share-buttons .whatsapp-btn {
+ background-color: #4ac959 !important;
+ border-color: #4ac959 !important;
+}
+
+.share-buttons .email-btn {
+ background-color: #3c4858 !important;
+ border-color: #3c4858 !important;
+ transition: all 0.3s ease-out !important;
+}
+
.btn-improve-page {
text-align: right;
}
@@ -240,13 +303,13 @@ h6 {
text-align: center;
}
.taxonomy-terms li {
- font-size: .8em;
+ font-size: 0.8em;
list-style-type: none;
display: inline-block;
- background: #248aaa;
+ background: #248aaa;
}
-.taxonomy-terms a{
+.taxonomy-terms a {
color: #f9fafc;
}