-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcon.css
More file actions
116 lines (97 loc) · 1.86 KB
/
con.css
File metadata and controls
116 lines (97 loc) · 1.86 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
width: 100%;
}
body {
display: grid;
place-items: center;
background-image: url(img/dumbell.jpg);
background-size: cover;
background-position: center;
font-family: Arial, sans-serif;
}
.container {
background: rgba(74, 73, 73, 0.717);
border: 1px solid #000000;
padding: 20px;
margin: 10px;
outline: none;
opacity: 1;
backdrop-filter: blur(20px);
border-radius: 10px;
width: 100%;
max-width: 600px; /* Adjust max-width for better appearance on laptops */
}
input, textarea, button {
padding: 12px;
margin: 6px;
border: none;
border-radius: 5px;
font-size: 16px;
width: calc(100% - 24px); /* Adjust width to fit container */
}
textarea {
resize: vertical;
}
button {
background-color: rgba(115, 104, 104, 0.93);
cursor: pointer;
color: white;
width: auto;
}
.f2 {
text-align: center;
font-size: 20px;
color: #ffffff;
}
h1, h2 {
color: rgb(212, 210, 254);
text-shadow: 2px 2px 4px azure;
text-align: center;
}
h1 {
margin-bottom: 20px;
}
h2 {
margin-top: 20px;
}
/* Responsive styles */
@media (max-width: 1024px) { /* For laptops and smaller screens */
.container {
width: 90%;
max-width: 500px; /* Adjust max-width for laptops */
}
input, textarea, button {
width: calc(100% - 24px);
}
.f2 {
font-size: 18px;
}
}
@media (max-width: 768px) {
.container {
padding: 15px;
}
input, textarea, button {
width: calc(100% - 18px);
}
.f2 {
font-size: 18px;
}
}
@media (max-width: 480px) {
.container {
padding: 10px;
}
input, textarea, button {
width: calc(100% - 12px);
}
.f2 {
font-size: 16px;
}
}