blob: 579f3bcda774c7587091386b3b59937db4a20832 (
plain)
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
|
.container {
width: 100vw;
display: flex;
flex-direction: column;
flex: 1;
}
.languages {
background-color: transparent;
border: none;
padding: 10px 0;
margin-left: 36px;
font-family: inherit;
font-size: inherit;
cursor: inherit;
line-height: inherit;
width: 7rem;
outline: none;
color: white;
}
.languages__option {
width: 10rem;
border: none;
cursor: pointer;
transition: 0.3s;
background: #3c3836;
}
.editor {
display: flex;
flex-direction: row;
flex: 1;
padding: 20px 70px 0 40px;
border-top: 1px solid #3c3836;
}
.line__numbers {
display: flex;
flex-direction: column;
padding-right: 20px;
overflow-y: auto;
}
.line__numbers::-webkit-scrollbar {
display: none;
}
.line__number {
margin: 0;
font-size: 16px;
line-height: 1.5rem;
text-align: right;
}
.codespace {
position: relative;
display: flex;
flex: 1;
margin-left: 10px;
}
.codespace__textarea {
caret-color: white;
background: transparent;
position: absolute;
color: transparent;
left: 0;
top: 0;
width: 100%;
height: 100%;
font-size: 1rem;
line-height: 1.5rem;
resize: none;
border: none;
outline: none;
padding: 0;
overflow-y: auto;
}
.codespace__pre {
background: transparent !important;
height: 100%;
width: 100%;
margin: 0 !important;
padding: 0 !important;
}
.btn__save {
position: fixed;
bottom: 3rem;
right: 3rem;
height: 8rem;
width: 8rem;
background-color: #ebdbb2;
color: white;
border: none;
border-radius: 50%;
cursor: pointer;
transition: 0.3s;
z-index: 1;
}
.btn__icon {
height: 4rem;
width: 4rem;
}
|