Added CSS styling for UI
Browse files- postly/common/css.py +36 -0
postly/common/css.py
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
def get_theme():
|
| 2 |
+
return """
|
| 3 |
+
<style>
|
| 4 |
+
body {
|
| 5 |
+
background-color: #ffffff;
|
| 6 |
+
color: #1DA1F2;
|
| 7 |
+
}
|
| 8 |
+
.stButton>button {
|
| 9 |
+
background-color: #1DA1F2;
|
| 10 |
+
color: white;
|
| 11 |
+
}
|
| 12 |
+
.stTextInput>div>div>input {
|
| 13 |
+
border: 1px solid #1DA1F2;
|
| 14 |
+
}
|
| 15 |
+
.stTextArea>div>div>textarea {
|
| 16 |
+
border: 1px solid #1DA1F2;
|
| 17 |
+
}
|
| 18 |
+
.stSelectbox>div>div>div>div {
|
| 19 |
+
border: 1px solid #1DA1F2;
|
| 20 |
+
}
|
| 21 |
+
.post-container {
|
| 22 |
+
border: 1px solid #1DA1F2;
|
| 23 |
+
border-radius: 10px;
|
| 24 |
+
padding: 10px;
|
| 25 |
+
margin-bottom: 10px;
|
| 26 |
+
background-color: #f5f8fa;
|
| 27 |
+
}
|
| 28 |
+
.post-header {
|
| 29 |
+
font-weight: bold;
|
| 30 |
+
color: #1DA1F2;
|
| 31 |
+
}
|
| 32 |
+
.post-content {
|
| 33 |
+
color: #14171A;
|
| 34 |
+
}
|
| 35 |
+
</style>
|
| 36 |
+
"""
|