-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
54 lines (47 loc) · 1.09 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
body {
display: flex;
margin: 0;
font-family: Arial, sans-serif;
}
/* Sidebar on the left */
#sidebar {
width: 200px;
background-color: #007bff; /* #007bff (blue), #0056b3 (darker blue), #4a90e2 (light blue) */
color: white;
height: 100vh;
position: fixed;
padding-top: 8px;
}
#sidebar a {
padding: 10px 15px;
text-decoration: none;
color: white;
display: block;
}
#sidebar a:hover {
background-color: #575757;
}
/* Main content area on the right */
#content {
margin-left: 250px;
padding: 20px;
flex-grow: 1;
}
/* Ensures <pre> and <code> wrap properly */
pre, code {
white-space: pre-wrap;
word-wrap: break-word;
font-size: 0.9em; /* Adjusts the font size to 90% of the base text size */
line-height: 1.2; /* Optional: Adjusts line spacing to improve readability */
}
/* Avoids horizontal scrolling */
body, html {
overflow-x: hidden;
}
p, pre {
margin-bottom: 0; /* Removes the default bottom margin */
padding-bottom: 0; /* Removes any extra padding if present */
}
pre {
margin-top: 0; /* Removes the top margin of <pre> to eliminate extra space */
}