65 lines
1.1 KiB
CSS
65 lines
1.1 KiB
CSS
/* RustyTorch++ Custom Styles */
|
|
|
|
/* Code block enhancements */
|
|
pre {
|
|
border-radius: 6px;
|
|
padding: 1em;
|
|
}
|
|
|
|
/* Table styling */
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin: 1em 0;
|
|
}
|
|
|
|
th, td {
|
|
padding: 0.5em 1em;
|
|
border: 1px solid var(--table-border-color);
|
|
}
|
|
|
|
th {
|
|
background-color: var(--table-header-bg);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Admonition blocks */
|
|
.warning {
|
|
background-color: #fff3cd;
|
|
border-left: 4px solid #ffc107;
|
|
padding: 1em;
|
|
margin: 1em 0;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.info {
|
|
background-color: #cce5ff;
|
|
border-left: 4px solid #007bff;
|
|
padding: 1em;
|
|
margin: 1em 0;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.tip {
|
|
background-color: #d4edda;
|
|
border-left: 4px solid #28a745;
|
|
padding: 1em;
|
|
margin: 1em 0;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Command line examples */
|
|
.command {
|
|
background-color: #1e1e1e;
|
|
color: #dcdcdc;
|
|
padding: 0.5em 1em;
|
|
border-radius: 4px;
|
|
font-family: 'Fira Code', 'Consolas', monospace;
|
|
}
|
|
|
|
/* Performance metrics highlighting */
|
|
.metric {
|
|
font-weight: bold;
|
|
color: #28a745;
|
|
}
|