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

github.com/vaga/hugo-theme-m10c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpasztorpisti <pasztorpisti@gmail.com>2019-05-22 04:38:07 +0300
committerFabien <vaga@users.noreply.github.com>2019-05-22 10:30:46 +0300
commit2a1cbebf8ceb72826b51962ea7bbb0947b901a0d (patch)
tree8d58e10a35b14595225de11e32b56d08de87b5ae
parentd670f81af2bc0f74d494a42743ddcbdd8deaf1b9 (diff)
Make 'a' and '.tag' transitions shorter
-rw-r--r--assets/css/_base.scss2
-rw-r--r--assets/css/components/_tag.scss4
2 files changed, 3 insertions, 3 deletions
diff --git a/assets/css/_base.scss b/assets/css/_base.scss
index 613e9ce..9848303 100644
--- a/assets/css/_base.scss
+++ b/assets/css/_base.scss
@@ -19,7 +19,7 @@ h1, h2, h3, h4, h5, h6 {
a {
color: $primary-color;
- transition: color 0.8s;
+ transition: color 0.35s;
text-decoration: none;
&:hover {
diff --git a/assets/css/components/_tag.scss b/assets/css/components/_tag.scss
index 9b27ec3..8bf628a 100644
--- a/assets/css/components/_tag.scss
+++ b/assets/css/components/_tag.scss
@@ -6,10 +6,10 @@
border-radius: 0.2em;
white-space: nowrap;
background: rgba(255, 255, 255, 0.1);
- transition: color 0.8s, background 0.8s;
+ transition: color 0.35s, background 0.35s;
&:hover {
- transition: color 0.8s;
+ transition: color 0.25s, background 0.05s;
background: rgba(255, 255, 255, 0.3);
}
}