-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
94 lines (78 loc) · 1.76 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
/* style.css */
body {
font-family: 'Arial', sans-serif;
background-color: ##fffee8;
text-align: center;
padding: 50px;
align-items: center;
}
h1 {
color: #333;
}
.button {
background-color: #008CBA;
border: none;
color: white;
padding: 50px 100px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 45px;
margin: 4px 2px;
cursor: pointer;
border-radius: 4px;
transition: background-color 0.3s;
}
.button:hover {
background-color: #b59c0e;
}
.container {
max-width: 600px;
margin: auto;
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.image-style {
border: 1px solid #ccc;
margin: 10px;
width: 90%;
}
img {
max-width: 100%;
max-height: 100%;
display: block; /* remove extra space below image */
}
.box{
width: 90%;
border: 1px solid black;
}
/* Responsive design for screens smaller than 600px */
@media (max-width: 600px) {
.container {
width: 90%;
padding: 10px;
}
.button {
background-color: #dbc232;
color: white;
padding: 20px 80px; /* Increased padding for larger touch area */
font-size: 43px; /* Larger font size for better readability */
border-radius: 16px; /* Optional: Larger border radius for a more rounded look */
}
body {
padding: 20px;
}
img {
max-width: 100%;
max-height: 100%;
display: block; /* remove extra space below image */
}
.box {
width: 98%;
border: 1px solid black;
text-align: center;
}
/* Other responsive styles */
}