-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnewtab.css
More file actions
124 lines (113 loc) · 2.21 KB
/
newtab.css
File metadata and controls
124 lines (113 loc) · 2.21 KB
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
body {
background-color: #282828;
width: 100%;
height: 100%;
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome and Opera */
}
#time {
margin: 0;
position: fixed;
top: 45%;
left: 50%;
transform: translate(-50%, -50%);
opacity: .9;
color: #fff;
font-size: 150px;
font-weight: bold;
font-family: helvetica;
transition: 0.2s;
}
h1 {
margin: 0;
position: fixed;
top: 47px;;
left: 200px;
transform: translate(-50%, -50%);
color: #fff;
font-size: 50px;
font-family: arial;
transition: 0.1s;
}
.sidenav {
height: 100%;
width: 0;
position: fixed;
z-index: -10;
top: 0;
left: 0;
background-color: #111;
overflow-x: hidden;
transition: 0.2s;
padding-top: 80px;
padding-right: 0px;
opacity: 0.8;
}
.sidenav a {
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 25px;
color: #fff;
display: block;
transition: 0.1s;
opacity: 0.8;
}
.sidenav a:hover {
color: #fff;
}
#menuButton {
position: fixed;
color: #fff;
font-size: 30px;
cursor: pointer;
transform: translate(16px, 16px) rotate(0deg);
transition: 0.2s;
}
#menuButton:hover {
color: #bfbfbf;
}
@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}
.fullscreen-bg {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: hidden;
z-index: -100;
}
.fullscreen-bg__video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
@media (min-aspect-ratio: 16/9) {
.fullscreen-bg__video {
height: 300%;
top: -100%;
}
}
@media (max-aspect-ratio: 16/9) {
.fullscreen-bg__video {
width: 300%;
left: -100%;
}
}
@media (max-width: 767px) {
.fullscreen-bg {
background: url('../img/videoframe.jpg') center center / cover no-repeat;
}
.fullscreen-bg__video {
display: none;
}
}