forked from burakorkmez/leetcode-clone-youtube
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobals.css
104 lines (90 loc) · 2.3 KB
/
globals.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
@tailwind base;
@tailwind components;
@tailwind utilities;
/* RESET */
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
"Open Sans", "Helvetica Neue", sans-serif;
height: 100vh;
}
@layer components {
.preferenceBtn {
@apply relative rounded px-3 py-1.5 font-medium items-center transition-all focus:outline-none inline-flex ml-auto p-1 mr-2 hover:bg-dark-fill-3;
}
.preferenceBtn-tooltip {
@apply absolute w-auto p-2 text-sm m-2 min-w-max translate-x-3 right-0 top-5 z-10 rounded-md shadow-md
text-dark-layer-2 bg-gray-200 origin-center scale-0 transition-all duration-100 ease-linear group-hover:scale-100;
}
}
/* dark scrollbar */
::-webkit-scrollbar {
width: 0.5rem;
}
::-webkit-scrollbar-track {
background: #282828;
}
::-webkit-scrollbar-thumb {
background: #4d4d4d;
}
/* CODE EDITOR*/
.cm-scroller,
.cm-gutters {
background-color: #282828 !important;
}
.cm-focused {
outline: none !important;
}
.split {
display: flex;
flex-direction: row;
}
.gutter {
background-color: rgb(26, 26, 26);
background-repeat: no-repeat;
background-position: 50%;
}
.gutter:hover {
background-color: #0a84ff;
}
.gutter.gutter-horizontal {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==");
cursor: col-resize;
}
.gutter.gutter-vertical {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=");
cursor: row-resize;
}
code {
border-radius: 5px;
border-width: 1px;
font-family: sans-serif;
font-size: 0.75rem;
font-weight: 500;
line-height: 1rem;
padding: 0.125rem;
letter-spacing: 1px;
white-space: pre-wrap;
background-color: hsla(0, 0%, 100%, 0.07);
border-color: rgba(247, 250, 255, 0.12);
color: rgba(239, 241, 246, 0.75);
}
.example-card pre {
background-color: hsla(0, 0%, 100%, 0.1);
border-radius: 0.5rem;
color: rgba(239, 241, 246, 0.75);
font-size: 0.98rem;
line-height: 1.25rem;
margin-bottom: 1rem;
margin-top: 1rem;
padding: 1rem;
white-space: pre-wrap;
}
.example-card pre strong {
color: white;
font-size: 1rem;
}