-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
137 lines (121 loc) · 2.23 KB
/
index.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
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
127
128
129
130
131
132
133
134
135
136
137
body {
font-family: Arial, Helvetica, sans-serif;
background: rgba(0, 0, 0, 0.3) url("/images/welcome_bg.jpg");
background-blend-mode: darken;
background-size: cover;
}
nav {
box-sizing: border-box;
border: 2px solid rgb(245, 15, 249);
background-color: #fff;
position: fixed;
display: flex;
top: 0;
left: 0;
width: 100%;
align-items: center;
}
nav h2 {
margin-left: 11px;
cursor: pointer;
color: #000;
}
nav h2 span {
font-style: italic;
color: rgb(245, 15, 249);
}
nav ul {
flex: 1;
text-align: center;
}
nav ul li {
display: inline-block;
margin: 10px 20px;
padding: 4px;
}
nav ul li a {
padding: 15px;
text-decoration: none;
color: #000;
transition: 2s;
}
nav ul li a:hover {
box-shadow: 0 5px 20px rgb(131, 28, 172) inset,
0 5px 20px rgb(131, 28, 172) inset, 0 5px 20px rgb(131, 28, 172) inset,
0 5px 20px rgb(131, 28, 172) inset;
}
nav .btn {
color: #000;
text-decoration: none;
margin-right: 25px;
padding: 10px;
box-sizing: border-box;
border-radius: 20px;
padding: 12px;
background-color: rgb(245, 15, 249);
}
.content {
position: absolute;
margin-top: 5%;
margin-left: 5%;
color: #fff;
font-size: 40px;
}
.content p {
margin-top: -20px;
font-size: 30px;
}
.play {
position: absolute;
margin-left: 16%;
margin-top: 32%;
font-size: 30px;
}
.play a {
text-decoration: none;
color: #fff;
background-color: rgb(42, 6, 75);
padding: 20px;
padding-left: 50px;
padding-right: 50px;
border: 4px solid hsl(0, 0%, 100%);
}
.card {
position: absolute;
left: 58%;
top: 31%;
/* background-color: #fff; */
width: 400px;
height: 400px;
border-radius: 200px;
filter: grayscale(100%);
animation-name: ani;
animation-duration: 5s;
animation-iteration-count: infinite;
}
.card img {
object-fit: cover;
height: 100%;
object-position: 68%;
/* left: 68px; */
}
@keyframes ani {
from {
/* background-color: #fff; */
cursor: pointer;
transition: all 0.5s ease-in-out;
transform: scale(0.5);
}
to {
filter: grayscale(0);
}
}
/*.card:hover{
/* background-color: #fff;
filter: grayscale(0);
}
.card:hover.card img{
cursor: pointer;
transition: all 0.5s ease-in-out;
transform: scale(1.4);
} */