-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
107 lines (96 loc) · 2.11 KB
/
styles.css
File metadata and controls
107 lines (96 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
/* Reset default margin and padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body styling */
body {
font-family: 'Roboto', sans-serif;
background: linear-gradient(135deg, #3b5998, #8b9dc3);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
}
/* Container styling */
.container {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
padding: 20px;
}
/* App container styling */
.app-container {
background: rgba(255, 255, 255, 0.15);
padding: 30px;
border-radius: 20px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
max-width: 600px;
width: 100%;
text-align: center;
}
/* Headings styling */
.headings-container h1 {
font-size: 2.5rem;
margin-bottom: 15px;
color: #fff;
font-weight: bold;
}
.headings-container h3 {
font-size: 1.2rem;
color: #e0e0e0;
margin-bottom: 30px;
line-height: 1.6;
}
/* Textarea styling */
.text-control {
width: 100%;
margin-bottom: 20px;
padding: 15px;
border: none;
border-radius: 10px;
background: rgba(255, 255, 255, 0.3);
color: #fff;
font-size: 1rem;
resize: none;
outline: none;
transition: background 0.3s ease, border 0.3s ease;
::placeholder {
color: rgba(255, 255, 255, 0.6);
}
}
.text-control::placeholder {
color: rgba(255, 255, 255, 0.7);
font-style: italic;
}
.text-control:focus {
background: rgba(255, 255, 255, 0.4);
border: 2px solid #1c8adb;
}
/* Error message styling */
.error-para {
color: #ff4d4f;
font-weight: bold;
margin-bottom: 20px;
font-size: 0.9rem;
}
/* Button styling */
.btn {
background: #1c8adb;
color: #fff;
padding: 12px 30px;
border: none;
border-radius: 50px;
font-size: 1rem;
font-weight: bold;
cursor: pointer;
transition: background 0.3s ease, transform 0.2s;
}
.btn:hover {
background: #105aa6;
transform: scale(1.05);
}