Skip to content

Commit 6fd73e6

Browse files
authored
1 parent 2905323 commit 6fd73e6

2 files changed

Lines changed: 57 additions & 0 deletions

File tree

app/static/css/style.css

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
body {
2+
font-family: Arial, sans-serif;
3+
background-color: {{ bgColor }};
4+
color: {{ textColor }};
5+
margin: 0;
6+
padding: 0;
7+
display: flex;
8+
justify-content: center;
9+
align-items: center;
10+
height: 100vh;
11+
}
12+
13+
.card {
14+
background-color: {{ cardColor }};
15+
border-radius: 10px;
16+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
17+
width: 90%;
18+
max-width: 800px;
19+
padding: 20px;
20+
text-align: center;
21+
}
22+
23+
h1 {
24+
color: {{ chartColor }};
25+
font-size: 2.5rem;
26+
margin-bottom: 1rem;
27+
}
28+
29+
.stat {
30+
display: flex;
31+
justify-content: space-between;
32+
padding: 10px 0;
33+
font-size: 1.2rem;
34+
border-bottom: 1px solid #e0e0e0;
35+
}
36+
37+
.stat span:last-child {
38+
font-weight: bold;
39+
}
40+
41+
.chart {
42+
margin-top: 20px;
43+
width: 100px;
44+
height: 100px;
45+
border-radius: 50%;
46+
background-color: {{ chartColor }};
47+
display: flex;
48+
justify-content: center;
49+
align-items: center;
50+
margin: 20px auto;
51+
}
52+
53+
.grade {
54+
font-size: 2.5rem;
55+
font-weight: bold;
56+
color: {{ chartTextColor }};
57+
}

app/static/fonts/Font.ttf

164 KB
Binary file not shown.

0 commit comments

Comments
 (0)