-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
84 lines (79 loc) · 2.76 KB
/
main.css
File metadata and controls
84 lines (79 loc) · 2.76 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
.cube-container {
transform-style: preserve-3d;
position: absolute;
pointer-events: none; }
.cube-container .side {
position: absolute;
border: 1px solid #303030;
width: 100%;
height: 100%;
user-select: none;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
cursor: pointer;
pointer-events: all;
transition: transform .2s ease, background .3s ease;
will-change: transform, background; }
.cube-container .side:hover {
background-color: rgba(255, 255, 255, 0.75) !important; }
.cube-container.eraser-mode .side:hover {
background-color: rgba(255, 0, 25, 0.5) !important; }
.hypercube-container .rotation-inspector {
position: absolute;
top: 0;
right: 0;
padding: 10px;
font-size: 12px; }
.app-container {
display: flex;
justify-content: center;
align-items: center;
perspective: 150vh;
perspective-origin: center 0;
background: linear-gradient(#cacaca, transparent), linear-gradient(180deg, #dedede, transparent);
background-blend-mode: screen;
width: 100%;
height: 100%;
overflow: hidden;
user-select: none; }
.app-container .control-buttons {
position: absolute;
bottom: 20px;
left: 20px; }
.app-container .control-buttons .eraser-checkbox {
cursor: pointer;
margin-bottom: 10px;
font-size: 14px;
display: block; }
@font-face {
font-family: 'Open Sans';
src: url("/public/fonts/OpenSans-Regular.eot");
src: url("/public/fonts/OpenSans-Regular.eot?#iefix") format("embedded-opentype"), url("/public/fonts/OpenSans-Regular.ttf") format("truetype"), url("/public/fonts/OpenSans-Regular.svg") format("svg");
font-weight: normal;
font-style: normal; }
@font-face {
font-family: 'Open Sans';
src: url("/public/fonts/OpenSans-Light.eot");
src: url("/public/fonts/OpenSans-Light.eot?#iefix") format("embedded-opentype"), url("/public/fonts/OpenSans-Light.ttf") format("truetype"), url("/public/fonts/OpenSans-Light.svg") format("svg");
font-weight: 300;
font-style: normal; }
@font-face {
font-family: 'Open Sans';
src: url("/public/fonts/OpenSans-Semibold.eot");
src: url("/public/fonts/OpenSans-Semibold.eot?#iefix") format("embedded-opentype"), url("/public/fonts/OpenSans-Semibold.ttf") format("truetype"), url("/public/fonts/OpenSans-Semibold.svg") format("svg");
font-weight: 600;
font-style: normal; }
@font-face {
font-family: 'Open Sans';
src: url("/public/fonts/OpenSans-Bold.eot");
src: url("/public/fonts/OpenSans-Bold.eot?#iefix") format("embedded-opentype"), url("/public/fonts/OpenSans-Bold.ttf") format("truetype"), url("/public/fonts/OpenSans-Bold.svg") format("svg");
font-weight: 700;
font-style: normal; }
html,
body {
height: 100%;
margin: 0;
font-family: 'Lato', sans-serif; }
#root {
color: #333;
width: 100%;
height: 100%; }