body {
background: #fdf2f8;
color: #4a3b5c;
line-height: 1.6;
padding: 20px;
max-width: 800px;
margin: 0 auto;
}
h1 {
text-align: center;
font-size: 2rem;
margin: 20px 0;
color: #6b5b95;
letter-spacing: 2px;
}
.divider {
text-align: center;
color: #b8a9c9;
margin: 10px 0 30px;
}
.toc-container {
background: #fff;
border-radius: 20px;
padding: 30px;
box-shadow: 0 4px 20px rgba(107, 91, 149, 0.1);
margin-bottom: 40px;
}
.toc-container h2 {
text-align: center;
color: #6b5b95;
margin-bottom: 25px;
font-size: 1.5rem;
}
.toc-item {
display: block;
padding: 12px 20px;
margin: 10px 0;
background: #f8f0f7;
border-radius: 12px;
color: #6b5b95;
text-decoration: none;
transition: all 0.25s;
}
.toc-item:hover {
background: #f0e4f5;
transform: translateX(5px);
}
.toc-item:nth-child(2) {
background: #e8f5e9;
color: #2e7d32;
}
.toggle-section {
margin: 20px 0;
}
.paper-bubble {
background: #fff;
border-radius: 16px;
padding: 20px;
box-shadow: 0 2px 12px rgba(107, 91, 149, 0.08);
margin-bottom: 15px;
}
.toggle-label {
display: flex;
align-items: center;
cursor: pointer;
font-weight: 500;
color: #6b5b95;
}
.toggle-checkbox {
display: none;
}
.toggle-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.35s ease-out, padding 0.35s;
padding: 0 10px;
}
.toggle-checkbox:checked ~ .toggle-content {
max-height: 2000px;
padding: 15px 10px 5px;
}
.content-block {
background: #faf7fc;
border-radius: 10px;
padding: 15px;
margin: 10px 0;
}
.back-toc {
display: inline-block;
margin-top: 20px;
color: #6b5b95;
text-decoration: none;
font-size: 0.9rem;
border-bottom: 1px dashed #b8a9c9;
}
.back-toc:hover {
color: #4a3b7a;
}
[contenteditable="true"] {
border-bottom: 1px dashed #b8a9c9;
outline: none;
padding: 2px 4px;
transition: all 0.2s;
}
[contenteditable="true"]:focus {
background: #f3e5f5;
border-radius: 4px;
}
Shared snapshot