update
This commit is contained in:
@@ -887,11 +887,123 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Specific consistent white background for content boxes */
|
/* Specific consistent white background for content boxes */
|
||||||
.repository .markdown .emoji,
|
|
||||||
.repository .file-view {
|
.repository .file-view {
|
||||||
background: rgba(255, 255, 255, 0.75) !important;
|
background: rgba(255, 255, 255, 0.75) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Remove ALL borders from emoji elements and fix overlap */
|
||||||
|
.repository .markdown .emoji,
|
||||||
|
.repository .markdown span.emoji,
|
||||||
|
.repository .file-view .emoji,
|
||||||
|
span.emoji {
|
||||||
|
border: none !important;
|
||||||
|
border-top: none !important;
|
||||||
|
border-bottom: none !important;
|
||||||
|
border-left: none !important;
|
||||||
|
border-right: none !important;
|
||||||
|
text-decoration: none !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
outline: none !important;
|
||||||
|
background: transparent !important;
|
||||||
|
display: inline !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
margin: 0 0.125rem !important;
|
||||||
|
vertical-align: baseline !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Remove borders from headings that contain emojis */
|
||||||
|
.repository .markdown h1,
|
||||||
|
.repository .markdown h2,
|
||||||
|
.repository .markdown h3,
|
||||||
|
.repository .markdown h4 {
|
||||||
|
border-bottom: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Remove borders from bold/strong elements in markdown */
|
||||||
|
.repository .markdown strong,
|
||||||
|
.repository .markdown b,
|
||||||
|
.repository .markdown em,
|
||||||
|
.repository .markdown i {
|
||||||
|
border: none !important;
|
||||||
|
border-bottom: none !important;
|
||||||
|
text-decoration: none !important;
|
||||||
|
background: transparent !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Aggressively remove ALL borders from markdown lists and items */
|
||||||
|
.repository .markdown ul,
|
||||||
|
.repository .markdown ol,
|
||||||
|
.repository .markdown ul li,
|
||||||
|
.repository .markdown ol li,
|
||||||
|
.repository .markdown li *,
|
||||||
|
.repository .markdown ul > li,
|
||||||
|
.repository .markdown ol > li {
|
||||||
|
border: none !important;
|
||||||
|
border-top: none !important;
|
||||||
|
border-bottom: none !important;
|
||||||
|
border-left: none !important;
|
||||||
|
border-right: none !important;
|
||||||
|
outline: none !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Remove any table-like borders that might appear */
|
||||||
|
.repository .markdown table,
|
||||||
|
.repository .markdown tr,
|
||||||
|
.repository .markdown td,
|
||||||
|
.repository .markdown th {
|
||||||
|
border-collapse: collapse !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Remove borders from Gitea's ambiguous character warnings - VERY AGGRESSIVE */
|
||||||
|
.repository .markdown .ambiguous-code-point,
|
||||||
|
.repository .markdown .ambiguous-code-point .char,
|
||||||
|
.repository .markdown span.ambiguous-code-point,
|
||||||
|
.repository .markdown p .ambiguous-code-point,
|
||||||
|
.repository .markdown p span.ambiguous-code-point,
|
||||||
|
.repository .file-view .markdown .ambiguous-code-point,
|
||||||
|
span.ambiguous-code-point {
|
||||||
|
border: none !important;
|
||||||
|
border-top: none !important;
|
||||||
|
border-bottom: none !important;
|
||||||
|
border-left: none !important;
|
||||||
|
border-right: none !important;
|
||||||
|
text-decoration: none !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
background: transparent !important;
|
||||||
|
outline: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Remove underlines from markdown links for cleaner look - ULTRA AGGRESSIVE */
|
||||||
|
.repository .markdown a,
|
||||||
|
.repository .markdown p a,
|
||||||
|
.repository .file-view a,
|
||||||
|
.repository .markdown a[href] {
|
||||||
|
text-decoration: none !important;
|
||||||
|
text-decoration-line: none !important;
|
||||||
|
text-decoration-style: none !important;
|
||||||
|
border: none !important;
|
||||||
|
border-bottom: none !important;
|
||||||
|
border-top: none !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
outline: none !important;
|
||||||
|
color: #8CA9FF !important;
|
||||||
|
transition: color 0.2s ease !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.repository .markdown a:hover,
|
||||||
|
.repository .markdown p a:hover {
|
||||||
|
color: #6B8FE8 !important;
|
||||||
|
text-decoration: none !important;
|
||||||
|
border-bottom: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Remove borders from any parent containers of links */
|
||||||
|
.repository .markdown p:has(a),
|
||||||
|
.repository .markdown div:has(a) {
|
||||||
|
border-bottom: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* ========================================
|
/* ========================================
|
||||||
DASHBOARD REPOSITORY SIDEBAR TABS FIX
|
DASHBOARD REPOSITORY SIDEBAR TABS FIX
|
||||||
======================================== */
|
======================================== */
|
||||||
|
|||||||
Reference in New Issue
Block a user