Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
103 lines (84 loc) · 1.74 KB
/
Copy pathstyle.css
File metadata and controls
103 lines (84 loc) · 1.74 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
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@800&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
height: 100vh;
background: hsl(218, 23%, 16%);
font-family: poppins, monospace;
font-weight: 500;
overflow-x: hidden;
}
.container{
top: 30%;
transform: translateX(70%);
display: flex;
flex-direction: column;
/* gap: 2rem; */
/* justify-content: space-between; */
align-items: center;
position: relative;
border-radius: 10px;
padding: 2rem;
height: 45%;
width: 40%;
background: hsl(217, 19%, 24%);
}
.id{
color: hsl(150, 100%, 66%);
text-align: center;
height: 20%;
}
.message{
color: white;
text-align: center;
font-family: manrope;
font-weight: 800;
font-size: 1.6rem;
height: 68%;
}
.dice {
background: hsl(150, 100%, 66%);
padding: 15px;
border-radius: 30px;
position: absolute;
top: 90%;
cursor: pointer;
text-align: center;
/* height: 10%; */
}
.dice:hover{
box-shadow: 0px 0px 30px 20px rgba(0, 255, 128, 0.4);
transition: 0.5s;
}
@media (min-width: 1024px) {
.mobile{
display: none;
}
}
/* Media Query */
@media (max-width: 375px) {
body {
height: 100vh;
/* width: 100vw; */
display: flex;
justify-content: center;
align-items: center;
}
.container {
width: 90%;
height: 50%;
transform: none;
top: 0;
/* position: relative; */
}
.message {
font-size: 1rem;
font-weight: 500;
}
.desktop {
display: none;
}
}