-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
125 lines (99 loc) · 2.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
@import 'https://fonts.googleapis.com/css?family=Rock+Salt';
@import 'https://fonts.googleapis.com/css2?family=Bungee&family=Poppins&display=swap';
*{
margin:0;
padding:0;
box-sizing: border-box;
}
body{
width:100vw;
height:100vh;
cursor: pointer;
background-color: black;
}
header {
height:20vh;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
h1,p {
color: rgb(250, 245, 245);
font-family: 'Poppins', sans-serif;
text-align: center;
}
h1{
font-size: 60px;
text-shadow: 0 1px 0 #f72929, 0 2px 0 #fc1717, 0 3px 0 #faa02a, 0 4px 0 #fc950e, 0 5px 0 #fcf825 , 0 6px 0 #fdf909, 0 7px 0 #63f828, 0 8px 0 #50fc0c, 0 9px 0 #3077fa, 0 10px 0 #0c60fc, 0 0 5px rgba(87, 86, 86, 0.05), 0 -1px 3px rgba(87,86, 86, 0.2), 0 9px 9px rgba(87, 86, 86, 0.3), 0 12px 12px rgba(87, 86, 86, 0.3), 0 15px 15px rgba(87, 86, 86, 0.3);
}
#red{
color:#fc1717
}
#orange{
color:#fc950e;
}
#yellow{
color:#fdf909;
}
section{
font-family: "Rock Salt", sans-serif;
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.33, rgb(14,173,173)), color-stop(0.67, rgb(0,255,255)));
background-image: -moz-linear-gradient(center bottom, rgb(14,173,173) 33%, rgb(0,255,255) 67% );
margin:3rem auto;
}
ul.polaroid {
max-width: 80%;
margin: auto;
display: flex;
justify-content: center;
align-items: center;
}
ul.polaroid li {
list-style: none;
max-width: 350px;
display: inline-block;
background: linear-gradient(110deg, white, oldlace);
box-shadow: 4px 4px 15px rgb(14, 13, 13);
filter: grayscale(100%);
}
ul.polaroid img {
max-width: 90%;
height: auto;
margin: 5% 5% 0 5%;
}
ul.polaroid span {
display: inline-block;
width: 90%;
min-height: 54px;
margin: 0 5% 5% 5%;
text-align: center;
}
ul.polaroid li:nth-child(1) {
position: relative;
transform: rotate(-4deg);
transition: all ease 0.6s;
}
ul.polaroid li:nth-child(2) {
position: relative;
transform: rotate(-14deg);
transition: all ease 0.6s;
}
ul.polaroid li:nth-child(3) {
position: relative;
transform: rotate(15deg);
transition: all ease 0.6s;
}
ul.polaroid li:nth-child(4) {
position: relative;
transform: rotate(-18deg);
transition: all ease 0.6s;
}
ul.polaroid li:hover {
transform: scale(1.1) rotate(0deg);
z-index: 999;
filter:none;
}
p, span {
font-weight:bold;
}