-
Notifications
You must be signed in to change notification settings - Fork 0
/
InputFormUser.css
71 lines (60 loc) · 1.32 KB
/
InputFormUser.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
body {
background-image: url("counter.jpg");
background-size: cover;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-weight: bold;
text-align: center;
align-items: center;
display: flex;
flex-direction: column;
justify-content: center;
}
.Counter{
margin-top: 40vh;
background-color: white;
width: 40%;
border-radius: 20px;
padding: 5px;
overflow: hidden;
}
@media screen and (max-width: 500px) and (max-height: 585px) {
.Counter {
margin-top: 20vh; /* Change margin-top to 20vh for screens 500px * 481px and lower */
}
}
.image{
height: 100vh;
width: 100c=vw;
z-index: -1;
}
h1 {
margin-top: 10px;
margin-bottom: 10px;
}
h2 {
font-size: 50px;
margin-top: 0;
margin-bottom: 20px;
}
button {
border: none;
padding-top: 10px;
padding-bottom: 10px;
color: white;
font-weight: bold;
width: 200px; /* Default width */
margin-bottom: 5px;
border-radius: 5px;
}
@media screen and (max-width: 500px) {
button {
width: 80%; /* Change the width to 80% for screens 500px or less */
}
}
#increment-btn {
background: darkred;
margin-bottom: 10px;
}
#save-btn {
background: darkgreen;
}