nehalelkaref commited on
Commit
7ed2730
1 Parent(s): 7388882

Upload 5 files

Browse files
templates/ArefRuqaa-Bold.ttf ADDED
Binary file (123 kB). View file
 
templates/ArefRuqaa-Regular.ttf ADDED
Binary file (112 kB). View file
 
templates/ArefRuqaaInk-Regular.ttf ADDED
Binary file (173 kB). View file
 
templates/home.css ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ html {
3
+ direction: rtl;
4
+ line-height: 1.2;
5
+ /* max-width: 800px; */
6
+ margin: 20px auto;
7
+ text-align: justify;
8
+ font-size: 16pt;
9
+ color: #404040;
10
+ background-color: #f9f7ec;
11
+ font-feature-settings: "pnum" 1;
12
+ }
13
+ .button-89 {
14
+ --b: 3px; /* border thickness */
15
+ --s: .45em; /* size of the corner */
16
+ --color: #373B44;
17
+
18
+ padding: calc(.5em + var(--s)) calc(.9em + var(--s));
19
+ color: var(--color);
20
+ --_p: var(--s);
21
+ background:
22
+ conic-gradient(from 90deg at var(--b) var(--b),#0000 90deg,var(--color) 0)
23
+ var(--_p) var(--_p)/calc(100% - var(--b) - 2*var(--_p)) calc(100% - var(--b) - 2*var(--_p));
24
+ transition: .3s linear, color 0s, background-color 0s;
25
+ outline: var(--b) solid #0000;
26
+ outline-offset: .6em;
27
+ font-size: 16px;
28
+ font-family: ArefRuqaaBold;
29
+
30
+ border: 0;
31
+
32
+ user-select: none;
33
+ -webkit-user-select: none;
34
+ touch-action: manipulation;
35
+ }
36
+
37
+ .button-89:hover,
38
+ .button-89:focus-visible{
39
+ --_p: 0px;
40
+ outline-color: var(--color);
41
+ outline-offset: .05em;
42
+ }
43
+
44
+ .button-89:active {
45
+ background: var(--color);
46
+ color: #fff;
47
+ }
48
+
49
+ @font-face { font-family: ArefRuqaa; src: url('ArefRuqaaInk-Regular.ttf'); }
50
+ h1 {
51
+ font-family: ArefRuqaa
52
+ }
53
+ @font-face { font-family: ArefRuqaaBold; src: url('ArefRuqaa-Bold.ttf'); }
54
+ h2 {
55
+ font-family: ArefRuqaaBold;
56
+ text-decoration : underline;
57
+ font-weight: normal;
58
+ text-align: center;
59
+
60
+ }
templates/home.html ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <main>
2
+ <section id="text-classification">
3
+ <head>
4
+ <link rel="stylesheet" href="home.css">
5
+ </head>
6
+ <body>
7
+ <h2>تصنيف المناطق </h2>
8
+ <div align="center">
9
+ <h1>قم بإدخال جملة عربية لتصنيفها كواحدة من ثلاث مناطق</h1>
10
+ <h1>مصر، الخليج العربي أو الشام</h1>
11
+ <small><em>Enter an Arabic text to classify it to one of three regions:</em></small>
12
+ <small><em>Egypt, Gulf or Levant</em></small></div>
13
+ <br>
14
+ <div align="center">
15
+ <form action="{{url_for('classify')}}" method="POST">
16
+ <textarea name="comment" required="true" rows="1" cols="40"></textarea>
17
+ <br>
18
+ <input type="submit" value="صَنِف" class="button-89">
19
+ </form>
20
+ </div>
21
+ </body>
22
+ </section>
23
+ </main>
24
+
25
+