mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-10 15:45:33 -06:00
docs header hover
This commit is contained in:
parent
2811380bbc
commit
07ab6dd7f9
@ -30,7 +30,21 @@ body.page-sub{
|
||||
li > a {
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.buttons.nav > li > a, .buttons.nav > li > a {
|
||||
.transition( background-color 0.3s ease );
|
||||
}
|
||||
|
||||
.buttons.nav > li > a:hover, .buttons.nav > li > a:focus {
|
||||
background-color: black;
|
||||
.transition( background-color 0.3s ease );
|
||||
}
|
||||
|
||||
.main-links.nav > li > a:hover, .main-links.nav > li > a:focus {
|
||||
color: @purple;
|
||||
.transition( color 0.3s ease );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -100,6 +100,23 @@ body.page-sub #header .main-links.navbar-nav {
|
||||
body.page-sub #header .main-links.navbar-nav li > a {
|
||||
color: black;
|
||||
}
|
||||
body.page-sub #header .buttons.nav > li > a,
|
||||
body.page-sub #header .buttons.nav > li > a {
|
||||
-webkit-transition: background-color 0.3s ease;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
body.page-sub #header .buttons.nav > li > a:hover,
|
||||
body.page-sub #header .buttons.nav > li > a:focus {
|
||||
background-color: black;
|
||||
-webkit-transition: background-color 0.3s ease;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
body.page-sub #header .main-links.nav > li > a:hover,
|
||||
body.page-sub #header .main-links.nav > li > a:focus {
|
||||
color: #822ff7;
|
||||
-webkit-transition: color 0.3s ease;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
#header {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
position: relative;
|
||||
|
Loading…
Reference in New Issue
Block a user