Skip to content

Commit

Permalink
merge old overrides.css with new
Browse files Browse the repository at this point in the history
  • Loading branch information
i74ifa committed Jan 15, 2025
1 parent 86efe4f commit 56e3f12
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions .vitepress/theme/styles/overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,34 @@
'Courier New', monospace !important;
}

.VPSidebar,
.vt-doc.guide,
.vt-doc.api,
.VPContentDocOutline,
.edit-link {
direction: rtl;
}


pre {
direction: ltr;
}
.vt-doc .custom-block {
padding: 22px 24px 4px 20px !important;
}
.vt-doc .custom-block:before {
content: 'ⓘ';
position: absolute;
font-weight: 600;
font-size: 15px;
top: 28px;
right: 12px;
}

.vt-doc .custom-block-title {
margin-right: 14px;
}

/* Firefox */
* {
scrollbar-width: thin;
Expand Down Expand Up @@ -79,14 +107,25 @@ li {
}

.vt-doc ul {
padding-left: auto;
padding-right: 1.25rem;
padding-left: 0 !important;
}

.vt-doc ul > li:before {
content: '•';
right: -1.25rem;
}

.ar.vue-mastery-link .description {
margin-right: 16px;
}

.vt-doc a[href^="https://sfc.vuejs.org"]:before
{
padding-right: 2.5px;
}

.vt-doc .custom-block {
padding: 20px 40px 4px 42px !important;
}
Expand All @@ -101,11 +140,14 @@ li {
}

.vt-doc .header-anchor {
position: absolute;
right: -24px;
float: right !important;
margin-right: -1.1em;
padding-left: 0.23em;
}


.vt-icon {
margin-right: 0px !important;
margin-left: 8px;
Expand Down Expand Up @@ -178,4 +220,27 @@ li {

.vt-badge.dev-only:before {
content: 'فقط في وضع التطوير';
}


.vt-doc ol > li:before {
left: auto;
right: 2px;
}

.vt-doc ol > li p {
padding-right: 1.25rem;
}

.vt-badge.experimental:before {
content: 'تجريبي';
}

.demo label {
margin: 0 0.3em 0 1em;
}
.vt-doc blockquote {
border-left:none!important;
border-right: 0.2rem solid var(--vt-c-divider);
padding-right: 1rem;
}

0 comments on commit 56e3f12

Please sign in to comment.