Skip to content

Commit 749f2b9

Browse files
style change
1 parent 63c6e80 commit 749f2b9

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

static/style.css

+7-7
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@
1515
--secondary-button: #ffffff;
1616
--accent: #8d0112;
1717

18-
--text: #2a1d09;
19-
--background: #f6e9d5;
18+
/* --text: #2a1d09; */
19+
/* --background: #f6e9d5;
2020
--primary-button: #77f3e9;
2121
--secondary-button: #f1dcbb;
22-
--accent: #da19eb;
22+
--accent: #da19eb; */
2323

2424

25-
/* this is good*/
26-
--text: #26031e;
25+
/* this is good */
26+
/* --text: #26031e;
2727
--background: #fbd0f2;
2828
--primary-button: #f8a0e5;
2929
--secondary-button: #f9b3ea;
30-
--accent: #fab8eb;
30+
--accent: #fab8eb; */
3131

3232
/* --text: #07030d;
3333
--background: #eee6fa;
@@ -71,8 +71,8 @@
7171
--primary-button: #3dc298;
7272
--secondary-button: #c5e5ed;
7373
--accent: #256674; */
74-
}
7574

75+
}
7676
/* Styling the body element to have a black background color and a sans-serif font family */
7777
body {
7878
background-color: var(--background);

webapp.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ def home():
191191
filtered_df['narrator'].str.contains(search) |
192192
filtered_df['series'].str.contains(search) |
193193
filtered_df['language'].str.contains(search)]
194+
194195
if sort_by:
195196
# Adding an argument to sort in descending order if the sort_by parameter is 'votes'
196197
if sort_by == 'votes':
@@ -225,9 +226,6 @@ def home():
225226
# Passing the sort_by parameter as well
226227
return render_template('index.html', data=data, df=df, search=search, author=author, narrator=narrator, series=series, language=language, min_length=min_length, min_rating=min_rating, min_votes=min_votes, page=page, per_page=per_page, sort_by=sort_by)
227228

228-
229-
230-
231229
# Running the app
232230
if __name__ == '__main__':
233231
app.run(debug=True)

0 commit comments

Comments
 (0)