-
Notifications
You must be signed in to change notification settings - Fork 763
/
stay_connect.css
81 lines (70 loc) · 1.93 KB
/
stay_connect.css
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
#stay_connect {
background-color: #F7E6E9; /* Light background with an old rose color */
border-radius: 8px;
padding: 2rem;
max-width: 500px;
margin: 0 auto;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
}
#stay_connect h2 {
color: #333; /* Darker color for contrast */
font-size: 1.8rem;
margin-bottom: 1.5rem;
}
#newsform .news-form {
display: block;
font-size: 1.1rem;
color: #555; /* Subtle color */
margin-bottom: 0.5rem; /* Adjusted margin for better spacing */
}
.row-flex {
display: flex;
justify-content: space-between;
align-items: center;
gap: 0.8rem; /* Adjust gap for space between input and button */
flex-wrap: wrap;
}
.finput {
flex: 1;
padding: 0.8rem;
border-radius: 4px;
border: 1px solid #ccc;
font-size: 1rem;
outline: none;
transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Transition for focus effect */
}
.finput:focus {
border-color: #A30F17; /* Focus color matching the button */
box-shadow: 0 0 5px rgba(163, 15, 23, 0.5); /* Soft red glow */
}
.subscribe {
width: 100%; /* Full width */
padding: 0.8rem;
background-color: #A30F17; /* Button background */
color: white; /* White text */
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1rem;
transition: background-color 0.3s ease, transform 0.2s ease; /* Transition effects */
}
.subscribe:hover {
background-color: #861015; /* Darker red on hover */
transform: translateY(-2px); /* Slight lift effect */
}
.subscribe:active {
transform: translateY(1px); /* Slight press effect */
}
input[type="text"]::placeholder, input[type="email"]::placeholder {
color: #999;
font-style: italic;
}
@media (max-width: 480px) {
.row-flex {
flex-direction: column;
}
.finput {
margin-bottom: 1rem; /* Spacing between input and button */
}
}