Spaces:
Sleeping
Sleeping
Create style/style.css
Browse files- style/style.css +33 -0
style/style.css
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* CSS Snippet from W3schools: https://www.w3schools.com/howto/howto_css_contact_form.asp */
|
2 |
+
/* Style inputs with type="text", select elements and textareas */
|
3 |
+
input[type=message], input[type=email], input[type=text], textarea {
|
4 |
+
width: 100%; /* Full width */
|
5 |
+
padding: 12px; /* Some padding */
|
6 |
+
border: 1px solid #ccc; /* Gray border */
|
7 |
+
border-radius: 4px; /* Rounded borders */
|
8 |
+
box-sizing: border-box; /* Make sure that padding and width stays in place */
|
9 |
+
margin-top: 6px; /* Add a top margin */
|
10 |
+
margin-bottom: 16px; /* Bottom margin */
|
11 |
+
resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
|
12 |
+
}
|
13 |
+
|
14 |
+
/* Style the submit button with a specific background color etc */
|
15 |
+
button[type=submit] {
|
16 |
+
background-color: #615D6C;
|
17 |
+
color: #CAE5FF;
|
18 |
+
padding: 12px 20px;
|
19 |
+
border: none;
|
20 |
+
border-radius: 4px;
|
21 |
+
cursor: pointer;
|
22 |
+
}
|
23 |
+
|
24 |
+
/* When moving the mouse over the submit button, add a darker green color */
|
25 |
+
button[type=submit]:hover {
|
26 |
+
background-color: #6F8AB7;
|
27 |
+
}
|
28 |
+
|
29 |
+
|
30 |
+
/* Hide Streamlit Branding */
|
31 |
+
#MainMenu {visibility: hidden;}
|
32 |
+
footer {visibility: hidden;}
|
33 |
+
header {visibility: hidden;}
|