-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtempstyles.css
110 lines (99 loc) · 2.08 KB
/
tempstyles.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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: roboto, "Courier New", Courier, monospace;
}
body {
height: 100svh;
width: 100vw;
display: flex;
align-items: center;
justify-content: center;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type="number"] {
-moz-appearance: textfield;
}
.input {
width: 100%;
max-width: 300px;
padding: 10px 15px;
font-size: 16px;
border: 2px solid #ccc;
border-radius: 8px;
outline: none;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.input::placeholder {
color: #aaa;
opacity: 0.8;
}
.input:focus {
border-color: #4caf50;
box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}
.input.error {
box-shadow: 0 4px 8px rgba(255, 99, 71, 0.3);
}
.stack-container {
position: relative;
width: 100px;
height: fit-content;
border: 1px solid black;
border-top: none;
display: flex;
flex-direction: column-reverse;
padding: 5px;
gap: 5px;
background-color: #eee;
}
.stack {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 50px;
border: 1px solid purple;
background-color: #fff;
cursor: pointer;
}
button {
padding: 10px 20px;
font-size: 16px;
font-weight: bold;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#push-btn {
background: linear-gradient(145deg, #4caf50, #66bb6a);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#push-btn:hover {
transform: translateY(-3px);
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
#push-btn:active {
transform: translateY(1px);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#pop-btn {
background: linear-gradient(145deg, #ff6347, #ff7f50);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#pop-btn:hover {
transform: translateY(-3px);
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
#pop-btn:active {
transform: translateY(1px);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}