-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
121 lines (103 loc) · 2.65 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
@font-face {
font-family: 'clarendon';
src: url('police/clarendon/unicode.clarendb.ttf') format('truetype');
}
@font-face {
font-family: 'aileron';
src: url('police/aileron/Aileron-Light.otf') format('truetype');
}
body {
display: flex;
justify-content: center;
align-items: center;
font-size: 1.4em;
}
.colorpolice {
color: rgba(4, 48, 143, 0);
}
h1 {
font-family: 'clarendon', Arial, Helvetica, sans-serif;
font-size: 3.55em;
}
h2, p{
font-family: 'aileron', Arial, Helvetica, sans-serif;
}
.title{
display: flex;
}
#tm{
position: relative;
top: 93px;
left: 12px;
font-weight: bold;
font-size: 0.7em;
}
.computer {
font-size: 1.55em;
}
.color1carrelt {
background-color: #DE0227;
}
.container {
height: 750px;
width: 600px;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.carreprincip {
height: 300px;
width: 300px;
transform: rotate(45deg);
margin-bottom: 33px;
background: linear-gradient(45deg, rgba(228, 52, 16, 1) 0%, rgba(242, 226, 12, 1) 50%, rgba(228, 52, 16, 1) 100%);
}
.carretrans {
height: 350px;
width: 350px;
transform: rotate(45deg);
transform: translate(-33px, -612px);
margin-bottom: 33px;
background-color: rgba(255, 255, 255, 1);
}
.carre1 {
height: 100%;
width: 100%;
transform: translate(0px, 0px);
background: linear-gradient(45deg, rgba(222, 2, 39, 1) 1%, rgba(242, 226, 12, 0.3) 50%, rgba(222, 2, 39, 0) 100%);
}
.carre2 {
height: 100%;
width: 100%;
transform: translate(0px, -300px);
background: linear-gradient(45deg, rgba(222, 2, 39, 1) 1%, rgba(242, 226, 12, 0.3) 50%, rgba(222, 2, 39, 0) 100%);
}
.container:hover .carre1 {
height: 120px;
width: 120px;
transform: translate(50px, 30%);
transition-delay: 0.1s;
transition-duration: 1.1s;
transition-timing-function: cubic-bezier(.02, .02, .98, .98);
background: linear-gradient(45deg, rgba(222, 2, 39, 1) 0%, rgba(242, 226, 12, 0) 50%, rgba(222, 2, 39, 0) 100%);
}
.container:hover .carre2 {
height: 120px;
width: 120px;
transform: translate(130px, 30%);
transition-delay: 0.1s;
transition-duration: 1.1s;
transition-timing-function: cubic-bezier(.02, .02, .98, .98);
background: linear-gradient(45deg, rgba(222, 2, 39, 0) 0%, rgba(242, 226, 12, 0) 50%, rgba(222, 2, 39, 1) 100%);
}
.container:hover .colorpolice {
transition-delay: 0.9s;
transition-duration: 0.7s;
color: rgba(4, 48, 143, 1);
}
.container:hover .carretrans {
transition-duration: 0.4s;
background-color: rgba(255, 255, 255, 0);
}