mirror of
https://github.com/lichess-org/lila.git
synced 2026-05-26 13:51:00 +00:00
78 lines
1.1 KiB
SCSS
78 lines
1.1 KiB
SCSS
.nav-tree {
|
|
h2 {
|
|
margin-bottom: 1em;
|
|
padding-bottom: 0.3em;
|
|
border-bottom: $border;
|
|
}
|
|
|
|
.node {
|
|
transition: 1s all;
|
|
height: 0;
|
|
opacity: 0;
|
|
overflow: hidden;
|
|
transform: translateX(30px);
|
|
}
|
|
|
|
.node:target {
|
|
height: auto;
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.node .back {
|
|
width: 1em;
|
|
margin-inline: 0 0.3em;
|
|
display: inline-block;
|
|
opacity: 0.6;
|
|
|
|
&:hover {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.branch {
|
|
.content {
|
|
@extend %box-radius;
|
|
|
|
background: $c-bg-zebra;
|
|
margin: 3em 0;
|
|
padding: 2em 3em;
|
|
}
|
|
|
|
.links a {
|
|
@extend %box-radius;
|
|
@include transition;
|
|
|
|
font-size: 1.2em;
|
|
display: block;
|
|
padding: 1em;
|
|
padding-inline-start: 30px;
|
|
|
|
&:hover {
|
|
color: $c-over;
|
|
background: $c-primary;
|
|
}
|
|
}
|
|
}
|
|
|
|
.leaf {
|
|
a {
|
|
color: #3893e8 !important;
|
|
}
|
|
|
|
.content {
|
|
padding: 1em 0;
|
|
font-size: 1.1em;
|
|
|
|
p,
|
|
ul {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
li {
|
|
list-style: disc inside;
|
|
}
|
|
}
|
|
}
|
|
}
|