First commit
This commit is contained in:
37
assets/main.scss
Normal file
37
assets/main.scss
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
---
|
||||
|
||||
@import 'minima';
|
||||
|
||||
/* Minimal Tweaks for the Tree Component */
|
||||
details > summary {
|
||||
list-style: none; /* Hides default triangle in some browsers */
|
||||
}
|
||||
|
||||
details > summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.site-header {
|
||||
border-top: none; /* Removes the top grey line (your previous request) */
|
||||
|
||||
/* Sticky Logic */
|
||||
position: sticky; /* Stick to the viewport */
|
||||
top: 0; /* Stick exactly at the top */
|
||||
z-index: 1000; /* Ensure it sits above all other content */
|
||||
background-color: #fff; /* White background to hide scrolling content */
|
||||
|
||||
/* Optional: Adds a subtle shadow when scrolling for better separation */
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
body {
|
||||
caret-color: transparent;
|
||||
}
|
||||
|
||||
/* 2. Restore the cursor for actual input fields so users can type */
|
||||
input,
|
||||
textarea,
|
||||
[contenteditable] {
|
||||
caret-color: auto;
|
||||
}
|
||||
Reference in New Issue
Block a user