-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
127 lines (112 loc) · 2.26 KB
/
style.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
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
/* General Reset */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #f7f7f7;
padding: 20px;
}
/* Questionnaire Styles */
.question-container {
text-align: center;
max-width: 400px;
width: 100%;
margin: 20px;
padding: 30px 20px;
background-color: white;
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
border-radius: 12px;
}
.question-container h2 {
font-size: 1.4em;
color: #333;
margin-bottom: 24px;
}
label {
display: block;
padding: 15px;
margin: 10px 0;
font-size: 1em;
color: #333;
background-color: #f1f1f1;
border: 2px solid #ddd;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
}
label:hover {
background-color: #e9e9e9;
}
label input[type="radio"],
label input[type="checkbox"] {
display: none;
}
label input[type="radio"]:checked + label,
label input[type="checkbox"]:checked + label {
background-color: #007bff;
color: white;
border-color: #007bff;
}
button {
margin-top: 15px;
padding: 10px;
width: 100%;
border: none;
border-radius: 4px;
background-color: #4CAF50;
color: white;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
}
button:disabled {
background-color: #b0b0b0;
cursor: not-allowed;
}
button:not(:disabled):hover {
background-color: #45a049;
}
/* Card Styling for Dog Profiles */
.card-container {
position: relative;
width: 300px;
height: 400px;
display: flex;
justify-content: center;
align-items: center;
margin-top: 30px;
}
.card {
position: absolute;
width: 100%;
height: 100%;
border-radius: 8px;
background-size: cover;
background-position: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
transition: transform 0.5s, opacity 0.5s;
}
.card-info {
position: absolute;
bottom: 0;
width: 100%;
background: rgba(0, 0, 0, 0.6);
color: white;
padding: 10px;
border-radius: 0 0 8px 8px;
}
.card h3, .card p {
margin: 5px 0;
font-weight: normal;
color: #fff;
}
.card.dragging {
transition: none;
}