customise styles slightly, move stylesheet imports to separate file

This commit is contained in:
Lynne Megido 2019-08-27 21:33:23 +10:00
parent c222c056ff
commit 2e952c3342
4 changed files with 14 additions and 3 deletions

1
run.sh Executable file
View File

@ -0,0 +1 @@
env FLASK_APP=webui.py flask run

8
static/style.css Normal file
View File

@ -0,0 +1,8 @@
.btn-primary {
background-color: #9370db;
border-color: #9370db;
}
.btn-primary:hover {
background-color: #7859b6;
border-color: #7859b6;
}

View File

@ -3,9 +3,7 @@
<head>
<meta charset="UTF-8">
<title>FediBooks</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="https://kit-free.fontawesome.com/releases/latest/css/free.min.css">
{% include 'imports.html' %}
</head>
<body>
<div class="jumbotron jumbotron-fluid main-jumbo">

4
templates/imports.html Normal file
View File

@ -0,0 +1,4 @@
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="https://kit-free.fontawesome.com/releases/latest/css/free.min.css">
<link rel='stylesheet' type='text/css' href="{{ url_for('static', filename='style.css') }}" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap">