-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstyle.css
More file actions
125 lines (105 loc) · 2.27 KB
/
style.css
File metadata and controls
125 lines (105 loc) · 2.27 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
122
123
124
125
/* Apply a notebook-like background */
body {
background: #1e1e1e;
color: #f8f8f2;
font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
/* Add font for headings */
h1, h2, h3, h4, h5, h6 {
font-family: 'JetBrains Mono', 'Fira Code', monospace;
font-weight: 600;
}
/* Style for code blocks and inline code */
pre, code {
font-family: 'JetBrains Mono', 'Fira Code', monospace;
font-feature-settings: "liga" 1;
}
/* Additional pages styling */
.container {
font-size: 1.125rem; /* 18px base font size */
}
/* Heading sizes for additional pages */
.container h1 {
font-size: 2.5rem; /* 40px */
margin-bottom: 1.5rem;
}
.container h2 {
font-size: 2rem; /* 32px */
margin-bottom: 1.25rem;
}
.container h3 {
font-size: 1.75rem; /* 28px */
margin-bottom: 1rem;
}
.container h4 {
font-size: 1.5rem; /* 24px */
margin-bottom: 0.75rem;
}
/* Code blocks in additional pages */
.container pre {
font-size: 1.125rem; /* Match base font size */
line-height: 1.6;
padding: 1.25rem;
margin: 1.25rem 0;
}
/* Paragraphs and list items */
.container p,
.container li {
font-size: 1.125rem;
line-height: 1.7;
margin-bottom: 1rem;
}
/* Table text in additional pages */
.container table {
font-size: 1.125rem;
}
/* Code comments */
.container .code-comment {
font-size: 1rem;
color: #94a3b8;
}
/* Prose sections */
.container .prose {
font-size: 1.125rem;
}
/* Inline code */
.container code {
font-size: 1.125rem;
}
/* Notebook-style grid lines */
.notebook {
background: linear-gradient(to bottom, rgba(255,255,255,0.1) 1px, transparent 1px);
background-size: 100% 25px;
}
/* Table styling */
table {
border-collapse: collapse;
width: 100%;
}
th, td {
border: 1px solid #444;
padding: 8px;
text-align: left;
}
th {
background-color: #333;
}
/* Code block styling *
*/
pre {
background-color: #1e293b; /* Dark background */
color: #f8f8f2;
border-left: 4px solid #38bdf8; /* Blue border */
padding: 12px;
border-radius: 8px;
font-size: 0.9rem;
overflow-x: auto;
white-space: pre-wrap;
}
nav a {
transition: all 0.2s ease-in-out;
}
nav a:hover {
transform: translateX(5px);
color: #38bdf8; /* Tailwind blue */
}