forked from mrdoob/three.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.css
More file actions
118 lines (104 loc) · 2.36 KB
/
Copy pathexample.css
File metadata and controls
118 lines (104 loc) · 2.36 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
body {
margin: 0;
background-color: #000;
overscroll-behavior: none;
overflow: hidden;
height: 100%;
}
a {
text-decoration: none;
color: inherit;
}
#info {
position: fixed;
top: 15px;
left: 15px;
z-index: 1001;
display: grid;
grid-template-columns: 50px auto;
grid-template-rows: auto auto;
column-gap: 10px;
align-items: start;
color: #e0e0e0;
text-shadow: 1px 1px 5px rgba(0, 0, 0, .7);
font: 400 14px 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#info > a.logo-link {
grid-column: 1;
grid-row: 1 / span 2;
display: block;
width: 50px;
height: 50px;
background: no-repeat center / contain;
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 226.77 226.77"><g transform="translate(8.964 4.2527)" stroke="%23ffffff" stroke-linecap="butt" stroke-linejoin="round" stroke-width="4" fill="none"><path d="m63.02 200.61-43.213-174.94 173.23 49.874z"/><path d="m106.39 50.612 21.591 87.496-86.567-24.945z"/><path d="m84.91 125.03-10.724-43.465 43.008 12.346z"/><path d="m63.458 38.153 10.724 43.465-43.008-12.346z"/><path d="m149.47 62.93 10.724 43.465-43.008-12.346z"/><path d="m84.915 125.06 10.724 43.465-43.008-12.346z"/></g></svg>');
}
.title-wrapper {
position: absolute;
left: 60px;
top: 2px;
display: flex;
width: 400px;
}
#info > small {
font-size: 12px;
color: #e0e0e0;
position: absolute;
left: 60px;
top: 25px;
width: calc( 100vw - 250px );
line-height: 20px;
}
.title-wrapper > a {
font-weight: 600;
}
.title-wrapper > span {
opacity: .7;
position: relative;
padding-left: 12px;
margin-left: 10px;
}
#info > small a {
color: #ff0;
text-decoration: none;
}
#info > small a:hover {
text-decoration: underline;
}
.title-wrapper > span::before {
content: "";
position: absolute;
left: 1px;
top: calc(50% + 1px);
transform: translateY(-50%);
width: 1px;
height: 12px;
background: #c3c3c3;
opacity: .5;
}
#info.invert {
filter: invert(1);
}
#overlay {
position: absolute;
font-size: 16px;
z-index: 2;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background: rgba(0,0,0,0.7);
}
#overlay button {
background: transparent;
border: 0;
border: 1px solid rgb(255, 255, 255);
border-radius: 4px;
color: #ffffff;
padding: 12px 18px;
text-transform: uppercase;
cursor: pointer;
}