-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
81 lines (71 loc) · 1.42 KB
/
index.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
body {
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', Arial, sans-serif;
background-image: url("images/table.png");
background-size: cover;
font-weight: bold;
color: white;
text-align: center;
font-size: 22px;
margin-top: 15vh;
}
h1 {
color: goldenrod;
}
#message-el {
font-style: italic;
margin-bottom: 20px;
}
.name {
height: 52px;
text-align: center;
width: 180px;
margin-bottom: 10px;
border-radius: 5px;
}
.action-btn {
color: #016f32;
background: goldenrod;
padding: 15px;
font-weight: bold;
border: none;
border-radius: 5px;
margin: 5px;
cursor: pointer;
transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 180px;
}
.action-btn:hover {
background: #e5c554;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.action-btn:active {
transform: scale(0.96);
box-shadow: none;
}
.button-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-bottom: 20px;
}
/* Media Queries */
/* Medium Screens */
@media (max-width: 768px) {
.name {
width: 40%;
margin: 5px;
}
.action-btn {
width: 40%;
margin: 5px;
}
}
/* Small Screens */
@media (max-width: 480px) {
.action-btn {
width: 80%;
margin: 5px auto;
display: block;
}
}