home/assets/_custom.scss

94 lines
1.2 KiB
SCSS
Raw Normal View History

2024-11-10 20:31:38 +00:00
.book-menu-content nav {
2024-11-10 14:25:55 +00:00
display: flex;
flex-direction: column;
height: 99%;
2024-11-10 00:33:32 +00:00
}
2024-11-10 20:31:38 +00:00
.book-brand {
margin: 0;
2024-11-10 14:37:45 +00:00
}
2024-11-10 20:31:38 +00:00
.book-search {
margin: 0;
}
2024-11-10 14:25:55 +00:00
.book-menu-mid {
2024-11-10 20:31:38 +00:00
margin-top: -1rem;
2024-11-10 14:25:55 +00:00
flex-grow: 1;
2024-11-10 00:33:32 +00:00
}
2024-11-10 20:31:38 +00:00
2024-11-10 00:33:32 +00:00
.info-container {
background-color: var(--gray-100);
position: relative;
min-width: 30rem;
bottom: 0;
left: 0;
right: 0;
}
.commit-info {
font-size: 0.8rem;
margin: 1rem;
}
.commit-info {
text-align: left;
}
.disclaimer {
float: left;
font-size: 0.9rem;
margin: 1rem;
}
2024-11-17 23:43:38 +00:00
.section-content {
display: none; /* Hide sections by default */
transition: max-height 0.3s ease-out;
}
.section-content.open {
display: block; /* Show sections when toggled */
}
.toggle-section {
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
}
2024-11-17 23:50:24 +00:00
.toggle-section :hover {
color: #AC9C6D;
}
2024-11-17 23:43:38 +00:00
.arrow {
font-size: 0.55em;
margin-left: 10px;
transform: rotate(270deg);
}
.arrow.up {
transform: rotate(0deg);
}
2024-11-10 00:33:32 +00:00
#personal {
width: 50%;
min-width: 40px;
max-width: 550px;
float: right;
padding: 10px;
display: block;
}
@media only screen and (max-width : 575px) {
#personal {
min-width: 40px;
max-width: 180px;
float: center;
padding: 0px 0px 0px 0px;
display: block;
}
}