mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-30 19:50:01 +02:00
sticky at large-enough only
This commit is contained in:
@@ -163,11 +163,13 @@ main {
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
#chapters section h1 {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 2;
|
||||
border-bottom: 1px solid black;
|
||||
@media screen and (min-width: 768px) {
|
||||
#chapters section h1 {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 2;
|
||||
border-bottom: 1px solid black;
|
||||
}
|
||||
}
|
||||
|
||||
#chapters section > h1 > a {
|
||||
|
Reference in New Issue
Block a user