bbg is foothill blue, now foreground letters are white, more updates to zip file content naming
This commit is contained in:
parent
8f48786a54
commit
17e6315792
2
app.py
2
app.py
@ -91,7 +91,7 @@ def index():
|
|||||||
|
|
||||||
# You can now send png_bytes to a response or store it in a DB
|
# You can now send png_bytes to a response or store it in a DB
|
||||||
print(f"Page {page_index} is {len(png_bytes)} bytes.")
|
print(f"Page {page_index} is {len(png_bytes)} bytes.")
|
||||||
zf.writestr("{}-{}/{}-slide-number-{:02d}.png".format(filenameref, version, filenameref, page_index), png_bytes)
|
zf.writestr("{}-{}/{}-Slide{:02d}.png".format(filenameref, version, filenameref, page_index), png_bytes)
|
||||||
|
|
||||||
doc.close()
|
doc.close()
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,9 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Scripture Slide Generator for Foothill</title>
|
<title>Scripture Slide Generator for Foothill</title>
|
||||||
</head>
|
</head><style> body {
|
||||||
|
background-color: #2c5aa0; color: white;
|
||||||
|
}</style>
|
||||||
<body>
|
<body>
|
||||||
<h1>Scripture Slide Generator for Foothill</h1>
|
<h1>Scripture Slide Generator for Foothill</h1>
|
||||||
<h3>Enter scripture reference and version, then press the download button. A zip file with slides in it will be downloaded. Unzip the file and drop the folder into the ProPresenter play list.</h3>
|
<h3>Enter scripture reference and version, then press the download button. A zip file with slides in it will be downloaded. Unzip the file and drop the folder into the ProPresenter play list.</h3>
|
||||||
|
|||||||
@ -4,11 +4,13 @@
|
|||||||
font-size: 1.6rem;
|
font-size: 1.6rem;
|
||||||
line-height: 36px;
|
line-height: 36px;
|
||||||
line-height: 2.4rem;
|
line-height: 2.4rem;
|
||||||
|
color: #FFF;
|
||||||
}
|
}
|
||||||
@page {
|
@page {
|
||||||
/* Set specific page dimensions: width height */
|
/* Set specific page dimensions: width height */
|
||||||
size: 8in 4.5in;
|
size: 8in 4.5in;
|
||||||
margin: 0.5in;
|
margin: 0.5in;
|
||||||
|
background-color: #2c5aa0; color: white;
|
||||||
}
|
}
|
||||||
.text-html p,
|
.text-html p,
|
||||||
.text-html td,
|
.text-html td,
|
||||||
@ -341,7 +343,7 @@
|
|||||||
}
|
}
|
||||||
.text-html h3 {
|
.text-html h3 {
|
||||||
/* color: #676767; */
|
/* color: #676767; */
|
||||||
color: #000000;
|
color: #FFFFFF;
|
||||||
font-family: "Times New Roman", Times, serif;
|
font-family: "Times New Roman", Times, serif;
|
||||||
letter-spacing: 0;
|
letter-spacing: 0;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@ -350,7 +352,7 @@
|
|||||||
text-transform: none;
|
text-transform: none;
|
||||||
}
|
}
|
||||||
.text-html h4 {
|
.text-html h4 {
|
||||||
color: #000;
|
color: #FFF;
|
||||||
font-family: "Times New Roman", Times, serif;
|
font-family: "Times New Roman", Times, serif;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
@ -550,7 +552,7 @@
|
|||||||
.text-html div.short-aside {
|
.text-html div.short-aside {
|
||||||
background-color: #f5f3f1;
|
background-color: #f5f3f1;
|
||||||
margin: 0 1em;
|
margin: 0 1em;
|
||||||
color: #000;
|
color: #FFF;
|
||||||
}
|
}
|
||||||
.text-html div.long-aside {
|
.text-html div.long-aside {
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user