-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
127 lines (111 loc) · 1.89 KB
/
Copy pathindex.css
File metadata and controls
127 lines (111 loc) · 1.89 KB
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
@font-face {
font-family: "Fredoka";
src: url(asset/font/Fredoka-VariableFont.ttf);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-size: 20px;
font-family: "Fredoka";
}
:root {
--body-color: #b4ffe6;
--secondary-color:#fff;
}
body {
width: 100dvw;
height: 100dvh;
display: flex;
justify-content: center;
align-items: center;
}
main {
background: var(--secondary-color);
margin: 0;
border: solid 3px #000;
border-radius: 10px;
height: 80%;
width: 25%;
display: flex;
flex-direction: column;
justify-content: space-between;
overflow: hidden;
filter: drop-shadow(7px 7px);
}
section {
display: flex;
flex-direction: column;
}
.screen {
/* border: solid 3px #552fd9; */
background: var(--secondary-color);
width: 100%;
height: 25%;
border-radius: 8px 8px 0 0;
justify-content: space-around;
align-items: end;
padding-inline: 4%;
padding-block: 7%;
}
.buttons {
height: 75%;
width: 100%;
padding-top: 10%;
padding-bottom: 2%;
border: solid 3px var(--body-color);
background: var(--body-color);
border-radius: 16px 16px 8px 8px;
div {
/* border: solid; */
height: 20%;
display: flex;
justify-content: space-evenly;
}
}
button {
height: 80%;
width: 20%;
background: var(--secondary-color);
border: solid 2px;
border-radius: 10px;
filter: drop-shadow(2px 2px);
transition: 250ms;
}
#result {
width: 44%;
}
h1{
font-size: 2.5rem;
}
p{
font-size: .8rem;
}
/*animation zone*/
button:hover{
background: #eee;
cursor: pointer;
}
button:active{
transform: scale(.8);
background: #c5c5c5;
}
/* Responsive zone */
@media (max-width:675px) {
main {
height: 75%;
width: 90%;
}
}
@media (min-width:675px ) and (max-width:1175px) {
main {
height: 75%;
width: 50%;
}
}
@media (min-width:1175px ) and (max-width:1300px) {
main {
height: 75%;
width: 30%;
}
}