-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
133 lines (114 loc) · 2.11 KB
/
style.css
File metadata and controls
133 lines (114 loc) · 2.11 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
body {
background-color: #f4f7fa;
font-family: 'Segoe UI', sans-serif;
text-align: center;
padding: 50px;
}
.container {
background: white;
padding: 40px;
margin: auto;
width: 60%;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
text-align: center;
align-self: center;
}
h1 {
color: #333;
}
textarea {
width: 80%;
height: 120px;
border-radius: 8px;
border: 1px solid #ccc;
padding: 10px;
font-size: 16px;
margin-bottom: 20px;
align-self: center;
}
button {
background-color: #007bff;
color: white;
padding: 10px 25px;
border: none;
border-radius: 8px;
font-size: 16px;
cursor: pointer;
}
button:hover {
background-color: #0056b3;
}
.result {
margin-top: 20px;
font-size: 30px;
font-weight: bold;
animation: pop 0.5s ease;
}
@keyframes pop {
0% { transform: scale(0); }
60% { transform: scale(1.2); }
100% { transform: scale(1); }
}
.explain {
margin-top: 20px;
background-color: #f9fafb;
border-radius: 10px;
padding: 20px;
width: 80%;
margin-left: auto;
margin-right: auto;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.explain h3 {
color: #444;
}
.explain ul {
list-style-type: none;
padding: 0;
}
.explain li {
margin: 5px 0;
font-size: 16px;
}
.explain {
font-family: Arial, sans-serif;
margin: 20px 0;
}
.header {
display: flex;
align-items: center;
gap: 10px;
}
button#showDetailsBtn {
padding: 8px 16px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
button#showDetailsBtn:hover {
background-color: #0056b3;
}
.description {
font-size: 16px;
color: #333;
}
#wordsTable {
display: none; /* Hidden by default */
margin-top: 15px;
border-collapse: collapse;
width: 100%;
}
#wordsTable.visible {
display: table; /* Show table when 'visible' class is added */
}
#wordsTable th, #wordsTable td {
border: 1px solid #ccc;
padding: 8px;
text-align: left;
}
#wordsTable th {
background-color: #f2f2f2;
}