You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
998 B
37 lines
998 B
{% extends "base.html" %}
|
|
|
|
{% block head %}
|
|
<title> {{ title }} </title>
|
|
<link href="{{ url_for('static', filename='css/print.css') }}" rel="stylesheet" type="text/css" media="screen">
|
|
|
|
<link href="{{ url_for('static', filename=title + '.css') }}" rel="stylesheet" type="text/css" media="screen">
|
|
<!-- BUG: Use the line below when you install wiki-to-print on an URL with a subdirectory, for example: -->
|
|
<!-- this line is used to serve wiki-to-print from https://cc.vvvvvvaria.org/wiki-to-print/ -->
|
|
<!-- <link href="/wiki-to-print/css/{{ title }}.css" rel="stylesheet" type="text/css" media="screen"> -->
|
|
|
|
<style>
|
|
main#inspect {
|
|
display: flex;
|
|
}
|
|
main#inspect div.content {
|
|
flex-basis: 70%;
|
|
max-width: 70%;
|
|
}
|
|
main#inspect div.styles {
|
|
flex-basis: 30%;
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<main id="inspect">
|
|
<div class="content">
|
|
{{ html | safe }}
|
|
</div>
|
|
<div class="styles">
|
|
<pre>
|
|
{{ css | safe }}
|
|
</pre>
|
|
</div>
|
|
</main>
|
|
{% endblock %}
|
|
|