Spaces:
Runtime error
Runtime error
CaesarCloudSync
commited on
Commit
·
b8e6612
1
Parent(s):
07fcdf0
mobile styling attempt 1
Browse files- __pycache__/main.cpython-310.pyc +0 -0
- static/hello.css +8 -0
- templates/hello.html +17 -6
__pycache__/main.cpython-310.pyc
CHANGED
|
Binary files a/__pycache__/main.cpython-310.pyc and b/__pycache__/main.cpython-310.pyc differ
|
|
|
static/hello.css
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
@media screen and (min-width:770px) {
|
| 4 |
+
.cardclass{
|
| 5 |
+
width: 100vh
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
+
}
|
templates/hello.html
CHANGED
|
@@ -18,6 +18,7 @@
|
|
| 18 |
</meta>
|
| 19 |
<meta property="og:image" content="https://palondomus-revisionbankcard.hf.space/notecardimage?h={{hashvalue}}&u={{username}}">
|
| 20 |
</meta>
|
|
|
|
| 21 |
|
| 22 |
<meta property="twitter:card" content="summary_large_image">
|
| 23 |
</meta>
|
|
@@ -42,11 +43,11 @@
|
|
| 42 |
<div>
|
| 43 |
<div style="display:flex;flex-direction:column;align-items:center;width:100%;margin-top:50px">
|
| 44 |
<div>
|
| 45 |
-
<h1 style="color:white;margin-bottom:20px">
|
| 46 |
</div>
|
| 47 |
|
| 48 |
|
| 49 |
-
<div style="position:relative;border:3px white solid;border-radius:10px;background-color:white;width:
|
| 50 |
<div style="display: flex;">
|
| 51 |
<div style="position:relative;left:10%;top:5%;width:80%;border-radius:5px;margin:10px;">
|
| 52 |
<div style="margin-bottom:10px;margin-right:10px;margin-left:10px;">
|
|
@@ -74,16 +75,26 @@
|
|
| 74 |
<img key=ind style="width:100%;height:100%;border-bottom-left-radius: 3px;border-bottom-right-radius:3px;" src={{revisioncardimage[ind]}}></img>
|
| 75 |
|
| 76 |
</div>
|
|
|
|
| 77 |
{%endfor%}
|
| 78 |
|
| 79 |
</div>
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
</div>
|
| 84 |
</div>
|
| 85 |
</div>
|
| 86 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
</div>
|
| 88 |
|
| 89 |
</div>
|
|
|
|
| 18 |
</meta>
|
| 19 |
<meta property="og:image" content="https://palondomus-revisionbankcard.hf.space/notecardimage?h={{hashvalue}}&u={{username}}">
|
| 20 |
</meta>
|
| 21 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 22 |
|
| 23 |
<meta property="twitter:card" content="summary_large_image">
|
| 24 |
</meta>
|
|
|
|
| 43 |
<div>
|
| 44 |
<div style="display:flex;flex-direction:column;align-items:center;width:100%;margin-top:50px">
|
| 45 |
<div>
|
| 46 |
+
<h1 style="color:white;margin-bottom:20px;font-size:27px;">RevisionBank Notecard</h1>
|
| 47 |
</div>
|
| 48 |
|
| 49 |
|
| 50 |
+
<div class="cardclass" style="position:relative;border:3px white solid;border-radius:10px;background-color:white;width: 70vh;overflow: hidden;">
|
| 51 |
<div style="display: flex;">
|
| 52 |
<div style="position:relative;left:10%;top:5%;width:80%;border-radius:5px;margin:10px;">
|
| 53 |
<div style="margin-bottom:10px;margin-right:10px;margin-left:10px;">
|
|
|
|
| 75 |
<img key=ind style="width:100%;height:100%;border-bottom-left-radius: 3px;border-bottom-right-radius:3px;" src={{revisioncardimage[ind]}}></img>
|
| 76 |
|
| 77 |
</div>
|
| 78 |
+
|
| 79 |
{%endfor%}
|
| 80 |
|
| 81 |
</div>
|
| 82 |
+
|
| 83 |
+
</div>
|
| 84 |
+
|
|
|
|
| 85 |
</div>
|
| 86 |
</div>
|
| 87 |
</div>
|
| 88 |
+
<div style="display:flex;gap:10px;margin-top:10px;justify-content: flex-end;">
|
| 89 |
+
<div style="position: relative;right: 7px;border:1px solid #0b57d0;background-color: #0b57d0;border-radius: 10px;">
|
| 90 |
+
<div style="margin:3px;">
|
| 91 |
+
<a style="color: white;" href="https://revisionbank.org/signin?h={{hashvalue}}&u={{username}}" target="_blank" rel="noopener noreferrer">
|
| 92 |
+
<button>Save</button>
|
| 93 |
+
</a>
|
| 94 |
+
</div>
|
| 95 |
+
|
| 96 |
+
</div>
|
| 97 |
+
</div>
|
| 98 |
</div>
|
| 99 |
|
| 100 |
</div>
|