home/assets/_custom.scss

93 lines
1.2 KiB
SCSS

.book-menu-content nav {
display: flex;
flex-direction: column;
height: 99%;
}
.book-brand {
margin: 0;
}
.book-search {
margin: 0;
}
.book-menu-mid {
margin-top: -1rem;
flex-grow: 1;
}
.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;
}
.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;
}
.toggle-section :hover {
color: #AC9C6D;
}
.arrow {
font-size: 0.55em;
margin-left: 10px;
transform: rotate(270deg);
}
.arrow.up {
transform: rotate(0deg);
}
#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;
}
}