-
Notifications
You must be signed in to change notification settings - Fork 0
/
lead.css~
55 lines (50 loc) · 1.14 KB
/
lead.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
body {
margin: 0;
background: #000;
}
video {
position: fixed;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -100;
transform: translateX(-50%) translateY(-50%);
background: url('//demosthenes.info/assets/images/polina.jpg') no-repeat;
background-size: cover;
transition: 1s opacity;
}
.stopfade {
opacity: .5;
}
#float {
font-family: Inconsolata;
/* font-family: Agenda-Light, Agenda Light, Agenda, Arial Narrow, sans-serif; */
font-weight:100;
background: rgba(0,0,0,0.3);
color: white;
padding-left: 5px;
padding-right: 5px;
width: 100%;
float: left;
font-size: 1rem;
display: table;
}
a {
display: inline-block;
color: #f44283;
text-decoration: none;
transition: .6s background;
}
a:hover{
background:rgba(0,0,0,0.9);
}
@media screen and (max-width: 500px) {
div{width:70%;}
}
@media screen and (max-device-width: 800px) {
html { background: url(https://thenewcode.com/assets/images/polina.jpg) #000 no-repeat center center fixed; }
#bgvid { display: none; }
}