Spaces:
Paused
Paused
Update static/static.py
Browse files- static/static.py +31 -34
static/static.py
CHANGED
|
@@ -17,10 +17,10 @@ HTML = """
|
|
| 17 |
padding: 0;
|
| 18 |
width: 100%;
|
| 19 |
height: 100%;
|
|
|
|
| 20 |
}
|
| 21 |
body {
|
| 22 |
font-size: 2.2vh;
|
| 23 |
-
font-family: 'Open Sans', Arial, sans-serif;
|
| 24 |
color: white;
|
| 25 |
background: url('https://i.postimg.cc/m2ZqvpZj/italian-seamless-free-vector-pattern3.png') center center repeat;
|
| 26 |
background-size: cover;
|
|
@@ -33,24 +33,27 @@ HTML = """
|
|
| 33 |
padding: 2vh;
|
| 34 |
border-radius: 10px;
|
| 35 |
width: 90%;
|
| 36 |
-
max-width:
|
| 37 |
text-align: center;
|
|
|
|
|
|
|
| 38 |
}
|
| 39 |
.logo {
|
| 40 |
-
height:
|
| 41 |
width: 14vh;
|
| 42 |
margin: auto;
|
| 43 |
-
margin-bottom:
|
| 44 |
}
|
| 45 |
.logo img {
|
| 46 |
width: 100%;
|
|
|
|
| 47 |
}
|
| 48 |
h1, h2, h3 {
|
| 49 |
margin: 0;
|
| 50 |
text-shadow: 0 0 1vh rgba(0, 0, 0, 0.15);
|
| 51 |
}
|
| 52 |
h1 {
|
| 53 |
-
font-size:
|
| 54 |
font-weight: 700;
|
| 55 |
}
|
| 56 |
h2 {
|
|
@@ -58,7 +61,8 @@ HTML = """
|
|
| 58 |
font-weight: normal;
|
| 59 |
font-style: italic;
|
| 60 |
opacity: 0.8;
|
| 61 |
-
margin-bottom:
|
|
|
|
| 62 |
}
|
| 63 |
h3 {
|
| 64 |
font-size: 2.2vh;
|
|
@@ -70,20 +74,20 @@ HTML = """
|
|
| 70 |
justify-content: space-between;
|
| 71 |
margin-bottom: 2vh;
|
| 72 |
background: rgba(255, 255, 255, 0.1);
|
| 73 |
-
padding:
|
| 74 |
border-radius: 5px;
|
| 75 |
-
font-size: 2vh;
|
| 76 |
}
|
| 77 |
.provider-group label {
|
| 78 |
display: flex;
|
| 79 |
align-items: center;
|
| 80 |
-
font-size:
|
| 81 |
-
cursor: pointer;
|
| 82 |
}
|
| 83 |
.provider-group input[type="checkbox"] {
|
| 84 |
-
margin-right:
|
| 85 |
-
width: 3vh;
|
| 86 |
-
height: 3vh;
|
| 87 |
}
|
| 88 |
.contact {
|
| 89 |
position: absolute;
|
|
@@ -102,16 +106,15 @@ HTML = """
|
|
| 102 |
color: white;
|
| 103 |
background: #8A5AAB;
|
| 104 |
padding: 1.2vh 3.5vh;
|
| 105 |
-
margin:
|
| 106 |
text-align: center;
|
| 107 |
-
font-
|
| 108 |
-
font-size: 2.2vh;
|
| 109 |
font-weight: 600;
|
| 110 |
cursor: pointer;
|
| 111 |
display: block;
|
| 112 |
box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.2);
|
| 113 |
transition: box-shadow 0.1s ease-in-out;
|
| 114 |
-
border-radius: 5px;
|
| 115 |
}
|
| 116 |
button:hover {
|
| 117 |
box-shadow: none;
|
|
@@ -129,20 +132,10 @@ HTML = """
|
|
| 129 |
white-space: pre-wrap;
|
| 130 |
}
|
| 131 |
#generateManifestButton {
|
| 132 |
-
margin-top: 1vh;
|
| 133 |
background: #4CAF50;
|
| 134 |
-
color: white;
|
| 135 |
-
border: none;
|
| 136 |
-
border-radius: 5px;
|
| 137 |
-
cursor: pointer;
|
| 138 |
}
|
| 139 |
#installButton {
|
| 140 |
-
margin-top: 1vh;
|
| 141 |
background: #FF5722;
|
| 142 |
-
color: white;
|
| 143 |
-
border: none;
|
| 144 |
-
border-radius: 5px;
|
| 145 |
-
cursor: pointer;
|
| 146 |
}
|
| 147 |
#installButton a {
|
| 148 |
color: white;
|
|
@@ -152,18 +145,21 @@ HTML = """
|
|
| 152 |
margin-top: 2vh;
|
| 153 |
font-size: 1.8vh;
|
| 154 |
text-align: left;
|
|
|
|
| 155 |
}
|
| 156 |
@media (max-width: 600px) {
|
| 157 |
-
|
| 158 |
-
font-size:
|
|
|
|
|
|
|
|
|
|
| 159 |
}
|
| 160 |
-
.provider-group
|
| 161 |
-
|
| 162 |
-
height: 4vh;
|
| 163 |
}
|
| 164 |
button {
|
| 165 |
-
font-size:
|
| 166 |
-
padding: 2vh
|
| 167 |
}
|
| 168 |
}
|
| 169 |
</style>
|
|
@@ -259,4 +255,5 @@ HTML = """
|
|
| 259 |
</script>
|
| 260 |
</body>
|
| 261 |
</html>
|
|
|
|
| 262 |
"""
|
|
|
|
| 17 |
padding: 0;
|
| 18 |
width: 100%;
|
| 19 |
height: 100%;
|
| 20 |
+
font-family: 'Open Sans', Arial, sans-serif;
|
| 21 |
}
|
| 22 |
body {
|
| 23 |
font-size: 2.2vh;
|
|
|
|
| 24 |
color: white;
|
| 25 |
background: url('https://i.postimg.cc/m2ZqvpZj/italian-seamless-free-vector-pattern3.png') center center repeat;
|
| 26 |
background-size: cover;
|
|
|
|
| 33 |
padding: 2vh;
|
| 34 |
border-radius: 10px;
|
| 35 |
width: 90%;
|
| 36 |
+
max-width: 400px;
|
| 37 |
text-align: center;
|
| 38 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
| 39 |
+
overflow: hidden;
|
| 40 |
}
|
| 41 |
.logo {
|
| 42 |
+
height: auto;
|
| 43 |
width: 14vh;
|
| 44 |
margin: auto;
|
| 45 |
+
margin-bottom: 2vh;
|
| 46 |
}
|
| 47 |
.logo img {
|
| 48 |
width: 100%;
|
| 49 |
+
height: auto;
|
| 50 |
}
|
| 51 |
h1, h2, h3 {
|
| 52 |
margin: 0;
|
| 53 |
text-shadow: 0 0 1vh rgba(0, 0, 0, 0.15);
|
| 54 |
}
|
| 55 |
h1 {
|
| 56 |
+
font-size: 4vh;
|
| 57 |
font-weight: 700;
|
| 58 |
}
|
| 59 |
h2 {
|
|
|
|
| 61 |
font-weight: normal;
|
| 62 |
font-style: italic;
|
| 63 |
opacity: 0.8;
|
| 64 |
+
margin-bottom: 1.5vh;
|
| 65 |
+
word-wrap: break-word;
|
| 66 |
}
|
| 67 |
h3 {
|
| 68 |
font-size: 2.2vh;
|
|
|
|
| 74 |
justify-content: space-between;
|
| 75 |
margin-bottom: 2vh;
|
| 76 |
background: rgba(255, 255, 255, 0.1);
|
| 77 |
+
padding: 1vh;
|
| 78 |
border-radius: 5px;
|
| 79 |
+
font-size: 2vh;
|
| 80 |
}
|
| 81 |
.provider-group label {
|
| 82 |
display: flex;
|
| 83 |
align-items: center;
|
| 84 |
+
font-size: 2vh;
|
| 85 |
+
cursor: pointer;
|
| 86 |
}
|
| 87 |
.provider-group input[type="checkbox"] {
|
| 88 |
+
margin-right: 1.5vh;
|
| 89 |
+
width: 3vh;
|
| 90 |
+
height: 3vh;
|
| 91 |
}
|
| 92 |
.contact {
|
| 93 |
position: absolute;
|
|
|
|
| 106 |
color: white;
|
| 107 |
background: #8A5AAB;
|
| 108 |
padding: 1.2vh 3.5vh;
|
| 109 |
+
margin: 1vh 0;
|
| 110 |
text-align: center;
|
| 111 |
+
font-size: 2vh;
|
|
|
|
| 112 |
font-weight: 600;
|
| 113 |
cursor: pointer;
|
| 114 |
display: block;
|
| 115 |
box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.2);
|
| 116 |
transition: box-shadow 0.1s ease-in-out;
|
| 117 |
+
border-radius: 5px;
|
| 118 |
}
|
| 119 |
button:hover {
|
| 120 |
box-shadow: none;
|
|
|
|
| 132 |
white-space: pre-wrap;
|
| 133 |
}
|
| 134 |
#generateManifestButton {
|
|
|
|
| 135 |
background: #4CAF50;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
}
|
| 137 |
#installButton {
|
|
|
|
| 138 |
background: #FF5722;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 139 |
}
|
| 140 |
#installButton a {
|
| 141 |
color: white;
|
|
|
|
| 145 |
margin-top: 2vh;
|
| 146 |
font-size: 1.8vh;
|
| 147 |
text-align: left;
|
| 148 |
+
word-wrap: break-word;
|
| 149 |
}
|
| 150 |
@media (max-width: 600px) {
|
| 151 |
+
h1 {
|
| 152 |
+
font-size: 3.5vh;
|
| 153 |
+
}
|
| 154 |
+
h2, .description {
|
| 155 |
+
font-size: 2vh;
|
| 156 |
}
|
| 157 |
+
.provider-group label {
|
| 158 |
+
font-size: 2.2vh;
|
|
|
|
| 159 |
}
|
| 160 |
button {
|
| 161 |
+
font-size: 2vh;
|
| 162 |
+
padding: 2vh 3vh;
|
| 163 |
}
|
| 164 |
}
|
| 165 |
</style>
|
|
|
|
| 255 |
</script>
|
| 256 |
</body>
|
| 257 |
</html>
|
| 258 |
+
|
| 259 |
"""
|