-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
140 lines (115 loc) · 2.39 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
@import url('https://fonts.googleapis.com/css?family=Baloo');
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
body {
font-family: 'Baloo', cursive;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 0;
background: linear-gradient(to bottom right, #5EFCE8, #736EFE);
color: #F1ECFF;
}
ul {
list-style: none;
padding: 0;
margin: 0;
}
.title {
display: flex;
font-size: 90px;
margin: 5px;
}
.title-30 {
position: relative;
transition: all 0.4s ease-out;
}
.title-30-main {
color: #5961F9;
background: -webkit-linear-gradient(#EE9AE5, #5961F9);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.title-30-shadow {
position: absolute;
top: 0;
color: rgba(0, 0, 0, 0.1);
opacity: 0.6;
z-index: -1;
text-shadow: 0 0 1rem #DF5ED4;
transition: text-shadow 0.4s ease-out;
}
.title-30:hover .title-30-shadow {
text-shadow: 0 0 2rem rgba(223, 94, 212, 0.8);
}
.title-30:hover {
transform: scale(1.2);
}
.days {
width: 80vw;
display: grid;
grid-template-columns: repeat(auto-fill, 200px);
justify-content: space-between;
grid-gap: 30px;
}
.days a{
text-decoration: none;
color: inherit;
}
.days a:visited{
text-decoration: none;
color: inherit;
}
.day {
position: relative;
height: 120px;
width: 100%;
background-color: #574AE2;
border: 4px solid #F1ECFF;
border-radius: 5%;
box-shadow: 0 0 15px 5px rgba(247, 255, 247, 0.1);
perspective: 1000px;
transform-style: preserve-3d;
transition: all 0.4s ease-out;
}
.container:hover .day {
transform: rotateX(180deg) scale(1.3);
box-shadow: 0 0 50px #5EFCE8;
}
.face {
position: absolute;
height: 100%;
width: 100%;
backface-visibility: hidden;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
padding: 20px;
}
.front {
font-size: 52px;
font-weight: 800;
}
.back {
transform: rotateX(180deg);
font-size: 24px;
}
.days a:nth-child(4n + 1) .back {
background-color: #FF9175;
}
.days a:nth-child(4n + 2) .back {
background-color: #FF66A3;
}
.days a:nth-child(4n + 3) .back {
background-color: #DF5ED4;
}
.days a:nth-child(4n + 4) .back {
background-color: #FFC75C;
}