-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtechnical documentation .css.css
More file actions
73 lines (64 loc) · 1.08 KB
/
Copy pathtechnical documentation .css.css
File metadata and controls
73 lines (64 loc) · 1.08 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
/* General Styling */
body {
font-family: Arial, sans-serif;
margin: 0;
display: flex;
}
/* Navbar on left */
#navbar {
position: fixed;
left: 0;
top: 0;
height: 100%;
width: 250px;
background: #f4f4f4;
padding: 20px;
border-right: 2px solid #ccc;
}
#navbar header {
font-size: 1.3rem;
font-weight: bold;
margin-bottom: 20px;
}
#navbar a {
display: block;
padding: 8px 0;
text-decoration: none;
color: #333;
}
#navbar a:hover {
color: #007acc;
}
/* Main content */
#main-doc {
margin-left: 270px;
padding: 20px;
}
.main-section {
margin-bottom: 40px;
}
.main-section header {
font-size: 1.5rem;
margin-bottom: 10px;
}
/* Code blocks */
code {
display: block;
background: #eee;
padding: 5px;
margin: 5px 0;
border-radius: 4px;
}
/* Media query for responsiveness */
@media (max-width: 768px) {
#navbar {
position: relative;
width: 100%;
height: auto;
border-right: none;
border-bottom: 2px solid #ccc;
}
#main-doc {
margin-left: 0;
}
}