-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
99 lines (87 loc) · 1.47 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
89
90
91
92
93
94
95
96
97
98
99
* {
padding: 0;
margin: 0;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
body {
width: 100vw;
height: 100vh;
background: linear-gradient(-45deg, #EE7752, #E73C7E, #23A6D5, #23D5AB);
background-size: 800% 1700%;
-webkit-animation: Gradient 4s ease infinite;
-moz-animation: Gradient 4s ease infinite;
animation: Gradient 4s ease infinite;
}
@-webkit-keyframes Gradient {
0% {
background-position: 0% 50%
}
50% {
background-position: 100% 50%
}
100% {
background-position: 0% 50%
}
}
@-moz-keyframes Gradient {
0% {
background-position: 0% 50%
}
50% {
background-position: 100% 50%
}
100% {
background-position: 0% 50%
}
}
@keyframes Gradient {
0% {
background-position: 0% 50%
}
50% {
background-position: 100% 50%
}
100% {
background-position: 0% 50%
}
}
.main-container {
width: 80%;
margin: auto;
margin-top: 100px;
}
.projects-list {
list-style: none;
display: grid;
grid-row-gap: 50px;
}
.projects-list:last-child {
margin-bottom: 100px;
}
.image {
width: 100%;
border-radius: 10px;
border: solid 2px #ffffff;
cursor: pointer;
}
.image:hover {
transform: scale(1.1);
}
@media all and (min-width: 600px) {
.projects-list {
grid-template-columns: 1fr 1fr;
grid-column-gap: 50px;
}
}
@media all and (min-width: 800px) {
.projects-list {
grid-template-columns: 1fr 1fr 1fr;
}
}
@media all and (min-width: 1024px) {
.projects-list {
grid-template-columns: 1fr 1fr 1fr 1fr;
}
}