Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
235 lines (204 loc) · 5.74 KB
/
Copy pathstyles.css
File metadata and controls
235 lines (204 loc) · 5.74 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
/* Reset some default browser styles */
body, html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
/* General body styles */
body {
font-family: Arial, sans-serif;
background-color: #222;
color: #eee;
padding: 20px;
box-sizing: border-box; /* Ensure padding doesn't affect width calculations */
}
/* Link styles */
a {
color: #007bff;
text-decoration: none;
}
/* Navbar styles */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #333;
padding: 10px 20px;
color: white;
position: fixed; /* Ensure the navbar stays at the top */
top: 0;
left: 0;
width: 100%;
z-index: 1000; /* Ensure the navbar stays above other elements */
box-sizing: border-box;
height: 10vh;
}
/* Logo styles */
.logo {
font-family: 'Consolas', sans-serif;
font-size: 24px;
display: flex;
align-items: center;
}
.logo-script {
color: #fff;
}
.logo-blocks {
font-family: 'Quicksand', monospace;
color: lightcyan;
margin-left: 5px;
}
/* Nav link styles */
.nav-links {
display: flex;
align-items: center;
}
.nav-links a {
color: white;
text-decoration: none;
padding: 0 15px;
position: relative;
font-family: 'Quicksand', sans-serif;
font-weight: 500;
transition: color 0.3s ease;
}
.nav-links a:hover {
color: lightcyan;
}
/* Divider styles */
.divider {
width: 1px;
height: 20px;
background-color: rgba(255, 255, 255, 0.5);
margin: 0 10px;
}
/* Ensure content below the navbar is not hidden */
body > *:not(.navbar) {
padding-top: 60px; /* Adjust this value based on the height of the navbar */
}
/* Main section styles */
#title {
font-size: 6vw; /* Adjust font-size to make the title visually cover 50% width */
max-width: 50%; /* Restrict the width to 50% of the site */
margin: 1.5em auto 0 auto; /* Center horizontally with a margin at the top */
text-align: center;
}
#subtitle {
font-size: 3.5vw; /* Adjust font-size to make the subtitle visually cover 60% width */
max-width: 60%; /* Restrict the width to 60% of the site */
margin: 0.5em auto 0 auto; /* Center horizontally, just below the title */
text-align: center;
color: lightgray;
line-height: 1.2; /* Adjust line height to improve readability */
}
#desc {
font-size: 1.5vw; /* Adjust font-size to make the subtitle visually cover 60% width */
max-width: 80%; /* Restrict the width to 60% of the site */
margin: 0.5em auto 0 auto; /* Center horizontally, just below the title */
text-align: center;
color: #eee;
line-height: 1.2; /* Adjust line height to improve readability */
}
/* Ensure the code-block-split container takes up the full width */
.code-block-split {
display: flex;
flex-direction: row; /* Align child divs horizontally */
width: 100%; /* Full width of the container */
height: auto; /* Adjust height based on content */
margin: 20px 0; /* Margin to space out from other content */
}
/* Style each code block */
.code-block {
flex: 1; /* Each block takes up half the width */
padding: 10px; /* Padding for internal spacing */
box-sizing: border-box; /* Ensure padding is included in width calculation */
display: flex;
flex-direction: column; /* Stack content vertically */
}
/* Make sure both code blocks have the same height */
.code-block-pre {
flex: 1; /* Make the pre element take up the remaining space */
overflow: auto; /* Handle overflow if the content is too large */
}
/* Ensure consistent appearance for each code block */
pre {
background-color: #333;
border-radius: 0 0 1em 1em; /* Rounded corners at the bottom */
padding: 15px;
margin: 0; /* Remove default margin */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
height: 100%; /* Ensure pre takes up full height of its container */
}
.code-header {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #444;
border-radius: 8px 8px 0 0;
padding: 5px 10px;
color: #aaa;
font-family: 'Quicksand', sans-serif;
font-size: 14px;
font-weight: bold;
}
.code-header .code-language {
color: #fff;
}
.code-header .code-copy {
cursor: pointer;
color: #00bcd4;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 1px;
border: 1px solid #00bcd4;
border-radius: 4px;
padding: 2px 6px;
transition: background-color 0.3s ease, color 0.3s ease;
}
.code-header .code-copy:hover {
background-color: #00bcd4;
color: #333;
}
pre {
margin: 0;
overflow-x: auto;
font-size: 16px;
color: #f8f8f2; /* Base color for code */
}
code {
display: block;
padding: 10px;
background-color: #ffffff00 !important;
}
/* Syntax highlighting */
.bash .bash-prompt {
color: #f1c40f; /* Yellow dollar sign */
}
.bash .bash-command {
color: #ffffff; /* White commands */
}
/* Split container to hold both sections */
split {
display: flex;
flex-direction: row; /* Align children vertically */
width: 100%; /* Full width of the container */
margin: 20px 0; /* Margin to space out from other content */
}
/* Each section takes up half the height of the split container */
.downloads-section, .documentation-section {
flex: 1; /* Equal height for both sections */
padding: 20px; /* Padding for internal spacing */
box-sizing: border-box; /* Ensure padding is included in height calculation */
}
/* Ensure consistent styles for the section headers */
.downloads-section h2, .documentation-section h2 {
margin-top: 0; /* Remove default margin at the top */
}
.btn-container {
display: flex;
flex-direction: column; /* Stack buttons vertically */
}
.btn-container > .btn {
margin-bottom: 0.5em;
}