Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +16 -16
src/streamlit_app.py
CHANGED
|
@@ -44,9 +44,9 @@ if "quiz_history" not in st.session_state:
|
|
| 44 |
st.markdown("""
|
| 45 |
<style>
|
| 46 |
html, body, [class*="css"] {
|
| 47 |
-
background-color: #
|
| 48 |
-
color: #
|
| 49 |
-
font-family: '
|
| 50 |
}
|
| 51 |
.nav-bar {
|
| 52 |
display: flex;
|
|
@@ -55,21 +55,21 @@ st.markdown("""
|
|
| 55 |
background-color: #1a1a1a;
|
| 56 |
padding: 1rem;
|
| 57 |
width: 100%;
|
| 58 |
-
border-bottom: 2px solid #
|
| 59 |
}
|
| 60 |
.nav-left, .nav-right {
|
| 61 |
display: flex;
|
| 62 |
align-items: center;
|
| 63 |
}
|
| 64 |
.nav-item {
|
| 65 |
-
color: #
|
| 66 |
-
font-size:
|
| 67 |
text-decoration: none;
|
| 68 |
margin-right: 1rem;
|
| 69 |
transition: color 0.3s;
|
| 70 |
}
|
| 71 |
.nav-item:hover {
|
| 72 |
-
color: #
|
| 73 |
}
|
| 74 |
.search-form {
|
| 75 |
display: flex;
|
|
@@ -88,43 +88,43 @@ st.markdown("""
|
|
| 88 |
.search-button {
|
| 89 |
padding: 0.5rem 1rem;
|
| 90 |
font-size: 16px;
|
| 91 |
-
background-color: #
|
| 92 |
color: white;
|
| 93 |
border: none;
|
| 94 |
border-radius: 0 4px 4px 0;
|
| 95 |
cursor: pointer;
|
| 96 |
}
|
| 97 |
.search-button:hover {
|
| 98 |
-
background-color: #
|
| 99 |
}
|
| 100 |
.star {
|
| 101 |
-
color: #
|
| 102 |
font-size: 1.4em;
|
| 103 |
padding-right: 2px;
|
| 104 |
}
|
| 105 |
h1, h2, h3 {
|
| 106 |
-
color: #
|
| 107 |
}
|
| 108 |
.stButton>button {
|
| 109 |
-
background-color: #
|
| 110 |
color: white !important;
|
| 111 |
border-radius: 5px;
|
| 112 |
border: none;
|
| 113 |
}
|
| 114 |
.stButton>button:hover {
|
| 115 |
-
background-color: #
|
| 116 |
}
|
| 117 |
</style>
|
| 118 |
<div class="nav-bar">
|
| 119 |
<div class="nav-left">
|
| 120 |
-
<a class="nav-item" href="/?home=true" target="_self">
|
| 121 |
</div>
|
| 122 |
<form class="search-form" action="/" method="get">
|
| 123 |
<input type="text" name="search" class="search-input" placeholder="Search movies...">
|
| 124 |
-
<button type="submit" class="search-button">
|
| 125 |
</form>
|
| 126 |
<div class="nav-right">
|
| 127 |
-
<a class="nav-item" href="/?rateflow=true" target="_self">
|
| 128 |
</div>
|
| 129 |
</div>
|
| 130 |
""", unsafe_allow_html=True)
|
|
|
|
| 44 |
st.markdown("""
|
| 45 |
<style>
|
| 46 |
html, body, [class*="css"] {
|
| 47 |
+
background-color: #0b0b0b !important;
|
| 48 |
+
color: #f0f0f0 !important;
|
| 49 |
+
font-family: 'Georgia', serif;
|
| 50 |
}
|
| 51 |
.nav-bar {
|
| 52 |
display: flex;
|
|
|
|
| 55 |
background-color: #1a1a1a;
|
| 56 |
padding: 1rem;
|
| 57 |
width: 100%;
|
| 58 |
+
border-bottom: 2px solid #5c1a1b;
|
| 59 |
}
|
| 60 |
.nav-left, .nav-right {
|
| 61 |
display: flex;
|
| 62 |
align-items: center;
|
| 63 |
}
|
| 64 |
.nav-item {
|
| 65 |
+
color: #f0f0f0;
|
| 66 |
+
font-size: 18px;
|
| 67 |
text-decoration: none;
|
| 68 |
margin-right: 1rem;
|
| 69 |
transition: color 0.3s;
|
| 70 |
}
|
| 71 |
.nav-item:hover {
|
| 72 |
+
color: #b32d2e;
|
| 73 |
}
|
| 74 |
.search-form {
|
| 75 |
display: flex;
|
|
|
|
| 88 |
.search-button {
|
| 89 |
padding: 0.5rem 1rem;
|
| 90 |
font-size: 16px;
|
| 91 |
+
background-color: #5c1a1b;
|
| 92 |
color: white;
|
| 93 |
border: none;
|
| 94 |
border-radius: 0 4px 4px 0;
|
| 95 |
cursor: pointer;
|
| 96 |
}
|
| 97 |
.search-button:hover {
|
| 98 |
+
background-color: #732323;
|
| 99 |
}
|
| 100 |
.star {
|
| 101 |
+
color: #d4af37;
|
| 102 |
font-size: 1.4em;
|
| 103 |
padding-right: 2px;
|
| 104 |
}
|
| 105 |
h1, h2, h3 {
|
| 106 |
+
color: #b32d2e !important;
|
| 107 |
}
|
| 108 |
.stButton>button {
|
| 109 |
+
background-color: #5c1a1b !important;
|
| 110 |
color: white !important;
|
| 111 |
border-radius: 5px;
|
| 112 |
border: none;
|
| 113 |
}
|
| 114 |
.stButton>button:hover {
|
| 115 |
+
background-color: #732323 !important;
|
| 116 |
}
|
| 117 |
</style>
|
| 118 |
<div class="nav-bar">
|
| 119 |
<div class="nav-left">
|
| 120 |
+
<a class="nav-item" href="/?home=true" target="_self">Home</a>
|
| 121 |
</div>
|
| 122 |
<form class="search-form" action="/" method="get">
|
| 123 |
<input type="text" name="search" class="search-input" placeholder="Search movies...">
|
| 124 |
+
<button type="submit" class="search-button">Search</button>
|
| 125 |
</form>
|
| 126 |
<div class="nav-right">
|
| 127 |
+
<a class="nav-item" href="/?rateflow=true" target="_self">Rate</a>
|
| 128 |
</div>
|
| 129 |
</div>
|
| 130 |
""", unsafe_allow_html=True)
|