-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
83 lines (82 loc) · 1.49 KB
/
style.css
File metadata and controls
83 lines (82 loc) · 1.49 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
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@800&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: hsl(218, 23%, 16%);
/* max-width: 1440px;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center; */
font-family: "Manrope", sans-serif;
font-weight: 500;
}
.container{
max-width: 1440px;
height: 90vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.main-container {
width: 500px;
background-color: hsl(217, 19%, 24%);
border-radius: 10px;
color: hsl(193, 38%, 86%);
padding: 25px;
position: relative;
}
.advice-id {
margin-top: 10px;
margin-bottom: 20px;
color: hsl(150, 100%, 66%);
}
.advice-text {
font-size: 20px;
}
.pause {
margin-top: 10px;
width: 100%;
padding: 15px;
}
.button {
position: absolute;
top: 100%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: 50%;
background-color: hsl(150, 100%, 66%);
padding: 10px;
height: 50px;
width: 50px;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
}
.button:hover {
box-shadow: 0px 0px 25px 5px hsl(150, 100%, 66%);
cursor: pointer;
}
/* Responsive Design */
@media (max-width: 375px) {
.main-container {
padding: 10px;
margin: 30px;
}
.advice-id {
margin-bottom: 10px;
}
.advice-text {
font-size: 18px;
}
.pause {
margin-top: 0px;
margin-bottom: 10px;
}
}