forked from Shivika-5236/Number-To-Word-Converter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconverterstyle.css
More file actions
179 lines (153 loc) · 2.84 KB
/
converterstyle.css
File metadata and controls
179 lines (153 loc) · 2.84 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
/* General Styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
background-color: #f9f9f9;
}
/* Header */
header {
background-color: #07050b;
padding: 1rem;
display: flex;
justify-content: center;
align-items: center;
border-bottom: 2px solid #c67aec;
position: relative;
}
/* Navigation Bar */
nav {
position: absolute;
left: 1rem;
top: 50%;
transform: translateY(-50%);
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
gap: 3rem;
}
nav ul li a, nav .btn {
text-decoration: none;
color: #ad319c;
font-size: 1.1rem;
}
nav ul li a:hover {
color: #1588af;
}
/* WordMyNumber Header */
header .logo {
text-align: center;
color: white;
}
header .logo h1 {
font-size: 2.5rem;
margin: 0;
}
header .logo p {
font-size: 1.2rem;
margin-top: 0.5rem;
}
/* Features Section */
.features {
padding: 6rem;
background: linear-gradient(45deg, #e869ef, #35c2e1);
text-align: center;
font-size: 30px;
color: #333;
}
.features .tabs button {
background-color: #6c63ff;
color: white;
border: none;
margin: 1rem;
padding: 1rem 2rem;
border-radius: 10px;
transition: background-color 0.3s ease;
}
.features .tabs button:hover {
background-color: #7a5ee8;
}
/* Converter Section */
.converter {
margin-top: 5rem;
}
.converter input, .converter button {
padding: 0.5rem;
margin: 0.5rem 0;
width: 50%;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 1rem;
}
.converter button {
background-color: #6c63ff;
color: white;
border: none;
cursor: pointer;
}
.converter button:hover {
background-color: #7a5ee8;
}
/* Dropdown Styling */
#caseSelect, #scaleSelect {
width: 200px;
padding: 10px;
border: 2px solid #9b4bc3;
border-radius: 5px;
font-size: 16px;
background-color: #f4f4f4;
color: #333;
transition: background-color 0.3s ease, border-color 0.3s ease;
}
#caseSelect:focus, #scaleSelect:focus {
outline: none;
background-color: #e0f7fa;
border-color: #00796b;
}
#caseSelect option, #scaleSelect option {
padding: 10px;
background-color: #fff;
color: #333;
font-size: 16px;
}
#caseSelect option:hover, #scaleSelect option:hover {
background-color: #f1f1f1;
}
/* Output Box for the Result */
#result {
display: inline-block;
padding: 1rem;
margin-top: 1rem;
border: 2px solid #6c63ff;
border-radius: 10px;
background-color: #f4f4f9;
color: #333;
font-size: 1.2rem;
max-width: 90%;
word-wrap: break-word;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#result {
font-weight: bold;
color: #6c63ff;
}
/* Footer */
footer {
padding: 1rem;
background-color: #120d1e;
color: white;
text-align: center;
}
footer .social-links a {
color: white;
text-decoration: none;
margin: 0 10px;
font-size: 1rem;
}
footer .social-links a:hover {
color: #9b4bc3;
}