-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
88 lines (71 loc) · 1.32 KB
/
style.css
File metadata and controls
88 lines (71 loc) · 1.32 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
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;500;600;700&display=swap');
body{
margin: 0;
}
.container{
font-family: "Source Sans 3", sans-serif;
}
.header{
background: #000;
color: #fff;
height: 60px;
border-bottom: 5px solid #333;
}
.header .title{
padding: 0.5rem;
}
.header .title .main-title{
font-size: 18px;
font-weight: 600;
}
.header .title .sub-title{
font-size: 14px;
}
.header .title .sub-title span{
color: #999;
}
.editor{
width: 33.33%;
height: 100%;
float: left;
box-sizing: border-box;
position: relative;
}
.editor #html{
border-right: 1px solid #777;
}
.editor #css{
border-left: 20px solid #333;
border-right: 1px solid #777;
}
.editor #js{
border-left: 20px solid #333;
}
.code-box{
position: relative;
height: calc(50vh - 4.6rem);
border-top: 1px solid #000;
border-bottom: 10px solid #333;
overflow: hidden;
}
.preview{
position: relative;
height: calc(90vh - 30px);
background: #fff;
border-top: 10px ridge #333;
}
.preview iframe{
width: 100%;
height: 100%;
}
::-webkit-scrollbar{
width: 5px;
height: 5px;
}
::-webkit-scrollbar-track{
background: transparent;
}
::-webkit-scrollbar-thumb{
background: #555;
border-radius: 20px;
}