-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
184 lines (155 loc) · 3.01 KB
/
style.css
File metadata and controls
184 lines (155 loc) · 3.01 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
/* General Page Styling */
body {
font-family: Arial, sans-serif;
background-color: #2a2a2a;
color: #e0e0e0;
margin: 0;
padding: 0;
display: flex;
align-items: center;
}
a {
color: #55aaff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Content Area */
#content {
width: 60%;
padding: 20px;
margin-right: 10px;
}
h1 {
color: #ffcc00;
font-size: 2em;
margin-bottom: 10px;
}
h2 {
color: #ffaa00;
font-size: 1.5em;
margin-top: 20px;
border-bottom: 1px solid #555;
}
h3 {
color: #ffaa00;
font-size: 1.2em;
margin-top: 15px;
}
#header-placeholder {
background-color: #333;
border: 1px solid #555;
padding: 10px;
display:flex;
min-width: 15%;
max-height: 100%;
align-self: flex-start;
justify-content: center;
}
/* Table of Contents */
#toc {
background-color: #1f1f1f;
border: 1px solid #555;
padding: 10px;
margin-bottom: 20px;
display: inline-block; /* Make the width dynamic based on content */
}
#toc h2 {
color: #ffcc00;
font-size: 1.4em;
margin: 0 0 10px 0;
}
#toc ul {
list-style: none;
padding-left: 10px;
margin: 0;
}
#toc li {
margin-bottom: 5px;
}
#toc li a {
color: #55aaff;
white-space: nowrap; /* Prevent text wrapping */
}
#toc li a:hover {
color: #ffaa00;
}
/* Sidebar */
#sidebar {
position: fixed;
display: flex;
top: 20px;
right: 20px;
width: 250px;
padding: 10px;
transition: transform 0.3s ease-in-out; /* Smooth transition for hiding */
}
#sidebar.hidden {
transform: translateX(90%); /* Move sidebar out of view */
}
#toggleSidebar {
background-color: #333;
color: #e0e0e0;
border: none;
padding: 5px 10px;
cursor: pointer;
margin-bottom: 10px;
align-self: center;
}
#toggleSidebar:hover {
background-color: #555;
}
.infobox {
background-color: #333;
border: 1px solid #555;
padding: 10px;
width: 100%;
}
.infobox h3 {
color: #ffcc00;
font-size: 1.4em;
margin-bottom: 10px;
text-align: center;
}
.infobox .image {
text-align: center;
margin-bottom: 10px;
}
.infobox .image img {
max-width: 100%;
height: auto;
}
.infoTable {
background-color: #2a2a2a;
border-collapse: collapse;
width: 100%;
}
.infoTable td {
border: 1px solid #555;
padding: 5px;
text-align: left;
}
.infoTable td:first-child {
font-weight: bold;
}
/* Additional Section Styling */
#mainContent h2,
#mainContent h3 {
border-bottom: 1px solid #555;
padding-bottom: 5px;
margin-bottom: 10px;
}
#mainContent p {
margin: 10px 0;
}
#mainContent ul {
margin-left: 20px;
list-style: disc;
}
#mainContent ul li {
margin-bottom: 5px;
}
main {
margin-left: 20px; /* Moves the entire main section to the right */
}