-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
88 lines (83 loc) · 1.48 KB
/
style.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
body{
margin: 0;
padding: 0;
background: rgb(91, 170, 140);
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.container{
background: #444;
width: 30%;
height: 30%;
position: relative;
box-shadow: 0 4px 8px;
border-radius: 10px;
}
.emoji-container{
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 20%;
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
overflow: hidden;
}
.far{
position: relative;
margin: 1px;
transform: translate(0);
transition: transform .2s;
}
.star{
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 60%;
}
.star i{
color: grey;
cursor: pointer;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.star i.active{
color: gold;
}
p{
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 80%;
color: white;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
p a{
color: greenyellow;
font-size: 18px;
text-decoration: none;
}
@media(max-width:1306px){
.star{
width: 100%;
text-align: center;
}
p{
width: 100%;
text-align: center;
}
}
@media(max-width:953px){
.container{
width: 70%;
}
}