Browse Source

Jiný pokus o opravu stylů na starých iOSech

odstrel_modelu_odevzdavatko
Jonas Havelka 1 month ago
parent
commit
e0dc75763c
  1. 2
      mamweb/static/css/base.css
  2. 3
      mamweb/static/css/mamweb_legacy.css
  3. 3
      mamweb/templates/base.html

2
mamweb/static/css/base.css

@ -1,7 +1,5 @@
@charset "utf-8"; /* vynuť utf-8 */
@import "mamweb_legacy.css" supports((-webkit-touch-callout: none) and (not (offset-position: normal)));
/* Obecné styly pro html tagy */
@font-face {

3
mamweb/static/css/mamweb_legacy.css

@ -1,5 +1,7 @@
@charset "utf-8"; /* vynuť utf-8 */
@supports (-webkit-touch-callout: none) and (not (offset-position: normal)) {
.button {
margin: 10px 0 10px 0;
padding: 4px 0; /*vertikální centování textu*/
@ -726,3 +728,4 @@ div.gdpr p {
/*******************/
}

3
mamweb/templates/base.html

@ -10,7 +10,8 @@
{% block custom_css %}{% endblock %}
<link href="{% static 'bootstrap/css/bootstrap.css' %}?version=2" rel="stylesheet">
<link href="{% static 'css/constants.css' %}?version=2" rel="stylesheet">
<link href="{% static 'css/base.css' %}?version=3" rel="stylesheet">
<link href="{% static 'css/mamweb_legacy.css' %}?version=2" rel="stylesheet">
<link href="{% static 'css/base.css' %}?version=2" rel="stylesheet">
<link href="{% static 'css/layout.css' %}?version=2" rel="stylesheet">
<link href="{% static 'css/modules.css' %}?version=2" rel="stylesheet">
<script src="{% static 'js/jquery-1.11.1.js' %}"></script>

Loading…
Cancel
Save