mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
Use a highlight instead of zoom for hovering on subsections
It fits the rest of the theme's style better
This commit is contained in:
parent
14121f2269
commit
91c554ef83
@ -48,14 +48,14 @@
|
|||||||
/* Subsection formatting */
|
/* Subsection formatting */
|
||||||
.section {
|
.section {
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
transition: transform .2s;
|
|
||||||
background-color: #222;
|
background-color: #222;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
padding: 1px 25px;
|
padding: 1px 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section:hover {
|
.section:hover {
|
||||||
transform: scale(1.025);
|
background-color: #333;
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-title {
|
.section-title {
|
||||||
|
Loading…
Reference in New Issue
Block a user