-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquote-styles.css
More file actions
113 lines (96 loc) · 2.96 KB
/
quote-styles.css
File metadata and controls
113 lines (96 loc) · 2.96 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
body {
margin: 0;
padding: 0;
background-size: cover;
background-repeat: no-repeat;
animation: changeBackground 10s infinite; /* Background change animation */
opacity:0.9;
}
@keyframes changeBackground {
0% { background-image: url("https://images.squarespace-cdn.com/content/v1/61fd778b0cb2be0c1b903334/1646077517386-T452BBJ6ORIVBZ95VLK4/IMG_4511.JPG?format=750w"); }
33% { background-image: url("https://images.squarespace-cdn.com/content/v1/61fd778b0cb2be0c1b903334/1652200639631-IBEEI8XRYZWPKGJHLRDQ/IMG_6265.PNG?format=1000w"); }
66% { background-image: url("https://images.squarespace-cdn.com/content/v1/61fd778b0cb2be0c1b903334/1649791895781-XJFPXZRCTEERSNXKZ948/IMG_5698.JPG?format=1000w"); }
100% { background-image: url("https://images.squarespace-cdn.com/content/v1/61fd778b0cb2be0c1b903334/1646077517386-T452BBJ6ORIVBZ95VLK4/IMG_4511.JPG?format=750w"); } /* Loop back to the first image */
}
h2{
font-size: 2em;
color:white;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
text-align: center;
font-weight: lighter;
margin: 30px;
}
.form {
width: 50%;
margin: 0 auto;
background: linear-gradient(to bottom, rgb(255, 207, 249), rgb(172, 230, 247));
padding: 50px; /* Add some padding for better spacing */
border:none;
border-radius: 35px;
}
.form label {
display: block;
margin-bottom: 10px; /* Add space between labels */
font-size:1.1em;
}
.form label:last-child {
margin-bottom: 20px; /* Add extra space after the last label */
}
.name {
display: flex;
justify-content:left;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="url"],
.form select,
.form textarea {
width: calc(100% - 50px);
padding: 10px;
margin-bottom: 15px;
margin-top:5px;
border: 1px solid lightgray;
border-radius: 5px;
background-color: rgba(255,255,255,0.7);
}
.form textarea {
resize: vertical; /* Allow vertical resizing of the textarea */
}
.form input[type="submit"] {
width: 50%;
padding: 10px;
background-color: rgba(255,255,255,0.7);
color: black;
border: 1px solid lightgray;
border-radius: 25px;
cursor: pointer;
display: block;
margin:0 auto;
}
.form input[type="submit"]:hover {
background-color: rgba(0,0,0,0.7);
color:white;
text-decoration: underline;
}
@media only screen and (prefers-color-scheme: dark) {
.form input[type="text"],
.form input[type="email"],
.form input[type="url"],
.form select,
.form textarea {
background-color: rgba(0,0,0,0.7);
color:lightgray
}
.form {
background: linear-gradient(to bottom, rgb(126, 92, 121), rgb(81, 102, 108));
}
.form input[type="submit"] {
background-color: rgba(0,0,0,0.7); /* Set button color */
color: white;
border: 1px solid lightgray;
border-radius: 25px;
cursor: pointer;
display: block;
margin:0 auto;
}
}