-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
79 lines (69 loc) · 1.42 KB
/
index.css
File metadata and controls
79 lines (69 loc) · 1.42 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
3body{
margin: 0;
}
header{
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
height: 300px;
align-items: center;
background: linear-gradient(-45deg, rgb(72, 18, 127),rgb(232, 40, 161));
background-size: 400% 400%;
animation: gradient 20s ease infinite;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
header img {
width: 130px;
height: 130px;
border-radius: 50%;
}
header h1{
color: aliceblue;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-stretch:extra-condensed;
}
main{
display: flex;
justify-content: center;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
main section{
margin-top: 30px;
max-width:80%;
display: flex;
justify-content: space-around;
}
main section div{
border-radius: 10px;
box-shadow: 0px 0px 10px -3px black;
width: 300px;
height: 320px;
margin: 20px;
}
main section div iframe{
height: 250px;
overflow-y: hidden;
}
main section div h3{
text-align: center;
cursor: pointer;
}
@media(max-width: 800px){
main section{
flex-direction: column;
}
main section div{
margin-bottom: 15px;
}
}