aboutsummaryrefslogtreecommitdiff
path: root/_static/theme_overrides.css
diff options
context:
space:
mode:
authorPROJ deploybot <proj.bot@proj.bot>2022-03-22 20:00:06 +0000
committerPROJ deploybot <proj.bot@proj.bot>2022-03-22 20:00:06 +0000
commita3f43744feec86272fe532124679d3a013ef9a8c (patch)
tree27e4198db6011e3097eb7bcfe7197684aba7583a /_static/theme_overrides.css
downloadPROJ-gh-pages.tar.gz
PROJ-gh-pages.zip
update with results of commit https://github.com/OSGeo/PROJ/commit/53c07a8bd211b7aee4bc07a9c6726005504b7181gh-pages
Diffstat (limited to '_static/theme_overrides.css')
-rw-r--r--_static/theme_overrides.css70
1 files changed, 70 insertions, 0 deletions
diff --git a/_static/theme_overrides.css b/_static/theme_overrides.css
new file mode 100644
index 00000000..4e612939
--- /dev/null
+++ b/_static/theme_overrides.css
@@ -0,0 +1,70 @@
+/* override table width restrictions */
+@media screen and (min-width: 767px) {
+
+ .wy-table-responsive table td {
+ /* !important prevents the common CSS stylesheets from overriding
+ this as on RTD they are loaded after this stylesheet */
+ white-space: normal !important;
+ }
+
+ .wy-table-responsive {
+ overflow: visible !important;
+ }
+}
+
+/* Align equation numbers to the right of the equation, not above */
+div.math {
+ position: relative;
+ padding-right: 2.5em;
+}
+.eqno {
+ height: 100%;
+ position: absolute;
+ right: 0;
+ padding-left: 5px;
+ padding-bottom: 5px;
+}
+.eqno:before {
+ /* Force vertical alignment of number */
+ display: inline-block;
+ height: 100%;
+ vertical-align: middle;
+ content: "";
+}
+.eqno .headerlink {
+ display: none;
+ visibility: hidden;
+ font-size: 14px;
+ padding-left: .3em;
+}
+.eqno:hover .headerlink {
+ display: inline-block;
+ visibility: hidden;
+ margin-right: -1.05em;
+}
+.eqno .headerlink:after {
+ visibility: visible;
+ content: "\f0c1";
+ font-family: FontAwesome;
+ display: inline-block;
+ margin-left: -.9em;
+}
+/* Make responsive */
+.MathJax_Display {
+ max-width: 100%;
+ overflow-x: auto;
+ overflow-y: hidden;
+}
+
+/* Override style of versionmodified directives */
+.versionadded {
+ font-style: italic;
+}
+
+.versionchanged {
+ font-style: italic;
+}
+
+.deprecated {
+ font-style: italic;
+}