Simplify table styles

This commit is contained in:
squidfunk 2017-01-02 22:41:15 +01:00
parent 344ce1f4fa
commit 983e5bbf72
4 changed files with 5 additions and 15 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -36,7 +36,7 @@
{% include "partials/fonts.html" %} {% include "partials/fonts.html" %}
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-a736c18f69.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-13bba0cbc1.css">
{% if config.extra.palette %} {% if config.extra.palette %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-0352baa348.palette.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-0352baa348.palette.css">
{% endif %} {% endif %}

View File

@ -375,18 +375,9 @@ kbd {
} }
// Table headings and cells // Table headings and cells
th, th:not([align]),
td { td:not([align]) {
text-align: left;
// Right align contents
&[align="right"] {
text-align: right;
}
// Center contents
&[align="center"] {
text-align: center;
}
} }
// Table headings // Table headings
@ -395,7 +386,6 @@ kbd {
padding: 1.2rem 1.6rem; padding: 1.2rem 1.6rem;
background-color: $md-color-black--light; background-color: $md-color-black--light;
color: $md-color-white; color: $md-color-white;
text-align: left;
vertical-align: top; vertical-align: top;
} }