-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
114 lines (100 loc) · 1.58 KB
/
styles.css
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
104
105
106
107
108
109
110
111
112
113
114
body {
font-family:
system-ui,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
Oxygen,
Ubuntu,
Cantarell,
'Open Sans',
'Helvetica Neue',
sans-serif;
font-kerning: none;
-webkit-text-rendering: optimizeSpeed;
text-rendering: optimizeSpeed;
}
main {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
padding: 2rem;
max-width: 1200px;
margin: 0 auto;
}
h1 {
margin-bottom: 2rem;
align-self: start;
}
main > div {
display: flex;
gap: 2rem;
width: 100%;
}
.col {
flex: 1;
display: flex;
flex-direction: column;
gap: 1rem;
}
textarea {
display: block;
width: auto;
max-width: 100%;
padding: 1rem;
font-size: 1rem;
border: 1px solid #ccc;
border-radius: 4px;
resize: vertical;
min-height: 200px;
}
fieldset {
border: 1px solid #ccc;
border-radius: 4px;
padding: 1rem;
}
fieldset > div {
margin: 0.5rem 0;
display: flex;
gap: 0.5rem;
}
.output-container {
min-height: 200px;
padding: 1rem;
border: 1px solid #ccc;
border-radius: 4px;
margin-bottom: 1rem;
}
button {
padding: 0.5rem 1rem;
font-size: 1rem;
background: #007bff;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background: #0056b3;
}
#original-text {
margin-top: 1rem;
padding: 1rem;
border: 1px solid #ccc;
border-radius: 4px;
color: #666;
}
/* Split text styles */
.line {
background-color: #f0f0f0;
}
.word {
position: relative;
display: inline-block;
}
.char {
position: relative;
display: inline-block;
}