Spaces:
Sleeping
Sleeping
Create css/style.css
#6
by
Uzaiir
- opened
- src/css/style.css +73 -0
src/css/style.css
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* css/styles.css */
|
| 2 |
+
|
| 3 |
+
/* Center align the paragraph in emotion cache */
|
| 4 |
+
.st-emotion-cache-1rsyhoq p{
|
| 5 |
+
display: flex;
|
| 6 |
+
justify-content: center;
|
| 7 |
+
color:rgba(31, 2, 2, 0.815);
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
/* Nav bar */
|
| 11 |
+
.st-emotion-cache-1eyfjps {
|
| 12 |
+
display: block;
|
| 13 |
+
position: fixed;
|
| 14 |
+
top: 0px;
|
| 15 |
+
left: 0px;
|
| 16 |
+
right: 0px;
|
| 17 |
+
height: 3.75rem;
|
| 18 |
+
background: #0097b2;
|
| 19 |
+
outline: none;
|
| 20 |
+
z-index: 999990;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.st-emotion-cache-bm2z3a {
|
| 24 |
+
display: flex
|
| 25 |
+
;
|
| 26 |
+
flex-direction: column;
|
| 27 |
+
width: 100%;
|
| 28 |
+
overflow: auto;
|
| 29 |
+
-webkit-box-align: center;
|
| 30 |
+
align-items: center;
|
| 31 |
+
background: #0097b2;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
/* Style the specific element */
|
| 35 |
+
h2 {
|
| 36 |
+
display: flex;
|
| 37 |
+
justify-content: center;
|
| 38 |
+
color: rgb(207, 58, 58);
|
| 39 |
+
letter-spacing: -3px;
|
| 40 |
+
line-height: 0.2;
|
| 41 |
+
}
|
| 42 |
+
h3 {
|
| 43 |
+
display: flex;
|
| 44 |
+
justify-content: center;
|
| 45 |
+
color: rgb(95, 33, 33);
|
| 46 |
+
letter-spacing: 0px;
|
| 47 |
+
line-height: 0.2;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
/* Background for the emotion cache */
|
| 51 |
+
.st-emotion-cache-12fmjuu {
|
| 52 |
+
background: rgb(255, 226, 0);
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
/* Background color for the app */
|
| 56 |
+
.stApp {
|
| 57 |
+
background-color: yellow;
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
/* Button styles */
|
| 61 |
+
.stButton > button {
|
| 62 |
+
color: white;
|
| 63 |
+
background-color: black;
|
| 64 |
+
padding: 2px 60px;
|
| 65 |
+
border-radius: 20px;
|
| 66 |
+
border: none;
|
| 67 |
+
font-size: 20px; /* Adjusted for better visibility */
|
| 68 |
+
font-weight: normal;
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
.stButton > button:hover {
|
| 72 |
+
background-color: #45a049;
|
| 73 |
+
}
|