-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
103 lines (90 loc) · 2.08 KB
/
index.css
File metadata and controls
103 lines (90 loc) · 2.08 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
@tailwind base;
@tailwind components;
@tailwind utilities;
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}
.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;
}
}