bencser commited on
Commit
2348d8c
·
verified ·
1 Parent(s): 238c235

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -53,9 +53,10 @@ html_template = """
53
  <meta charset="UTF-8">
54
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
55
  <title>Silly Detention Letter Generator</title>
 
56
  <style>
57
  body {
58
- font-family: Arial, sans-serif;
59
  line-height: 1.6;
60
  color: #333;
61
  max-width: 800px;
@@ -64,6 +65,7 @@ html_template = """
64
  background-color: #f4f4f4;
65
  }
66
  h1 {
 
67
  color: #2c3e50;
68
  text-align: center;
69
  }
@@ -74,6 +76,8 @@ html_template = """
74
  border-radius: 5px;
75
  white-space: pre-wrap;
76
  margin-bottom: 20px;
 
 
77
  }
78
  form {
79
  background-color: white;
@@ -87,6 +91,7 @@ html_template = """
87
  margin-bottom: 10px;
88
  border: 1px solid #ddd;
89
  border-radius: 5px;
 
90
  }
91
  input[type="submit"], #regenerate {
92
  display: block;
@@ -99,6 +104,7 @@ html_template = """
99
  border-radius: 5px;
100
  cursor: pointer;
101
  font-size: 16px;
 
102
  }
103
  input[type="submit"]:hover, #regenerate:hover {
104
  background-color: #2980b9;
 
53
  <meta charset="UTF-8">
54
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
55
  <title>Silly Detention Letter Generator</title>
56
+ <link href="https://fonts.googleapis.com/css2?family=Lora:wght@600&family=Open+Sans&display=swap" rel="stylesheet">
57
  <style>
58
  body {
59
+ font-family: 'Open Sans', sans-serif;
60
  line-height: 1.6;
61
  color: #333;
62
  max-width: 800px;
 
65
  background-color: #f4f4f4;
66
  }
67
  h1 {
68
+ font-family: 'Lora', serif;
69
  color: #2c3e50;
70
  text-align: center;
71
  }
 
76
  border-radius: 5px;
77
  white-space: pre-wrap;
78
  margin-bottom: 20px;
79
+ font-family: 'Lora', serif;
80
+ font-size: 1.1em;
81
  }
82
  form {
83
  background-color: white;
 
91
  margin-bottom: 10px;
92
  border: 1px solid #ddd;
93
  border-radius: 5px;
94
+ font-family: 'Open Sans', sans-serif;
95
  }
96
  input[type="submit"], #regenerate {
97
  display: block;
 
104
  border-radius: 5px;
105
  cursor: pointer;
106
  font-size: 16px;
107
+ font-family: 'Open Sans', sans-serif;
108
  }
109
  input[type="submit"]:hover, #regenerate:hover {
110
  background-color: #2980b9;