mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove unused Vazirmatn font-family from RTL themes
This commit is contained in:
parent
01ae4843f9
commit
886ba964d1
@ -1,81 +1,8 @@
|
||||
{% if theme_is_rtl|tobool %}
|
||||
|
||||
@font-face {
|
||||
font-family: Vazirmatn;
|
||||
src: url('fonts/vazir/Vazirmatn-Thin.woff2') format('woff2');
|
||||
font-weight: 100;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Vazirmatn;
|
||||
src: url('fonts/vazir/Vazirmatn-ExtraLight.woff2') format('woff2');
|
||||
font-weight: 200;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Vazirmatn;
|
||||
rc: url('fonts/vazir/Vazirmatn-Light.woff2') format('woff2');
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Vazirmatn;
|
||||
src: url('fonts/vazir/Vazirmatn-Regular.woff2') format('woff2');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Vazirmatn;
|
||||
src: url('fonts/vazir/Vazirmatn-Medium.woff2') format('woff2');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Vazirmatn;
|
||||
src: url('fonts/vazir/Vazirmatn-SemiBold.woff2') format('woff2');
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Vazirmatn;
|
||||
src: url('fonts/vazir/Vazirmatn-Bold.woff2') format('woff2');
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Vazirmatn;
|
||||
src: url('fonts/vazir/Vazirmatn-ExtraBold.woff2') format('woff2');
|
||||
font-weight: 800;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Vazirmatn;
|
||||
src: url('fonts/vazir/Vazirmatn-Black.woff2') format('woff2');
|
||||
font-weight: 900;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
/* Core RTL layout */
|
||||
body {
|
||||
direction: rtl !important;
|
||||
font-family: Vazirmatn !important;
|
||||
}
|
||||
|
||||
/* Layout adjustments */
|
||||
|
@ -3,7 +3,6 @@
|
||||
/* Core RTL overrides for Nonav theme */
|
||||
body {
|
||||
direction: rtl !important;
|
||||
font-family: Vazirmatn !important;
|
||||
text-align: right !important;
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,6 @@
|
||||
/* Core RTL layout for Scrolls theme */
|
||||
body {
|
||||
direction: rtl !important;
|
||||
font-family: Vazirmatn !important;
|
||||
text-align: right !important;
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,6 @@
|
||||
/* Core RTL layout for Traditional theme */
|
||||
body {
|
||||
direction: rtl !important;
|
||||
font-family: Vazirmatn, avantgarde, sans-serif !important;
|
||||
}
|
||||
|
||||
/* Layout adjustments */
|
||||
|
Loading…
Reference in New Issue
Block a user