Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ def f(instruction):
|
|
5 |
return instruction
|
6 |
css = """
|
7 |
footer {visibility: hidden !important;}
|
8 |
-
.
|
9 |
display: flex;
|
10 |
align-items: center;
|
11 |
width: 98%;
|
@@ -20,25 +20,17 @@ footer {visibility: hidden !important;}
|
|
20 |
transition: 0.5s;
|
21 |
}
|
22 |
|
23 |
-
.
|
24 |
transform: scale(0.98);
|
25 |
}
|
26 |
|
27 |
-
.
|
28 |
flex-grow: 1;
|
29 |
font-size: 17px;
|
30 |
margin: 0px 0px 0px 20px;
|
31 |
display: flex;
|
32 |
font-weight: bold;
|
33 |
}
|
34 |
-
|
35 |
-
.block h6 {
|
36 |
-
font-size: 12px;
|
37 |
-
margin-right: 20px;
|
38 |
-
color: #828282;
|
39 |
-
font-weight: bold;
|
40 |
-
}
|
41 |
-
|
42 |
.button {
|
43 |
display: inline-block;
|
44 |
color: #FFF;
|
@@ -62,7 +54,7 @@ with gr.Blocks(css=css, theme='YTheme/TehnoX', title="Мои презентац
|
|
62 |
with gr.Column():
|
63 |
gr.Markdown("""# **Мои презентации**""")
|
64 |
with gr.Column():
|
65 |
-
gr.HTML("""<div class="
|
66 |
<h2>SmartLearn</h2>
|
67 |
<a href="https://docs.google.com/presentation/d/1XcdxCAYjX5w7vSzwzREA0NodD1KQZByYQW-ynCD41PM/edit?usp=drivesdk" class="button">Перейти</a>
|
68 |
</div>""")
|
|
|
5 |
return instruction
|
6 |
css = """
|
7 |
footer {visibility: hidden !important;}
|
8 |
+
.blockk {
|
9 |
display: flex;
|
10 |
align-items: center;
|
11 |
width: 98%;
|
|
|
20 |
transition: 0.5s;
|
21 |
}
|
22 |
|
23 |
+
.blockk:hover {
|
24 |
transform: scale(0.98);
|
25 |
}
|
26 |
|
27 |
+
.blockk h2 {
|
28 |
flex-grow: 1;
|
29 |
font-size: 17px;
|
30 |
margin: 0px 0px 0px 20px;
|
31 |
display: flex;
|
32 |
font-weight: bold;
|
33 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
.button {
|
35 |
display: inline-block;
|
36 |
color: #FFF;
|
|
|
54 |
with gr.Column():
|
55 |
gr.Markdown("""# **Мои презентации**""")
|
56 |
with gr.Column():
|
57 |
+
gr.HTML("""<div class="blockk">
|
58 |
<h2>SmartLearn</h2>
|
59 |
<a href="https://docs.google.com/presentation/d/1XcdxCAYjX5w7vSzwzREA0NodD1KQZByYQW-ynCD41PM/edit?usp=drivesdk" class="button">Перейти</a>
|
60 |
</div>""")
|