mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 11:51:05 -05:00
Rework editorconfig
* Most file types prefer 2-space indents, so now default to that and list the exceptions * Add max_line_length=120 for .py files (Django convention) * Bat files require CRLF
This commit is contained in:
48
docs/_static/anymail-theme.css
vendored
48
docs/_static/anymail-theme.css
vendored
@@ -4,41 +4,41 @@
|
||||
/* Regression: https://github.com/rtfd/sphinx_rtd_theme/issues/705 */
|
||||
.rst-content .section ol li p:last-child,
|
||||
.rst-content .section ul li p:last-child {
|
||||
margin-bottom: 24px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
|
||||
/* Pygments shell/console prompt: */
|
||||
.highlight .gp {
|
||||
/* The RTD theme shows prompts the same color as other code.
|
||||
We want to distinguish them (like most Pygments themes do). */
|
||||
color: #d14;
|
||||
/* The RTD theme shows prompts the same color as other code.
|
||||
We want to distinguish them (like most Pygments themes do). */
|
||||
color: #d14;
|
||||
|
||||
/* Exclude prompt characters when copying from highlighted code. */
|
||||
user-select: none;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
/* Exclude prompt characters when copying from highlighted code. */
|
||||
user-select: none;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
|
||||
/* Sticky table first column (used for ESP feature matrix) */
|
||||
table.sticky-left td:first-of-type,
|
||||
table.sticky-left th:first-of-type {
|
||||
position: -webkit-sticky; /* Safari */
|
||||
position: sticky;
|
||||
left: 0;
|
||||
background-color: #fcfcfc; /* override transparent from .wy-table td */
|
||||
position: -webkit-sticky; /* Safari */
|
||||
position: sticky;
|
||||
left: 0;
|
||||
background-color: #fcfcfc; /* override transparent from .wy-table td */
|
||||
}
|
||||
table.sticky-left td:first-of-type[colspan] > p,
|
||||
table.sticky-left th:first-of-type[colspan] > p {
|
||||
/* Hack: the full-width <td colspan=N> section headers can't stick left;
|
||||
since those always wrap a rubric <p> (in the specific table that uses this),
|
||||
just make the <p> sticky within the <td>. */
|
||||
display: inline-block;
|
||||
position: -webkit-sticky; /* Safari */
|
||||
position: sticky;
|
||||
left: 17px; /* (.wy-table $table-padding-size) + (docutils border="1" in html) */
|
||||
/* Hack: the full-width <td colspan=N> section headers can't stick left;
|
||||
since those always wrap a rubric <p> (in the specific table that uses this),
|
||||
just make the <p> sticky within the <td>. */
|
||||
display: inline-block;
|
||||
position: -webkit-sticky; /* Safari */
|
||||
position: sticky;
|
||||
left: 17px; /* (.wy-table $table-padding-size) + (docutils border="1" in html) */
|
||||
}
|
||||
|
||||
|
||||
@@ -57,12 +57,12 @@ table.sticky-left th:first-of-type[colspan] > p {
|
||||
https://github.com/rtfd/sphinx_rtd_theme/issues/92
|
||||
*/
|
||||
.rst-content a code.xref {
|
||||
color: #2980B9;
|
||||
font-weight: inherit;
|
||||
color: #2980B9;
|
||||
font-weight: inherit;
|
||||
}
|
||||
.rst-content a:hover code.xref {
|
||||
color: #3091d1;
|
||||
color: #3091d1;
|
||||
}
|
||||
.rst-content a:visited code.xref {
|
||||
color: #9B59B6;
|
||||
color: #9B59B6;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user