-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
121 lines (113 loc) · 2.67 KB
/
index.css
File metadata and controls
121 lines (113 loc) · 2.67 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
/* Custom scrollbar styling for a more integrated look */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #161B22; /* secondary */
}
::-webkit-scrollbar-thumb {
background: #30363D; /* border-color */
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #8B949E; /* text-secondary */
}
/* Styles for rendered README content */
.readme-content {
line-height: 1.6;
}
.readme-content h1, .readme-content h2, .readme-content h3, .readme-content h4, .readme-content h5, .readme-content h6 {
border-bottom: 1px solid #30363D; /* border-color */
padding-bottom: 0.3em;
margin-top: 24px;
margin-bottom: 16px;
font-weight: 600;
}
.readme-content h1 { font-size: 2em; }
.readme-content h2 { font-size: 1.5em; }
.readme-content h3 { font-size: 1.25em; }
.readme-content a {
color: #34D399; /* accent */
text-decoration: none;
}
.readme-content a:hover {
text-decoration: underline;
}
.readme-content p {
margin-bottom: 16px;
}
.readme-content code {
background-color: #21262D; /* tertiary */
padding: 0.2em 0.4em;
margin: 0;
font-size: 85%;
border-radius: 6px;
font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}
.readme-content pre {
background-color: #21262D; /* tertiary */
padding: 16px;
overflow: auto;
border-radius: 6px;
margin-bottom: 16px;
}
.readme-content pre code {
padding: 0;
margin: 0;
font-size: 100%;
background: transparent;
}
.readme-content ul, .readme-content ol {
padding-left: 2em;
margin-bottom: 16px;
}
.readme-content li {
margin-top: 0.25em;
}
.readme-content blockquote {
padding: 0 1em;
color: #8B949E; /* text-secondary */
border-left: 0.25em solid #30363D; /* border-color */
margin: 0 0 16px;
}
.readme-content img {
max-width: 100%;
background-color: white;
border-radius: 6px;
}
/* Styles for CodeViewer line numbers */
.code-line {
display: flex;
height: 1.25rem; /* Set a fixed height for alignment */
line-height: 1.25rem;
}
.line-number {
display: inline-block;
width: 3rem;
text-align: right;
padding-right: 1rem;
color: #8B949E; /* text-secondary */
-webkit-user-select: none;
user-select: none;
}
.line-content {
display: inline-block;
white-space: pre;
}
@keyframes fadeInRight {
from {
opacity: 0;
transform: translateX(100%);
}
to {
opacity: 1;
transform: translateX(0);
}
}
.animate-fade-in-right {
animation: fadeInRight 0.3s ease-out forwards;
}