.wy-nav-content {
max-width: 100%;
padding: 1.618em 3.236em;
}
@media screen and (max-width: 768px) {
.wy-nav-content {
padding: 1.618em;
}
.wy-table-responsive table td,
.wy-table-responsive table th {
white-space: normal !important;
}
.wy-table-responsive {
overflow-x: auto;
display: block;
}
}
pre {
white-space: pre-wrap;
word-wrap: break-word;
}
img {
max-width: 100%;
height: auto;
}
.project-links {
margin-top: 15px;
display: flex;
flex-direction: row;
gap: 8px;
justify-content: center;
flex-wrap: wrap;
}
.project-link {
display: inline-block;
padding: 8px 12px;
background-color: #2980b9;
color: white !important;
text-decoration: none !important;
border-radius: 4px;
font-size: 14px;
text-align: center;
transition: background-color 0.3s ease;
flex: 1;
min-width: 120px;
}
.project-link:hover {
background-color: #1f618d;
color: white !important;
}
.project-link i {
margin-right: 5px;
}
.right-toc {
position: fixed;
top: 50%;
right: 20px;
transform: translateY(-50%);
width: 250px;
background-color: #f8f8f8;
border: 1px solid #e7e7e7;
border-radius: 4px;
padding: 15px;
max-height: 80vh;
overflow-y: auto;
z-index: 1000;
display: none;
}
.right-toc.visible {
display: block;
}
.right-toc-title {
font-weight: bold;
margin-bottom: 10px;
padding-bottom: 5px;
border-bottom: 1px solid #e7e7e7;
}
.right-toc ul {
list-style-type: none;
padding-left: 10px;
margin: 0;
}
.right-toc li {
margin-bottom: 5px;
}
.right-toc a {
color: #2980b9;
text-decoration: none;
font-size: 14px;
}
.right-toc a:hover {
color: #1f618d;
text-decoration: underline;
}
.right-toc-toggle {
position: fixed;
top: 20px;
right: 20px;
background-color: #2980b9;
color: white;
border: none;
border-radius: 50%;
width: 40px;
height: 40px;
cursor: pointer;
z-index: 1001;
display: flex;
align-items: center;
justify-content: center;
}
.right-toc-toggle:hover {
background-color: #1f618d;
}
@media screen and (max-width: 1200px) {
.right-toc {
width: 200px;
}
}
@media screen and (max-width: 992px) {
.right-toc {
width: 100%;
right: 0;
left: 0;
transform: none;
top: auto;
bottom: 0;
max-height: 50vh;
}
}
@media screen and (min-width: 993px) {
.wy-nav-content {
margin-right: 270px;
}
}
.wy-menu {
ul>li>a:nth-child(2) {
display: none;
}
}