-
Notifications
You must be signed in to change notification settings - Fork 2
/
preview.less
112 lines (94 loc) · 2.68 KB
/
preview.less
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
@import url("https://fonts.googleapis.com/css2?family=Maven+Pro&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Yusei+Magic&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fira+Sans&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Skranji&display=swap");
@title-bar-height: 30px;
* {
margin: 0;
padding: 0;
box-sizing: border-box;
user-select: none;
}
html, body {
width: 100%;
height: 100%;
background: repeating-conic-gradient(#131313 0% 25%, #181818 0% 50%) 50% / 10px 10px
}
#root {
width: 100%;
height: 100%;
}
.app {
width: 100%;
height: 100%;
}
#webview {
width: 100%;
height: 100%;
padding-top: @title-bar-height;
}
::selection {
background-color: #ffb5cb;
color: white;
}
::-webkit-scrollbar {
width: 20px;
}
::-webkit-scrollbar-track {
background: #000000;
}
::-webkit-scrollbar-thumb {
background: #5a5a5a;
}
::-webkit-scrollbar-thumb:hover {
background: #303030;
}
.preview-container {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: calc(100vh - @title-bar-height);
position: absolute;
bottom: 0;
}
.preview {
width: max-content;
height: max-content;
}
.image {
width: auto;
height: auto;
max-width: calc(100vw - 120px);
max-height: calc(100vh - @title-bar-height * 2);
}
.react-transform-wrapper {
width: 100% !important;
height: 100% !important;
}
.react-transform-component {
width: 100% !important;
height: 100% !important;
}
.preview-text {
margin-right: 10px;
width: 100px;
color: #f55195;
font-size: 15px;
font-family: "Maven Pro", sans-serif;
position: absolute;
right: 0;
bottom: 2%;
text-shadow: 0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black,0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black,0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black,0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black;
}
.preview-text2 {
margin-left: 10px;
width: 100px;
color: #f55195;
font-size: 15px;
font-family: "Maven Pro", sans-serif;
position: absolute;
left: 0;
bottom: 2%;
text-shadow: 0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black,0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black,0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black,0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black;
}