-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
112 lines (100 loc) · 2.11 KB
/
style.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
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
body {
box-sizing: border-box;
padding: 0;
margin: 0;
min-height: 100vh;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
sans-serif;
}
.link {
display: inline-block;
position: relative;
cursor: pointer;
color: #000;
text-decoration: none;
}
.link::after {
content: "";
position: absolute;
width: 100%;
transform: scaleX(0);
height: 1px;
top: 110%;
left: 0;
background-color: #000;
transform-origin: bottom right;
transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}
.link:hover::after {
transform: scaleX(1);
transform-origin: bottom left;
}
.wrapper {
display: flex;
/* min-height: 95vh; */
flex-direction: column;
align-items: center;
justify-content: center;
}
.editor {
width: 100%;
max-width: 900px;
margin: 50px auto 40px;
/* height: 500px; */
display: flex;
box-shadow: 0 7px 7px rgba(0, 0, 0, .1), 0 -2px 3px rgba(0, 0, 0, .125);
}
.editor__code {
position: relative;
border: none;
flex-basis: 100%;
}
.monaco-editor {
height: 100vh !important;
}
.buttons {
text-align: right;
}
.button {
background: #4D4D4D;
color: white;
padding: 0.6em 2.3em 0.7em;
border-radius: 4px;
font-weight: 400;
border: none;
cursor: pointer;
font-family: sans-serif;
font-size: 15px;
box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.1);
transition: background-color .1s ease;
}
.button:hover {
background: #2b2a2a;
}
.button:active {
background: #6d6d6d;
padding: 0.7em 2.3em 0.6em;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.3);
}
.button:disabled {
pointer-events: none;
}
.usage{
width: 100%;
max-width: 900px;
margin: 50px auto 40px;
}
.cdnLink{
padding-left : 1rem;
padding-right : 1rem;
padding-top : 0.5rem;
padding-bottom: 0.5rem;
background: #000;
border-radius: 0.2rem;
color: #fff;
display: flex;
align-items: center;
gap: 0.5rem;
cursor: pointer;
}