-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.css
More file actions
87 lines (76 loc) · 1.76 KB
/
App.css
File metadata and controls
87 lines (76 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
@import url('https://fonts.googleapis.com/css2?family=San+Francisco+Pro:wght@400;600&display=swap');
.App {
display: flex;
justify-content: center; /* Adjusted to flex-start to allow content to start from the top */
align-items: center;
min-height: 100vh; /* Adjusted to min-height to allow the content to grow beyond the viewport height */
background-color: #f0f0f0;
font-family: 'San Francisco Pro', sans-serif;
padding-top: 20px; /* Added padding at the top to give some space */
}
.rectangle {
width: 90%;
max-width: 400px;
max-height: 80vh; /* Set a max-height to allow for scrolling */
overflow-y: auto; /* Allow vertical scrolling */
background-color: #fff;
border-radius: 25px;
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
padding: 20px;
display: flex;
flex-direction: column;
gap: 20px;
text-align: center;
margin: 20px;
}
.text-input {
padding: 14px;
border-radius: 14px;
border: 1px solid #e5e5e5;
font-size: 16px;
width: 100%;
box-sizing: border-box;
outline: none;
-webkit-appearance: none;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.output-window {
padding: 0px;
border-radius: 14px;
overflow-y: auto;
word-break: break-word;
text-align: left;
border-color: #373738;
color: #e5e5e5;
}
/* Smoothing out input field for iOS */
.text-input:focus {
border-color: #007aff;
}
/* Dark mode styles for iOS */
@media (prefers-color-scheme: dark) {
.App {
background-color: #000;
}
.rectangle {
background-color: #1c1c1e;
}
.text-input{
background-color: #2c2c2e;
border-color: #373738;
color: #e5e5e5;
}
.text-input{
animation: fadeIn 2s ease-in-out; /* Fade-in effect on load */
}
.text-input:focus {
border-color: #0a84ff;
}
}