-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
151 lines (125 loc) · 2.21 KB
/
style.css
File metadata and controls
151 lines (125 loc) · 2.21 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
/* Reset and basics */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #ffffff;
}
/* Layout container */
.container {
display: flex;
min-height: 100vh;
max-width: 1500px;
flex-wrap: wrap;
}
/* Main content */
.main-content {
flex: 1;
min-width: 0;
padding: 40px;
background-color: #ffffff;
color: #000000;
}
.main-content h1 {
font-size: 2.5rem;
color: #2c3e50;
margin-bottom: 0px;
font-weight: bold;
}
#header-paragraph {
font-size: 1.5rem;
color: #2c3e50;
margin-top: 0px;
}
.main-content h2,
.main-content h3,
.main-content h4 {
margin-top: 15px;
margin-bottom: 15px;
padding: 10px 0;
}
.main-content p {
margin-bottom: 20px;
line-height: 1.6;
}
.main-content ul,
.main-content ol {
margin-left: 40px;
margin-bottom: 20px;
}
.main-content li {
margin-bottom: 10px;
line-height: 1.5;
}
/* Sidebar */
.sidebar {
width: 300px;
background-color: #f3f3f3 ;
color: white;
padding: 20px;
flex-shrink: 0;
height: 100vh;
overflow-y: auto;
position: sticky;
top: 0;
}
.sidebar h2,
.sidebar h3,
.sidebar h4 {
font-size: 1.5rem;
margin-bottom: 20px;
border-bottom: 1px solid;
padding-bottom: 10px;
color: #000000;
}
.sidebar ul {
list-style-type: none;
padding-bottom: 30px;
}
.sidebar ul li {
margin: 10px 0;
}
.sidebar ul li a {
color: #000000;
text-decoration: none;
}
.sidebar ul li a:hover {
color: #828282;
}
/* Indentation for nested levels */
.sidebar ul li.indent-h2 {
margin-left: 15px;
font-size: 0.95em;
}
.sidebar ul li.indent-h3 {
margin-left: 30px;
font-size: 0.9em;
}
.sidebar ul li.indent-h4 {
margin-left: 45px;
font-size: 0.85em;
}
#resizer {
width: 5px;
background: #ccc;
cursor: ew-resize;
}
.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
background-color: white;
text-align: center;
padding: 10px 0;
z-index: 1000; /* Ensure the footer is above other elements */
height: 50px; /* Set a specific height for the footer */
box-sizing: border-box;
}
.footer img {
max-height: 100%; /* Ensure the image fits within the footer height */
width: auto; /* Maintain aspect ratio */
}