forked from vincelwt/chatgpt-mac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
62 lines (54 loc) · 1.04 KB
/
index.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
56
57
58
59
60
61
62
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
Arial, sans-serif;
padding: 0;
margin: 0;
overflow: hidden;
}
:root {
/* account for the arrow */
--actual-height: calc(100vh - 12px);
}
.myarrow {
position: relative;
/* padding-top: 12px; */
padding: 12px 0 0 0 ;
}
.myarrow:before {
content: '';
height: 0;
width: 0;
border-width: 0 8px 12px 8px;
border-style: solid;
border-color: transparent transparent white transparent;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
}
@media (prefers-color-scheme: dark) {
.myarrow:before {
border-color: transparent transparent #343541 transparent !important;
}
}
.page {
background: #eeeeee;
width: 100%;
height: 100vh;
margin-top: 12px;
margin: 0 auto;
position: relative;
}
.darwin.page {
border-radius: 8px;
overflow: hidden;
}
webview {
/* overflow: hidden; */
position: absolute;
top: 0;
left: 0;
width: 100%;
height: calc(100vh - 12px);
display: inline-flex !important;
}