Hoof2 commited on
Commit
f828845
·
verified ·
1 Parent(s): e0a73fb

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +176 -18
index.html CHANGED
@@ -1,19 +1,177 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Results Summary</title>
7
+ <link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@500;700;800&display=swap" rel="stylesheet">
8
+ <style>
9
+ * {
10
+ box-sizing: border-box;
11
+ margin: 0;
12
+ padding: 0;
13
+ font-family: 'Hanken Grotesk', sans-serif;
14
+ }
15
+
16
+ body {
17
+ background-color: #ECF2FF;
18
+ display: flex;
19
+ justify-content: center;
20
+ align-items: center;
21
+ min-height: 100vh;
22
+ }
23
+
24
+ .container {
25
+ background-color: white;
26
+ border-radius: 20px;
27
+ overflow: hidden;
28
+ max-width: 700px;
29
+ width: 90%;
30
+ display: flex;
31
+ flex-direction: column;
32
+ }
33
+
34
+ .result {
35
+ background: linear-gradient(to top, #4E21CA, #7857FF);
36
+ color: white;
37
+ text-align: center;
38
+ padding: 30px;
39
+ }
40
+
41
+ .result h2 {
42
+ font-size: 1rem;
43
+ opacity: 0.75;
44
+ }
45
+
46
+ .circle {
47
+ background: #4E21CA;
48
+ margin: 20px auto;
49
+ width: 100px;
50
+ height: 100px;
51
+ border-radius: 50%;
52
+ display: flex;
53
+ justify-content: center;
54
+ align-items: center;
55
+ flex-direction: column;
56
+ }
57
+
58
+ .circle h1 {
59
+ font-size: 2rem;
60
+ }
61
+
62
+ .circle p {
63
+ font-size: 0.8rem;
64
+ opacity: 0.75;
65
+ }
66
+
67
+ .result h3 {
68
+ margin-top: 10px;
69
+ font-size: 1.2rem;
70
+ }
71
+
72
+ .result p {
73
+ margin-top: 10px;
74
+ font-size: 0.85rem;
75
+ opacity: 0.8;
76
+ }
77
+
78
+ .summary {
79
+ padding: 30px;
80
+ display: flex;
81
+ flex-direction: column;
82
+ gap: 15px;
83
+ }
84
+
85
+ .summary h3 {
86
+ font-size: 1.1rem;
87
+ color: #333;
88
+ }
89
+
90
+ .score {
91
+ display: flex;
92
+ justify-content: space-between;
93
+ align-items: center;
94
+ padding: 15px;
95
+ border-radius: 10px;
96
+ font-weight: 700;
97
+ }
98
+
99
+ .reaction { background: #FFF6F5; color: #D73C3C; }
100
+ .memory { background: #FFFBF2; color: #EFAD23; }
101
+ .verbal { background: #F2FBFA; color: #3A9F8F; }
102
+ .visual { background: #F3F3FD; color: #4C4FC1; }
103
+
104
+ .score span:last-child {
105
+ color: #666;
106
+ }
107
+
108
+ button {
109
+ margin-top: 10px;
110
+ padding: 15px;
111
+ background-color: #303B59;
112
+ color: white;
113
+ border: none;
114
+ border-radius: 30px;
115
+ font-size: 1rem;
116
+ cursor: pointer;
117
+ transition: background 0.3s;
118
+ }
119
+
120
+ button:hover {
121
+ background: linear-gradient(to right, #4E21CA, #7857FF);
122
+ }
123
+
124
+ @media (min-width: 768px) {
125
+ .container {
126
+ flex-direction: row;
127
+ }
128
+
129
+ .result, .summary {
130
+ width: 50%;
131
+ padding: 40px;
132
+ }
133
+
134
+ .result {
135
+ border-radius: 20px 0 0 20px;
136
+ }
137
+
138
+ button {
139
+ width: 100%;
140
+ }
141
+ }
142
+ </style>
143
+ </head>
144
+ <body>
145
+ <div class="container">
146
+ <div class="result">
147
+ <h2>Your Result</h2>
148
+ <div class="circle">
149
+ <h1>76</h1>
150
+ <p>of 100</p>
151
+ </div>
152
+ <h3>Great</h3>
153
+ <p>You scored higher than 65% of the people who have taken these tests.</p>
154
+ </div>
155
+ <div class="summary">
156
+ <h3>Summary</h3>
157
+ <div class="score reaction">
158
+ <span>Reaction</span>
159
+ <span>80 / 100</span>
160
+ </div>
161
+ <div class="score memory">
162
+ <span>Memory</span>
163
+ <span>92 / 100</span>
164
+ </div>
165
+ <div class="score verbal">
166
+ <span>Verbal</span>
167
+ <span>61 / 100</span>
168
+ </div>
169
+ <div class="score visual">
170
+ <span>Visual</span>
171
+ <span>73 / 100</span>
172
+ </div>
173
+ <button>Continue</button>
174
+ </div>
175
+ </div>
176
+ </body>
177
  </html>