forked from andz138/Team4_AnimalSim_Repo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
187 lines (160 loc) · 3.17 KB
/
styles.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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
/* Reset and general styling */
html, body {
height: 100%;
margin: 0;
padding: 0;
font-family: "Verdana", "Geneva", sans-serif;
text-align: center;
font-size: 12pt;
}
body {
background: url('images/bones_background.jpg') center/cover;
}
body.game {
background: url('images/home.jpg') center/cover no-repeat;
background-size: 100% 100%;
}
body.register, body.login {
background: url('images/dog_flowers.jpg') center 10%/cover;
}
ul {
list-style-type: none;
padding-left: 0;
}
ul li img {
vertical-align: middle;
width: 25px;
margin-bottom: 5px;
}
.container {
background: #fff;
border: 1px solid #ccc;
padding: 20px;
margin: 20px auto;
max-width: 400px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
/* Tables and Forms */
.stats, table, th, td, fieldset, legend, label, input {
font-size: 14px;
}
table {
border-collapse: collapse;
width: 100%;
}
th, td {
border: 1px solid black;
padding: 8px;
text-align: center;
}
/* Links */
a {
color: #0088cc;
text-decoration: none;
}
a:hover {
background-color: #FFA;
}
/* Form Elements */
fieldset {
margin: 20px auto;
width: 300px;
padding: 20px;
border: 1px solid #ccc;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
background-color: #fff;
}
legend {
font-size: 20px;
color: #333;
margin-bottom: 10px;
padding: 0 10px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #fff;
text-align: center;
}
label {
margin-bottom: 8px;
}
input {
width: 100%;
padding: 8px;
box-sizing: border-box;
}
input[type="submit"] {
background-color: #0088cc;
color: #fff;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #005580;
}
/* Pet Stats Container */
.pet-stats-container {
display: flex;
justify-content: space-around;
background: #333;
color: #fff;
padding: 10px;
margin-bottom: 20px;
text-align: center;
}
.pet-stat {
text-align: center;
margin-right: 15px;
}
.pet-stat p {
margin: 0;
font-size: 16px;
}
/* Pet and Bowl Images */
.pet-image, .bowl-image {
position: fixed;
bottom: 0;
}
.pet-image {
transform: translateX(800px);
max-width: 25%;
left: 5%;
}
.bowl-image {
max-width: 10%;
left: 10%;
}
/* Pet Mood */
.pet-mood {
position: fixed;
top: 7%;
left: 50%;
transform: translateX(-50%);
background-color: #fff;
padding: 10px;
border: 2px solid #000;
border-radius: 5px;
font-weight: bold;
text-align: center;
font-size: 16px;
color: red;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* Logout Button & Invisible Button */
.button, input[name="logout"] {
position: fixed;
bottom: 0;
left: 0;
border: none;
padding: 0;
cursor: pointer;
width: 100px;
height: 40px;
}
.button{
background: none;
}
/* Error Messages */
p.error, .error-message {
color: red;
}