[mod] extract css to specific file

This commit is contained in:
Laurent Peuch 2018-08-23 22:28:37 +02:00
parent 0491d227c8
commit 65f68d7c8b
3 changed files with 10 additions and 11 deletions

9
static/css/style.css Normal file
View file

@ -0,0 +1,9 @@
.consoleOutput {
max-height: 90vh;
background-color: #222;
color: #eee;
padding-top: 1.25rem;
padding-right: 1.5rem;
padding-bottom: 1.25rem;
padding-left: 1.5rem;
}

View file

@ -8,6 +8,7 @@
<script defer src="https://use.fontawesome.com/releases/v5.1.0/js/all.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="/static/js/app.js"></script>
<link href="/static/css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<% block content %><% endblock %>

View file

@ -23,17 +23,6 @@
<% endblock %>
<% block javascript %>
<style>
.consoleOutput {
max-height: 90vh;
background-color: #222;
color: #eee;
padding-top: 1.25rem;
padding-right: 1.5rem;
padding-bottom: 1.25rem;
padding-left: 1.5rem;
}
</style>
<script>
(function() {
var app = new Vue({