-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
90 lines (76 loc) · 1.71 KB
/
Copy pathstyle.css
File metadata and controls
90 lines (76 loc) · 1.71 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
:root{
--color_one: #18122b;
--color_two: #635985;
--color_three: #393053;
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
html{
font-size: 10px;
}
body{
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
height: 100vh;
background-color: var(--color_one);
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
background: radial-gradient(circle at top, #403866, var(--color_one) 65%);
}
.container{
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
width: 45%;
height: 50%;
background-color: var(--color_two);
padding: 2rem 2rem 1rem;
border-radius: 20px;
color: whitesmoke;
font-size: 2rem;
gap: 2rem;
max-width: 560px;
min-height: 300px;
box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.title{
text-align: center;
}
button{
display: block;
font-size: 1.6rem;
background-color: whitesmoke;
padding: 1rem 4rem;
border: none;
border-radius: 15px;
font-weight: bold;
box-shadow: 2px 2px 10px 0px black;
transition: all .05s ease-in-out;
cursor: pointer;
}
button:active{
box-shadow: 1px 1px 10px 0px rgb(30,30,30);
transform: scale(.80);
}
button:focus-visible, .heart i:focus-visible{outline: 3px solid #fdffae; outline-offset: 4px;}
@media (max-width: 640px){.container{width: calc(100% - 32px); height: auto; min-height: 300px;}.title{font-size: 2.4rem;}}
.feedback{
display: flex;
gap: 1rem;
}
.heart{
font-size: 4rem;
color: #05a8e3;
}
.heart:active{
transform: scale(.80);
}
.heart i{
cursor: pointer;
transform: all .03s ease-in-out;
}