|
1 | 1 | <!DOCTYPE html> {% load ietf_filters static %} |
2 | 2 | {# Copyright The IETF Trust 2021, All Rights Reserved #} |
3 | 3 | {% load origin %}{% origin %} |
4 | | -{% load bootstrap3 %} |
5 | 4 | <html lang="en"> |
6 | 5 | <head> |
7 | 6 | <meta charset="utf-8"> |
8 | 7 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
9 | 8 | <title>{% block title %}No title{% endblock %}</title> |
10 | 9 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
11 | | - |
12 | | - <link href="{% static 'ptmono/stylesheet.css' %}" rel='stylesheet' type='text/css'> |
13 | | - <link href="{% static 'ptsans/stylesheet.css' %}" rel='stylesheet' type='text/css'> |
14 | | - <link href="{% static 'ptserif/stylesheet.css' %}" rel='stylesheet' type='text/css'> |
15 | | - <link rel="stylesheet" href="{% static 'font-awesome/css/font-awesome.min.css' %}"> |
16 | | - <link rel="stylesheet" href="{% static 'ietf/font-datatracker/css/font-datatracker.css' %}"> |
17 | | - <link rel="stylesheet" href="{% static 'ietf/bootstrap/css/bootstrap.min.css' %}"> |
18 | | - <link rel="stylesheet" href="{% static 'ietf/bootstrap/css/bootstrap-theme.min.css' %}"> |
19 | | -<!-- <link rel="stylesheet" href="{% static 'ietf/css/ietf.css' %}"> --> |
20 | | - {% if debug %} |
21 | | - <link rel="stylesheet" href="{% static 'jquery.tablesorter/css/theme.bootstrap.min.css' %}"> |
22 | | - {% endif %} |
23 | 10 | <style> |
24 | | -.rfcmarkup div { |
25 | | - margin-top: 1em; |
26 | | -} |
27 | | -.rfcmarkup pre { |
28 | | - font-size: 10pt; |
29 | | - border: 0; |
30 | | - margin: 0; |
31 | | - padding: 0; |
32 | | - padding-bottom: 1em; |
33 | | - background-color: white; |
34 | | - line-height: 1.12; |
35 | | - font-family: monospace; |
36 | | - overflow: visible; |
37 | | -} |
38 | | - |
39 | | -.rfcmarkup pre span.h1, |
40 | | -.rfcmarkup pre span.h2, |
41 | | -.rfcmarkup pre span.h3, |
42 | | -.rfcmarkup pre span.h4, |
43 | | -.rfcmarkup pre span.h5, |
44 | | -.rfcmarkup pre span.h6 { |
45 | | - font-weight: bold; |
46 | | - line-height: 0pt; |
47 | | - display: inline; |
48 | | - white-space: pre; |
49 | | - font-family: monospace; |
50 | | - font-size: 1em; |
51 | | - font-weight: bold; |
52 | | - |
53 | | -} |
54 | | -.rfcmarkup pre span.invisible { |
55 | | - text-decoration: none; |
56 | | - color: white; |
57 | | -} |
58 | | - |
59 | | -.rfcmarkup pre a { text-decoration: underline; } |
60 | | - |
61 | | -.rfcmarkup pre .grey, |
62 | | -.rfcmarkup pre .grey a:link, |
63 | | -.rfcmarkup pre .grey a:visited { |
64 | | - color: #777; |
65 | | -} |
66 | | - |
67 | | -.rfcmarkup pre.meta-info { |
68 | | - padding: 0.5em; |
69 | | - margin-left: -0.5em; |
70 | | - background-color: #f8f8f8; |
71 | | - border: 1px solid #e0e0e0; |
72 | | - width: 98.5ex; |
73 | | - padding-top: 0; |
74 | | -} |
75 | | - |
76 | | -.rfcmarkup hr { |
77 | | - margin: 0; |
78 | | - width: 80ex; |
79 | | -} |
80 | 11 |
|
81 | | -.rfcmarkup .text-warning, |
82 | | -.rfcmarkup a.text-warning, |
83 | | -.rfcmarkup a.text-warning:focus, |
84 | | -.rfcmarkup a.text-warning:active, |
85 | | -.rfcmarkup a.text-warning:visited, |
86 | | -.rfcmarkup a.text-warning:hover |
87 | | -{ |
88 | | - color: #d9534f; /* brand-danger colour */ |
89 | | -} |
90 | | - |
91 | | -@media screen { |
92 | | - body { margin-left:3em; } |
93 | | -} |
94 | | - |
95 | | -@media print { |
96 | | - body { margin-top:5em; } |
97 | | - |
98 | | - .rfcmarkup .noprint { display: none; } |
99 | | - .rfcmarkup a, |
100 | | - .rfcmarkup a:visited, |
101 | | - .rfcmarkup pre a, |
102 | | - .rfcmarkup pre a:visited { |
103 | | - text-decoration: none; |
| 12 | + @media only screen |
| 13 | + and (min-width: 992px) |
| 14 | + and (max-width: 1199px) { |
| 15 | + body { font-size: 14pt; } |
| 16 | + div.content { width: 96ex; margin: 0 auto; } |
| 17 | + } |
| 18 | + @media only screen |
| 19 | + and (min-width: 768px) |
| 20 | + and (max-width: 991px) { |
| 21 | + body { font-size: 14pt; } |
| 22 | + div.content { width: 96ex; margin: 0 auto; } |
| 23 | + } |
| 24 | + @media only screen |
| 25 | + and (min-width: 480px) |
| 26 | + and (max-width: 767px) { |
| 27 | + body { font-size: 11pt; } |
| 28 | + div.content { width: 96ex; margin: 0 auto; } |
| 29 | + } |
| 30 | + @media only screen |
| 31 | + and (max-width: 479px) { |
| 32 | + body { font-size: 8pt; } |
| 33 | + div.content { width: 96ex; margin: 0 auto; } |
| 34 | + } |
| 35 | + @media only screen |
| 36 | + and (min-device-width : 375px) |
| 37 | + and (max-device-width : 667px) { |
| 38 | + body { font-size: 9.5pt; } |
| 39 | + div.content { width: 96ex; margin: 0; } |
| 40 | + } |
| 41 | + @media only screen |
| 42 | + and (min-device-width: 1200px) { |
| 43 | + body { font-size: 10pt; margin: 0 4em; } |
| 44 | + div.content { width: 96ex; margin: 0; } |
| 45 | + } |
| 46 | + h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { |
| 47 | + font-weight: bold; |
| 48 | + /* line-height: 0pt; */ |
| 49 | + display: inline; |
| 50 | + white-space: pre; |
| 51 | + font-family: monospace; |
| 52 | + font-size: 1em; |
| 53 | + font-weight: bold; |
| 54 | + } |
| 55 | + pre { |
| 56 | + font-size: 1em; |
| 57 | + margin-top: 0px; |
| 58 | + margin-bottom: 0px; |
| 59 | + } |
| 60 | + .pre { |
| 61 | + white-space: pre; |
| 62 | + font-family: monospace; |
104 | 63 | } |
105 | | - .rfcmarkup a[href]:after { |
106 | | - content: ""; |
| 64 | + .header{ |
| 65 | + font-weight: bold; |
107 | 66 | } |
108 | | - .rfcmarkup abbr[title]:after { |
109 | | - content: ""; |
| 67 | + .newpage { |
| 68 | + page-break-before: always; |
| 69 | + } |
| 70 | + .invisible { |
| 71 | + text-decoration: none; |
| 72 | + color: white; |
| 73 | + } |
| 74 | + @media print { |
| 75 | + body { |
| 76 | + margin-top: 5em; |
| 77 | + font-family: monospace; |
| 78 | + font-size: 10.5pt; |
| 79 | + } |
| 80 | + h1, h2, h3, h4, h5, h6 { |
| 81 | + font-size: 1em; |
| 82 | + } |
| 83 | + |
| 84 | + a:link, a:visited { |
| 85 | + color: inherit; |
| 86 | + text-decoration: none; |
| 87 | + } |
| 88 | + .noprint { |
| 89 | + display: none; |
| 90 | + } |
| 91 | + } |
| 92 | + @media screen { |
| 93 | + .grey, .grey a:link, .grey a:visited { |
| 94 | + color: #777; |
| 95 | + } |
| 96 | + .meta-info { |
| 97 | + background-color: #EEE; |
| 98 | + } |
| 99 | + .top { |
| 100 | + border-top: 7px solid #EEE; |
| 101 | + } |
| 102 | + .pad { |
| 103 | + padding-top: 7px; |
| 104 | + line-height: 24px; |
| 105 | + padding-bottom: 4px; |
| 106 | + } |
| 107 | + .bgwhite { background-color: white; } |
| 108 | + .bgred { background-color: #F44; } |
| 109 | + .bggrey { background-color: #666; } |
| 110 | + .bgbrown { background-color: #840; } |
| 111 | + .bgorange { background-color: #FA0; } |
| 112 | + .bgyellow { background-color: #EE0; } |
| 113 | + .bgmagenta{ background-color: #F4F; } |
| 114 | + .bgblue { background-color: #66F; } |
| 115 | + .bgcyan { background-color: #4DD; } |
| 116 | + .bggreen { background-color: #4F4; } |
| 117 | + |
| 118 | + .legend { font-size: 90%; } |
| 119 | + .cplate { font-size: 70%; border: solid grey 1px; } |
110 | 120 | } |
111 | | - .rfcmarkup pre { |
112 | | - font-size: 10.5pt; |
113 | | - |
114 | | - margin-top: 0; |
115 | | - margin-bottom: 0; |
116 | | - margin-left: auto; |
117 | | - margin-right: auto; |
118 | 121 |
|
119 | | - |
120 | | - } |
121 | | - .rfcmarkup .newpage { |
122 | | - page-break-before: always; |
123 | | - } |
124 | | -} |
125 | 122 | {% block morecss %}{% endblock %} |
126 | 123 | </style> |
127 | 124 |
|
|
141 | 138 |
|
142 | 139 | <body {% block bodyAttrs %}{%endblock%}> |
143 | 140 |
|
144 | | - <div class="container-fluid-narrow"> |
145 | | - {% comment %} {% bootstrap_messages %} {% endcomment %} |
146 | | - {% for message in messages %} |
147 | | - <div class="alert{% if message.level_tag %} alert-{% if message.level_tag == 'error' %}danger{% else %}{{ message.level_tag }}{% endif %}{% endif %}{% if message.extra_tags %} {{message.extra_tags}}{% endif %} alert-dismissable"><button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>{{ message }}</div> |
148 | | - {% endfor %} |
149 | | - <div class="col-md-12 col-sm-12" id="content"> |
| 141 | + <div class="content" id="content"> |
150 | 142 | {% block content %}{{ content|safe }}{% endblock %} |
151 | 143 | {% block content_end %}{% endblock %} |
152 | 144 | </div> |
|
155 | 147 |
|
156 | 148 | {% endblock %} |
157 | 149 |
|
158 | | - </div> |
159 | | - |
160 | | - {% include "debug.html" %} |
| 150 | + </div> |
161 | 151 |
|
162 | | - <script src="{% static 'jquery/jquery.min.js' %}"></script> |
163 | 152 | {% comment %} |
164 | 153 | <!-- Remove the *-nojs attributes if we are running js. This depends on jQuery's removeClass(): --> |
165 | 154 | <!-- Do this as early as possible (after loading the page and jQuery) to avoid rendering changes --> |
166 | 155 | {% endcomment %} |
167 | 156 | <script>$(".visible-nojs").removeClass("visible-nojs");</script> |
168 | 157 | <script>$(".hidden-nojs").removeClass("hidden-nojs");</script> |
169 | | - <script src="{% static 'js-cookie/src/js.cookie.js' %}"></script> |
170 | | - <script src="{% static 'ietf/bootstrap/js/bootstrap.min.js' %}"></script> |
171 | 158 | {% block js %}{% endblock %} |
172 | | - {% if debug %} |
173 | | - <script src="{% static 'jquery.tablesorter/js/jquery.tablesorter.combined.min.js' %}"></script> |
174 | | - {% endif %} |
175 | 159 | </body> |
176 | 160 | </html> |
177 | 161 |
|
0 commit comments