95 lines
1.8 KiB
CSS
95 lines
1.8 KiB
CSS
|
|
.markdown-editor-container {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
background-color: #f8f9fa;
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
|
|
.markdown-editor-header {
|
|
text-align: center;
|
|
font-size: 1.8rem;
|
|
font-weight: bold;
|
|
margin-bottom: 20px;
|
|
color: #363636;
|
|
}
|
|
|
|
|
|
.markdown-editor-form .field {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
|
|
.markdown-editor-form .label {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: #4a4a4a;
|
|
}
|
|
|
|
|
|
.markdown-editor-form .input,
|
|
.markdown-editor-form .textarea {
|
|
font-size: 1rem;
|
|
border-radius: 6px;
|
|
border: 1px solid #dcdcdc;
|
|
transition: border-color 0.3s ease, box-shadow 0.3s ease;
|
|
height: 70vh !important;
|
|
resize: vertical;
|
|
}
|
|
|
|
.markdown-editor-form .input:focus,
|
|
.markdown-editor-form .textarea:focus {
|
|
border-color: #3273dc;
|
|
box-shadow: 0 0 0 0.125em rgba(50, 115, 220, 0.25);
|
|
outline: none;
|
|
}
|
|
|
|
|
|
.markdown-editor-form .button {
|
|
width: 100%;
|
|
font-size: 1.1rem;
|
|
padding: 10px 15px;
|
|
border-radius: 6px;
|
|
transition: background-color 0.3s ease, transform 0.2s ease;
|
|
}
|
|
|
|
.markdown-editor-form .button:hover {
|
|
background-color: #276cda;
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
|
|
.markdown-editor-notification {
|
|
text-align: center;
|
|
font-size: 1.2rem;
|
|
font-weight: bold;
|
|
margin-bottom: 20px;
|
|
padding: 10px 15px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.katex-display {
|
|
margin: 1em 0;
|
|
text-align: center;
|
|
}
|
|
.katex {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
code {
|
|
font-family: 'Courier New', Courier, monospace;
|
|
background-color: #f4f4f4;
|
|
padding: 2px 4px;
|
|
border-radius: 4px;
|
|
}
|
|
pre {
|
|
background-color: #2d2d2d;
|
|
color: #f8f8f2;
|
|
padding: 10px;
|
|
border-radius: 6px;
|
|
overflow-x: auto;
|
|
} |