diff --git a/.editorconfig b/.editorconfig index 6757d2b..93c5188 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,24 +1,25 @@ -# http://editorconfig.org +# https://editorconfig.org root = true -# Follow Django conventions for most files [*] charset = utf-8 end_of_line = lf -indent_size = 4 +indent_size = 2 indent_style = space insert_final_newline = true trim_trailing_whitespace = true -# Use 2 spaces for js and text(-like) files -[*.{html,js,json,md,rst,txt,yml}] -indent_size = 2 +[*.py] +indent_size = 4 +max_line_length = 120 -# Makefiles always use tabs for indentation -[Makefile] +[*.{ini,lock}] +indent_size = 4 + +[{Makefile,*.bat}] indent_style = tab +indent_size = 4 -# Batch files use tabs for indentation [*.bat] -indent_style = tab +end_of_line = crlf diff --git a/docs/_static/anymail-theme.css b/docs/_static/anymail-theme.css index 3c4b035..40c27d6 100644 --- a/docs/_static/anymail-theme.css +++ b/docs/_static/anymail-theme.css @@ -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
(in the specific table that uses this), - just make the
sticky within the
(in the specific table that uses this), + just make the
sticky within the