mylloon.fr/static/css/cours.css

48 lines
557 B
CSS
Raw Normal View History

2023-11-01 12:59:40 +01:00
/* Filetree */
aside {
float: left;
margin-left: 20px;
2023-12-10 19:19:48 +01:00
position: sticky;
top: 0;
2023-11-01 12:59:40 +01:00
}
aside ul {
list-style: none;
padding-left: 0.6em;
}
aside li {
position: relative;
}
/* Element */
aside li:before {
content: "";
position: absolute;
top: -0.2em;
left: -1em;
height: 1em;
}
aside li.collapsed > ul {
display: none;
}
aside li.directory::before {
content: "+";
}
aside li:not(.collapsed).directory::before {
content: "-";
}
aside li.directory {
cursor: pointer;
}
2023-11-02 19:35:08 +01:00
@media print {
aside {
visibility: hidden;
}
}