-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
172 lines (155 loc) · 3.18 KB
/
index.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
body {
margin:0;
padding: 0;
background: #000;
}
h1
{
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 100%;
text-align: center;
margin: 0;
padding: 0;
font-family: sans-serif;
font-size: 40px;
text-shadow: 0 2px 5px rgba(255, 255, 255, 0.5);
}
h2
{
position: absolute;
top: 73%;
transform: translateY(-50%);
width: 110%;
text-align: center;
margin: 0;
padding: 0;
font-family: sans-serif;
color: #850606;
font-size: 40px;
text-shadow: 0 2px 5px rgba(255, 255, 255, 0.5);
}
.button1
{
position: absolute;
size:40;
top: 73%;
transform: translateY(-50%);
width: 100%;
text-align: left;
margin-left: 30%;
padding: 0;
font-family: sans-serif;
color: #850606;
/* background-color: #40463C*/
font-size: 40px;
text-shadow: 0 2px 5px rgba(255, 255, 255, 0.5);
}
.button2
{
position: absolute;
top: 73%;
transform: translateY(-50%);
width: 30%;
text-align: left;
margin: 0;
padding: 0;
font-family: sans-serif;
color: #850606;
background-color: #40463C
font-size: 40px;
text-shadow: 0 2px 5px rgba(255, 255, 255, 0.5);
}
p
{
position: absolute;
top: 85%;
transform: translateY(-50%);
width: 50%;
text-align: right;
margin: 0;
padding: 0;
font-family: sans-serif;
color: #850606;
font-size: 40px;
text-shadow: 0 2px 5px rgba(255, 255, 255, 0.5);
}
.bg{
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url("https://media.giphy.com/media/NARhtERAbRbkQ/giphy.gif"); // Mettre URL
background-position: center center;
background-origin: content-box;
background-attachment: fixed;
z-index: -2;
}
/* Now the same background, but with brightness filters*/
.lightning{
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url("https://media.giphy.com/media/NARhtERAbRbkQ/giphy.gif"); //Mettre URL
background-position: center center;
background-origin: content-box;
background-attachment: fixed;
-webkit-filter: brightness(3);
filter: brightness(3);
-o-filter: brightness(3);
-moz-filter: brightness(3);
z-index: -1;
}
/*Now just a opacity animation*/
.flashit{
-webkit-animation: flash ease-out 5s infinite;
-moz-animation: flash ease-out 5s infinite;
animation: flash ease-out 5s infinite;
animation-delay: 1s;
}
@-webkit-keyframes flash {
from { opacity: 0; }
92% { opacity: 0; }
93% { opacity: 0.6; }
94% { opacity: 0.2; }
96% { opacity: 0.9; }
to { opacity: 0; }
}
@keyframes flash {
from { opacity: 0; }
92% { opacity: 0; }
93% { opacity: 0.6; }
94% { opacity: 0.2; }
96% { opacity: 1; }
to { opacity: 0; }
}
/*End! is that simple! */
/*Now just some stupid logo to get some look and feel */
#logo{
z-index:1000;
width: 100%;
font-size: 6rem;
color: white;
position: fixed;
top: 50%;
left: 50%;
margin-left: -18rem;
margin-top: -2rem;
font-weight: 900;
}
#logo span{ font-weight: 100;}
html , body{
font-family: "Titillium Web", "lato" , sans-serif;
}
@import url(https://fonts.googleapis.com/css?family=Titillium+Web:200,900|Lato:100,300,900);
@media screen and (max-width: 630px){
#logo{
font-size: 3rem;
margin-left: -9rem;
margin-top: -1rem;
}
}