mirror of
https://github.com/KevinMidboe/brewPi.git
synced 2025-10-29 08:40:13 +00:00
.link animated style on hover & --orange
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
--text-color: black;
|
--text-color: black;
|
||||||
--red: #ff97a3;
|
--red: #ff97a3;
|
||||||
--blue: #9ad9ff;
|
--blue: #9ad9ff;
|
||||||
|
--orange: orange;
|
||||||
--green: #19a786;
|
--green: #19a786;
|
||||||
|
|
||||||
--header-height: 80px;
|
--header-height: 80px;
|
||||||
@@ -39,6 +40,21 @@ a {
|
|||||||
text-decoration: inherit; /* no underline */
|
text-decoration: inherit; /* no underline */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.link {
|
||||||
|
--color-text: white;
|
||||||
|
text-decoration: none;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
-webkit-transition: -webkit-transform 0.15s linear;
|
||||||
|
transition: transform 0.15s linear;
|
||||||
|
-webkit-transform-origin: 50% 80%;
|
||||||
|
transform-origin: 50% 80%;
|
||||||
|
border-bottom: 2px solid var(--green);
|
||||||
|
}
|
||||||
|
a.link:hover {
|
||||||
|
border-color: white;
|
||||||
|
transform: skew(-15deg);
|
||||||
|
}
|
||||||
|
|
||||||
ul,
|
ul,
|
||||||
li {
|
li {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
$tablet-width: 1200px;
|
$tablet-width: 1200px;
|
||||||
$mobile-width: 768px;
|
$mobile-width: 768px;
|
||||||
|
|
||||||
@mixin tablet {
|
@mixin mobile {
|
||||||
@media (min-width: #{$mobile-width}) {
|
@media (max-width: #{$mobile-width}) {
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin mobile {
|
@mixin tablet {
|
||||||
@media (max-width: #{$mobile-width}) {
|
@media (min-width: #{$mobile-width}) {
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -29,4 +29,4 @@ $mobile-width: 768px;
|
|||||||
@include tablet {
|
@include tablet {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user