add new guide service
This commit is contained in:
162
public/assets/styles/admin-markdown.css
Normal file
162
public/assets/styles/admin-markdown.css
Normal file
@@ -0,0 +1,162 @@
|
||||
/* =========================================================
|
||||
Markdown Guide Styling (Admin Dark)
|
||||
========================================================= */
|
||||
|
||||
.markdown-content {
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.6;
|
||||
color: #e2e2e2;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------
|
||||
Headings
|
||||
--------------------------------------------------------- */
|
||||
|
||||
.markdown-content h1,
|
||||
.markdown-content h2,
|
||||
.markdown-content h3,
|
||||
.markdown-content h4 {
|
||||
font-weight: 600;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.markdown-content h1 {
|
||||
font-size: 1.8rem;
|
||||
border-bottom: 1px solid #333;
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.markdown-content h2 {
|
||||
font-size: 1.4rem;
|
||||
border-bottom: 1px solid #222;
|
||||
padding-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
.markdown-content h3 {
|
||||
font-size: 1.15rem;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------
|
||||
Paragraphs
|
||||
--------------------------------------------------------- */
|
||||
|
||||
.markdown-content p {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------
|
||||
Lists
|
||||
--------------------------------------------------------- */
|
||||
|
||||
.markdown-content ul,
|
||||
.markdown-content ol {
|
||||
padding-left: 1.5rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.markdown-content li {
|
||||
margin-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------
|
||||
Links
|
||||
--------------------------------------------------------- */
|
||||
|
||||
.markdown-content a {
|
||||
color: #0dcaf0;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.markdown-content a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------
|
||||
Inline Code
|
||||
--------------------------------------------------------- */
|
||||
|
||||
.markdown-content code {
|
||||
background: #1e1e1e;
|
||||
color: #ffc107;
|
||||
padding: 3px 6px;
|
||||
border-radius: 4px;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------
|
||||
Code Blocks
|
||||
--------------------------------------------------------- */
|
||||
|
||||
.markdown-content pre {
|
||||
background: #111;
|
||||
padding: 16px;
|
||||
border-radius: 6px;
|
||||
overflow-x: auto;
|
||||
border: 1px solid #222;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.markdown-content pre code {
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
color: #e2e2e2;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------
|
||||
Tables
|
||||
--------------------------------------------------------- */
|
||||
|
||||
.markdown-content table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-bottom: 1.5rem;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.markdown-content th {
|
||||
background: #1a1a1a;
|
||||
border: 1px solid #333;
|
||||
padding: 8px;
|
||||
text-align: left;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.markdown-content td {
|
||||
border: 1px solid #333;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.markdown-content tr:nth-child(even) {
|
||||
background: #141414;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------
|
||||
Blockquotes
|
||||
--------------------------------------------------------- */
|
||||
|
||||
.markdown-content blockquote {
|
||||
border-left: 4px solid #0dcaf0;
|
||||
padding-left: 1rem;
|
||||
margin: 1rem 0;
|
||||
color: #cfcfcf;
|
||||
background: #151515;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------
|
||||
Horizontal Rule
|
||||
--------------------------------------------------------- */
|
||||
|
||||
.markdown-content hr {
|
||||
border: none;
|
||||
border-top: 1px solid #333;
|
||||
margin: 2rem 0;
|
||||
}
|
||||
|
||||
.guide-item:hover {
|
||||
background-color: #151515 !important;
|
||||
}
|
||||
|
||||
.guide-item .fw-semibold {
|
||||
letter-spacing: 0.2px;
|
||||
}
|
||||
Reference in New Issue
Block a user