-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
100 lines (89 loc) · 1.77 KB
/
style.css
File metadata and controls
100 lines (89 loc) · 1.77 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
/* Modern Reset & Typography */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
background-color: #e0ece8;
color: #333;
margin: 0;
padding: 20px;
display: flex;
justify-content: center;
}
main {
background: #fff;
padding: 2rem;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 700px;
}
h1 {
color: #2c3e50;
margin-top: 0;
border-bottom: 2px solid #eee;
padding-bottom: 10px;
}
label {
font-weight: bold;
display: block;
margin-bottom: 8px;
}
/* Textarea styling */
textarea {
width: 100%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 1rem;
box-sizing: border-box; /* Ensures padding doesn't break width */
resize: vertical;
}
/* Accessible Buttons */
#button {
background-color: #006400;
color: white;
border: none;
padding: 12px 24px;
font-size: 1rem;
border-radius: 4px;
cursor: pointer;
margin-top: 15px;
transition: background 0.3s ease;
}
#button:hover {
background-color: #004d00;
}
/* Results Section */
#check-results {
margin-top: 25px;
padding-top: 20px;
border-top: 1px solid #eee;
}
/* Error Text */
.error-title {
color: #b30000;
font-weight: bold;
margin-bottom: 15px;
}
/* Success Text */
.success-msg {
color: #006400;
font-weight: bold;
}
/* Dynamic Add-to-Dictionary Buttons */
.add-word-btn {
background-color: #fff;
color: #006400;
border: 2px solid #006400;
padding: 6px 12px;
margin: 5px 0;
border-radius: 4px;
cursor: pointer;
font-weight: bold;
display: block;
width: fit-content;
}
.add-word-btn:hover {
background-color: #006400;
color: #fff;
}