File size: 39,204 Bytes
6ce9061
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Kabarak University Legal Citation Guide</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        .citation-type {
            transition: all 0.3s ease;
        }
        .citation-type:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        .active-tab {
            border-bottom: 3px solid #3b82f6;
            color: #3b82f6;
            font-weight: 600;
        }
        .citation-example {
            background-color: #f8fafc;
            border-left: 4px solid #3b82f6;
        }
        .search-highlight {
            background-color: #fef08a;
        }
        .sidebar-item:hover {
            background-color: #f1f5f9;
        }
        .sidebar-item.active {
            background-color: #e0e7ff;
            border-left: 3px solid #3b82f6;
        }
        .tooltip {
            position: relative;
            display: inline-block;
        }
        .tooltip .tooltiptext {
            visibility: hidden;
            width: 200px;
            background-color: #333;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 5px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            margin-left: -100px;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 12px;
        }
        .tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
        }
    </style>
</head>
<body class="bg-gray-50 font-sans">
    <div class="container mx-auto px-4 py-8">
        <!-- Header -->
        <header class="mb-8">
            <div class="flex justify-between items-center mb-4">
                <div>
                    <h1 class="text-3xl font-bold text-gray-800">Kabarak University Legal Citation Guide</h1>
                    <p class="text-gray-600">Official citation style for legal writing at Kabarak University</p>
                </div>
                <div class="flex items-center space-x-4">
                    <div class="relative">
                        <input type="text" id="searchInput" placeholder="Search citations..." class="px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 w-64">
                        <button onclick="searchCitations()" class="absolute right-2 top-2 text-gray-500 hover:text-blue-600">
                            <i class="fas fa-search"></i>
                        </button>
                    </div>
                    <button onclick="printGuide()" class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition">
                        <i class="fas fa-print mr-2"></i>Print Guide
                    </button>
                </div>
            </div>
            
            <div class="bg-blue-50 border-l-4 border-blue-500 p-4 rounded">
                <h2 class="text-xl font-semibold text-blue-800 mb-2">General Guidelines</h2>
                <ul class="list-disc pl-5 space-y-1 text-gray-700">
                    <li>Avoid symbols and punctuation marks where possible</li>
                    <li>All citations should end with a full stop</li>
                    <li>Avoid latinism and italicise non-English words</li>
                    <li>Use the Oxford comma in lists</li>
                    <li>Follow specific formatting for abbreviations, numbers, dates, and capitalization</li>
                </ul>
            </div>
        </header>

        <!-- Main Content -->
        <div class="flex flex-col lg:flex-row gap-8">
            <!-- Sidebar Navigation -->
            <div class="lg:w-1/4 bg-white p-6 rounded-lg shadow-md h-fit sticky top-4">
                <h3 class="text-lg font-semibold mb-4 text-gray-800 border-b pb-2">Citation Types</h3>
                <ul class="space-y-2">
                    <li><a href="#general" class="sidebar-item block px-3 py-2 rounded cursor-pointer active" onclick="showSection('general')">General Guidelines</a></li>
                    <li><a href="#books" class="sidebar-item block px-3 py-2 rounded cursor-pointer" onclick="showSection('books')">Books</a></li>
                    <li><a href="#chapters" class="sidebar-item block px-3 py-2 rounded cursor-pointer" onclick="showSection('chapters')">Chapters in Books</a></li>
                    <li><a href="#articles" class="sidebar-item block px-3 py-2 rounded cursor-pointer" onclick="showSection('articles')">Journal Articles</a></li>
                    <li><a href="#legislation" class="sidebar-item block px-3 py-2 rounded cursor-pointer" onclick="showSection('legislation')">Legislation</a></li>
                    <li><a href="#cases" class="sidebar-item block px-3 py-2 rounded cursor-pointer" onclick="showSection('cases')">Case Law</a></li>
                    <li><a href="#instruments" class="sidebar-item block px-3 py-2 rounded cursor-pointer" onclick="showSection('instruments')">International Instruments</a></li>
                    <li><a href="#dissertations" class="sidebar-item block px-3 py-2 rounded cursor-pointer" onclick="showSection('dissertations')">Dissertations</a></li>
                    <li><a href="#media" class="sidebar-item block px-3 py-2 rounded cursor-pointer" onclick="showSection('media')">Media & Other Sources</a></li>
                </ul>
                
                <div class="mt-8">
                    <h3 class="text-lg font-semibold mb-3 text-gray-800 border-b pb-2">Quick Tips</h3>
                    <div class="space-y-3">
                        <div class="flex items-start">
                            <div class="bg-blue-100 p-2 rounded-full mr-3">
                                <i class="fas fa-info-circle text-blue-600"></i>
                            </div>
                            <p class="text-sm text-gray-700">Use <span class="font-semibold">-ise</span> not -ize (e.g., organise not organize)</p>
                        </div>
                        <div class="flex items-start">
                            <div class="bg-blue-100 p-2 rounded-full mr-3">
                                <i class="fas fa-info-circle text-blue-600"></i>
                            </div>
                            <p class="text-sm text-gray-700">Capitalize only first letter of titles and proper nouns</p>
                        </div>
                        <div class="flex items-start">
                            <div class="bg-blue-100 p-2 rounded-full mr-3">
                                <i class="fas fa-info-circle text-blue-600"></i>
                            </div>
                            <p class="text-sm text-gray-700">Use words for numerals 1-9, figures for 10+</p>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Main Content Area -->
            <div class="lg:w-3/4">
                <!-- General Guidelines Section -->
                <section id="generalSection" class="citation-section bg-white p-6 rounded-lg shadow-md mb-6">
                    <h2 class="text-2xl font-bold text-gray-800 mb-4 border-b pb-2">General Guidelines</h2>
                    
                    <div class="space-y-6">
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">Punctuation and Formatting</h3>
                            <ul class="list-disc pl-5 space-y-1 text-gray-700">
                                <li>Avoid symbols: Use 'or' instead of '/', 'and' instead of '&'</li>
                                <li>All citations should end with a full stop</li>
                                <li>No full stops in Mr, Mrs, Dr or between initials: FX Njenga not F.X. Njenga</li>
                                <li>Avoid Latin terms: Use English equivalents (e.g., preparatory works not travaux preparatoires)</li>
                                <li>Use the Oxford comma in lists</li>
                            </ul>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">Capitalization and Numbers</h3>
                            <ul class="list-disc pl-5 space-y-1 text-gray-700">
                                <li>Capitalize only first letter of titles and proper nouns</li>
                                <li>Do not capitalize common nouns like judge, court, constitution unless part of proper noun</li>
                                <li>Use words for numerals 1-9, figures for 10+</li>
                                <li>Match figures with symbols: 34 kg, 12 mm, 100 m, Kshs 1.6 billion</li>
                                <li>No space before brackets: article 27(2)</li>
                                <li>Use commas in large numbers: 33,000</li>
                            </ul>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">Abbreviations and Citations</h3>
                            <ul class="list-disc pl-5 space-y-1 text-gray-700">
                                <li>First mention: Constitution of Kenya Review Commission (CKRC)</li>
                                <li>Subsequent mentions: CKRC</li>
                                <li>Page numbers at end without 'p': Humphrey Sipalla, '...' 4 Kabarak Journal of Law and Ethics (2019) 195</li>
                                <li>Paragraph numbers as 'para' without period: para 10</li>
                                <li>Avoid superscripts: first, second, twenty-ninth, not 1st, 2nd, 29th</li>
                            </ul>
                        </div>
                        
                        <div class="bg-blue-50 p-4 rounded border border-blue-100">
                            <h3 class="text-lg font-semibold text-blue-800 mb-2">Formatting Requirements</h3>
                            <ul class="list-disc pl-5 space-y-1 text-blue-700">
                                <li>Main text: Times New Roman, size 12, 1.5 line spacing, 2 cm margins</li>
                                <li>Footnotes: Calibri (body), size 10, single line spacing</li>
                                <li>Do not use endnotes</li>
                            </ul>
                        </div>
                    </div>
                </section>

                <!-- Books Section -->
                <section id="booksSection" class="citation-section bg-white p-6 rounded-lg shadow-md mb-6 hidden">
                    <h2 class="text-2xl font-bold text-gray-800 mb-4 border-b pb-2">Books</h2>
                    
                    <div class="space-y-6">
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">First Citation</h3>
                            <div class="citation-example p-4 mb-4 rounded">
                                <p class="font-mono text-gray-800">FX Njenga, <span class="italic">International law and world order problems</span>, Moi University Press, 2001, 15.</p>
                                <p class="font-mono text-gray-800 mt-2">Patricia Kameri-Mbote, C Odote, C Musembi and M Kamande, <span class="italic">Ours by right: Law, politics and realities of community leasehold property disputes in Kenya</span>, Strathmore University Press, Nairobi, 2013, 34.</p>
                            </div>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">Subsequent Citations</h3>
                            <div class="citation-example p-4 rounded">
                                <p class="font-mono text-gray-800">Njenga, <span class="italic">International law and world order problems</span>, 15.</p>
                                <p class="font-mono text-gray-800 mt-2">Kameri-Mbote and others, <span class="italic">Ours by right</span>, 34.</p>
                            </div>
                        </div>
                        
                        <div class="bg-yellow-50 p-4 rounded border border-yellow-100">
                            <h3 class="text-lg font-semibold text-yellow-800 mb-2">Important Notes</h3>
                            <ul class="list-disc pl-5 space-y-1 text-yellow-700">
                                <li>Use 'and others' for subsequent citations with multiple authors</li>
                                <li>Include page number at end without 'p'</li>
                                <li>Italicize book titles</li>
                                <li>Place of publication is optional but recommended for local publishers</li>
                            </ul>
                        </div>
                    </div>
                </section>

                <!-- Chapters in Books Section -->
                <section id="chaptersSection" class="citation-section bg-white p-6 rounded-lg shadow-md mb-6 hidden">
                    <h2 class="text-2xl font-bold text-gray-800 mb-4 border-b pb-2">Chapters in Books</h2>
                    
                    <div class="space-y-6">
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">First Citation</h3>
                            <div class="citation-example p-4 mb-4 rounded">
                                <p class="font-mono text-gray-800">James Gathii, 'Kenya's legislative culture and the evolution of the Kenya constitution' in Vyas, Kivutha Kibwana, Okech Owiti and Smokin Wanjala (eds) <span class="italic">Law and Development in the Third World</span>, University of Nairobi Press, 1994, 107.</p>
                            </div>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">Subsequent Citations</h3>
                            <div class="citation-example p-4 rounded">
                                <p class="font-mono text-gray-800">Gathii, 'Kenya's legislative culture and the evolution of the Kenya constitution', 107.</p>
                            </div>
                        </div>
                        
                        <div class="bg-purple-50 p-4 rounded border border-purple-100">
                            <h3 class="text-lg font-semibold text-purple-800 mb-2">Key Elements</h3>
                            <ul class="list-disc pl-5 space-y-1 text-purple-700">
                                <li>Chapter title in single quotation marks</li>
                                <li>'in' before editor names</li>
                                <li>Editors listed as (eds) after names</li>
                                <li>Book title italicized</li>
                                <li>Page number of chapter at end</li>
                            </ul>
                        </div>
                    </div>
                </section>

                <!-- Journal Articles Section -->
                <section id="articlesSection" class="citation-section bg-white p-6 rounded-lg shadow-md mb-6 hidden">
                    <h2 class="text-2xl font-bold text-gray-800 mb-4 border-b pb-2">Journal Articles</h2>
                    
                    <div class="space-y-6">
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">First Citation</h3>
                            <div class="citation-example p-4 mb-4 rounded">
                                <p class="font-mono text-gray-800">Rahab Wakuraya Mureithi, 'Challenges in litigating under Kenya's Protection from Domestic Violence Act 2015' 3(1) Kabarak Journal of Law and Ethics (2018) 87.</p>
                            </div>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">Subsequent Citations</h3>
                            <div class="citation-example p-4 rounded">
                                <p class="font-mono text-gray-800">Wakuraya, 'Challenges in litigating under Kenya's protection', 87.</p>
                            </div>
                        </div>
                        
                        <div class="bg-green-50 p-4 rounded border border-green-100">
                            <h3 class="text-lg font-semibold text-green-800 mb-2">Important Notes</h3>
                            <ul class="list-disc pl-5 space-y-1 text-green-700">
                                <li>Do not abbreviate journal names (write 'Kabarak Journal of Law and Ethics' not 'KJLE')</li>
                                <li>Article title in single quotation marks</li>
                                <li>Volume(issue) before journal name</li>
                                <li>Year in parentheses after journal name</li>
                                <li>Page number at end without 'p'</li>
                            </ul>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">Self-Published Articles</h3>
                            <div class="citation-example p-4 mb-2 rounded">
                                <p class="font-mono text-gray-800">First citation: Lucianna Thuo, 'Compendium of 2013 election petitions: Themes and issues from the jurisprudence on electoral law in Kenya', Academia.edu, 2016, 97.</p>
                                <p class="font-mono text-gray-800 mt-2">Subsequent citations: Thuo, 'Compendium of 2013 election petitions', 97.</p>
                            </div>
                        </div>
                    </div>
                </section>

                <!-- Legislation Section -->
                <section id="legislationSection" class="citation-section bg-white p-6 rounded-lg shadow-md mb-6 hidden">
                    <h2 class="text-2xl font-bold text-gray-800 mb-4 border-b pb-2">Legislation</h2>
                    
                    <div class="space-y-6">
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">Kenyan Legislation</h3>
                            <div class="citation-example p-4 mb-4 rounded">
                                <p class="font-mono text-gray-800">Political Parties Act (No. 21 of 2016), section 54.</p>
                                <p class="font-mono text-gray-800 mt-2">Constitution of Kenya (2010), article 32.</p>
                            </div>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">Foreign Legislation</h3>
                            <div class="citation-example p-4 rounded">
                                <p class="font-mono text-gray-800">Foreign Sovereign Immunities Act 150 28 USC, section 1610(d).</p>
                                <p class="font-mono text-gray-800 mt-2">H.R.3684 - 117th Congress (2021-2022): [117] Infrastructure Investment and Jobs Act.</p>
                                <p class="font-mono text-gray-800 mt-2">Jamaican Nationality Regulations, 1962, First Schedule.</p>
                            </div>
                        </div>
                        
                        <div class="bg-red-50 p-4 rounded border border-red-100">
                            <h3 class="text-lg font-semibold text-red-800 mb-2">Formatting Rules</h3>
                            <ul class="list-disc pl-5 space-y-1 text-red-700">
                                <li>Act name first, followed by number and year in parentheses</li>
                                <li>Use 'section' for Acts, 'article' for Constitutions</li>
                                <li>For foreign legislation, cite as in the relevant foreign source</li>
                                <li>No abbreviations for section/article numbers</li>
                            </ul>
                        </div>
                    </div>
                </section>

                <!-- Case Law Section -->
                <section id="casesSection" class="citation-section bg-white p-6 rounded-lg shadow-md mb-6 hidden">
                    <h2 class="text-2xl font-bold text-gray-800 mb-4 border-b pb-2">Case Law</h2>
                    
                    <div class="space-y-6">
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">Kenyan Case Law (with reporter)</h3>
                            <div class="citation-example p-4 mb-4 rounded">
                                <p class="font-mono text-gray-800">In the Matter of Interim Independent Electoral Commission, Constitutional Appeal 2 of 2022, Ruling of the Supreme Court (2011) eKLR.</p>
                                <p class="font-mono text-gray-800 mt-2">Brek Sulum Hemed v Constituency Development Fund Board & another, Civil Case 18 of 2013, Ruling No 2 of the Environment and Land Court at Mombasa (2017) eKLR.</p>
                            </div>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">Foreign Case Law</h3>
                            <div class="citation-example p-4 rounded">
                                <p class="font-mono text-gray-800">Motswagae and Others v Rustenburg Local Municipality and Another (CCT 42/12) [2013] ZACC 1; 2013 (3) BCLR 271 (CC); 2013 (2) SA 613 (CC) (7 February 2013).</p>
                                <p class="font-mono text-gray-800 mt-2">Donoghue v Stevenson [1932] A.C. 562 (26 May 1932).</p>
                                <p class="font-mono text-gray-800 mt-2">Jumbe and Mvula v Attorney General, (unreported), High Court of Malawi (2005).</p>
                            </div>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">International Courts</h3>
                            <div class="citation-example p-4 rounded">
                                <p class="font-mono text-gray-800">Hilaire Ndayizamba v Attorney General of the Republic of Burundi and Secretary General of the East African Community (Ruling on jurisdiction), 3, EACJ (2014), para 13.</p>
                                <p class="font-mono text-gray-800 mt-2">African Commission on Human and Peoples' Rights v Kenya (decision on merits), 2 AfCLR 9 (2017), para 137.</p>
                                <p class="font-mono text-gray-800 mt-2">Case of Observer and Guardian v. the United Kingdom (judgment on merits), 13585/88, ECtHR (1991), para 73.</p>
                            </div>
                        </div>
                        
                        <div class="bg-indigo-50 p-4 rounded border border-indigo-100">
                            <h3 class="text-lg font-semibold text-indigo-800 mb-2">Citation Rules</h3>
                            <ul class="list-disc pl-5 space-y-1 text-indigo-700">
                                <li>Party names in full for first citation</li>
                                <li>Case number before court name</li>
                                <li>Court decision type in parentheses</li>
                                <li>Reporter information at end (eKLR for Kenya)</li>
                                <li>Use 'para' for paragraph numbers without period</li>
                            </ul>
                        </div>
                    </div>
                </section>

                <!-- International Instruments Section -->
                <section id="instrumentsSection" class="citation-section bg-white p-6 rounded-lg shadow-md mb-6 hidden">
                    <h2 class="text-2xl font-bold text-gray-800 mb-4 border-b pb-2">International Instruments</h2>
                    
                    <div class="space-y-6">
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">First Citation</h3>
                            <div class="citation-example p-4 mb-4 rounded">
                                <p class="font-mono text-gray-800">African Charter on Human and Peoples' Rights, 27 June 1981, CAB/LEG/67/3, article 17.</p>
                                <p class="font-mono text-gray-800 mt-2">United Nations Declaration on the Rights of Indigenous Peoples, 2 October 2007, A/RES/61/295, article 15.</p>
                                <p class="font-mono text-gray-800 mt-2">CCPR General Comment No. 22: Article 18 on Freedom of Thought, Conscience or Religion, 30 July 1993, CCPR/C/21/Rev.1/Add.4, CCPR, para 9.</p>
                            </div>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">Subsequent Citations</h3>
                            <div class="citation-example p-4 rounded">
                                <p class="font-mono text-gray-800">African Charter on Human and Peoples' Rights, article 17.</p>
                                <p class="font-mono text-gray-800 mt-2">Declaration on the Rights of Indigenous Peoples, article 13.</p>
                                <p class="font-mono text-gray-800 mt-2">General Comment 22, CCPR, para 9.</p>
                            </div>
                        </div>
                        
                        <div class="bg-teal-50 p-4 rounded border border-teal-100">
                            <h3 class="text-lg font-semibold text-teal-800 mb-2">Key Elements</h3>
                            <ul class="list-disc pl-5 space-y-1 text-teal-700">
                                <li>Instrument name first</li>
                                <li>Date of adoption (not entry into force)</li>
                                <li>Treaty series or document number</li>
                                <li>Article/paragraph reference at end</li>
                                <li>For subsequent citations, use shortened name</li>
                            </ul>
                        </div>
                    </div>
                </section>

                <!-- Dissertations Section -->
                <section id="dissertationsSection" class="citation-section bg-white p-6 rounded-lg shadow-md mb-6 hidden">
                    <h2 class="text-2xl font-bold text-gray-800 mb-4 border-b pb-2">Dissertations and Theses</h2>
                    
                    <div class="space-y-6">
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">First Citation</h3>
                            <div class="citation-example p-4 mb-4 rounded">
                                <p class="font-mono text-gray-800">JB Ojwang, 'Executive power in independent Kenya's constitutional context' Unpublished LLM Dissertation, University of Nairobi, 1976, 38.</p>
                            </div>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">Subsequent Citations</h3>
                            <div class="citation-example p-4 rounded">
                                <p class="font-mono text-gray-800">Ojwang, 'Executive power in independent Kenya's constitutional context', 38.</p>
                            </div>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">Hansard Reports</h3>
                            <div class="citation-example p-4 rounded">
                                <p class="font-mono text-gray-800">National Assembly Hansard Report, 17 March 2016, 17.</p>
                                <p class="font-mono text-gray-800 mt-2">Senate Hansard Report, 10 November 2021, 3.</p>
                                <p class="font-mono text-gray-800 mt-2">Joint Session of National Assembly and Senate Hansard Report, 12 November 2020, 9.</p>
                            </div>
                        </div>
                        
                        <div class="bg-amber-50 p-4 rounded border border-amber-100">
                            <h3 class="text-lg font-semibold text-amber-800 mb-2">Formatting Notes</h3>
                            <ul class="list-disc pl-5 space-y-1 text-amber-700">
                                <li>Include 'Unpublished' before degree type</li>
                                <li>Specify institution and year</li>
                                <li>Page number at end without 'p'</li>
                                <li>For Hansard, specify house and date before page number</li>
                            </ul>
                        </div>
                    </div>
                </section>

                <!-- Media & Other Sources Section -->
                <section id="mediaSection" class="citation-section bg-white p-6 rounded-lg shadow-md mb-6 hidden">
                    <h2 class="text-2xl font-bold text-gray-800 mb-4 border-b pb-2">Media & Other Sources</h2>
                    
                    <div class="space-y-6">
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">Newspapers</h3>
                            <div class="citation-example p-4 mb-4 rounded">
                                <p class="font-mono text-gray-800">Luis Franceschi, 'Time to salvage what remains of Kenya's common wealth' Daily Nation, 15 April 2016.</p>
                                <p class="font-mono text-gray-800 mt-2">Luis Franceschi, 'Time to salvage what remains of Kenya's common wealth' Daily Nation, 15 April 2016 —&lt;http://www.nation.co.ke/oped/blogs/dot9/franceschi/-/2274464/3160082/-/u2nn5vz/-/index.html&gt; on 15 April 2016.</p>
                            </div>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">Internet Resources</h3>
                            <div class="citation-example p-4 mb-4 rounded">
                                <p class="font-mono text-gray-800">Directorate of Information and Communication, 'Opening of the 35th Ordinary Session of the AU Assembly' African Union, 5 February 2022 — &lt;https://au.int/en/newsevents/20220205/opening-35th-ordinary-session-au-assembly&gt; on 23 February 2022.</p>
                            </div>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">Other Sources</h3>
                            <div class="citation-example p-4 mb-4 rounded">
                                <p class="font-mono text-gray-800">Willy Mutunga, 'In search and defence of radical legal education: A personal footnote', Kabarak Law School, Occasional Paper Series 1(1), 2022, 33.</p>
                                <p class="font-mono text-gray-800 mt-2">Subsequent citation: Mutunga, 'In search and defence of radical legal education', 33.</p>
                            </div>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-semibold text-gray-700 mb-2">Multimedia</h3>
                            <div class="citation-example p-4 rounded">
                                <p class="font-mono text-gray-800">Fela Kuti – Zombie, Fela Kuti, 9 November 2015, 5:39 to 5:45 — &lt;https://www.youtube.com/watch?v=Qj5x6pbJMyU&gt; on 12 September 2022.</p>
                                <p class="font-mono text-gray-800 mt-2">The Matrix, 1999, 1:37:41 to 1:38:43.</p>
                            </div>
                        </div>
                        
                        <div class="bg-pink-50 p-4 rounded border border-pink-100">
                            <h3 class="text-lg font-semibold text-pink-800 mb-2">Citation Rules</h3>
                            <ul class="list-disc pl-5 space-y-1 text-pink-700">
                                <li>For online sources, include access date</li>
                                <li>URLs in angle brackets with '—' before</li>
                                <li>For videos, include timestamp of relevant section</li>
                                <li>For unpublished materials, use 'nd' or 'on file with author'</li>
                            </ul>
                        </div>
                    </div>
                </section>
            </div>
        </div>
    </div>

    <!-- Footer -->
    <footer class="bg-gray-800 text-white py-6 mt-12">
        <div class="container mx-auto px-4">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <div class="mb-4 md:mb-0">
                    <h3 class="text-xl font-bold">Kabarak University Legal Citation Guide</h3>
                    <p class="text-gray-400">Primary Draft 05/10/2022 for Consultation</p>
                </div>
                <div class="flex space-x-6">
                    <a href="#" class="text-gray-300 hover:text-white transition">
                        <i class="fas fa-home"></i> Home
                    </a>
                    <a href="#" class="text-gray-300 hover:text-white transition">
                        <i class="fas fa-info-circle"></i> About
                    </a>
                    <a href="#" class="text-gray-300 hover:text-white transition">
                        <i class="fas fa-envelope"></i> Contact
                    </a>
                </div>
            </div>
            <div class="border-t border-gray-700 mt-6 pt-6 text-center text-gray-400 text-sm">
                <p>© 2023 Kabarak University. All rights reserved.</p>
            </div>
        </div>
    </footer>

    <script>
        // Show initial section
        document.addEventListener('DOMContentLoaded', function() {
            showSection('general');
            
            // Set up sidebar navigation
            const sidebarItems = document.querySelectorAll('.sidebar-item');
            sidebarItems.forEach(item => {
                item.addEventListener('click', function() {
                    sidebarItems.forEach(i => i.classList.remove('active'));
                    this.classList.add('active');
                });
            });
        });

        // Function to show selected section
        function showSection(sectionId) {
            // Hide all sections
            const sections = document.querySelectorAll('.citation-section');
            sections.forEach(section => {
                section.classList.add('hidden');
            });
            
            // Show selected section
            document.getElementById(sectionId + 'Section').classList.remove('hidden');
            
            // Update active tab in sidebar
            const sidebarItems = document.querySelectorAll('.sidebar-item');
            sidebarItems.forEach(item => {
                item.classList.remove('active');
                if (item.getAttribute('href') === '#' + sectionId) {
                    item.classList.add('active');
                }
            });
        }

        // Search functionality
        function searchCitations() {
            const searchTerm = document.getElementById('searchInput').value.toLowerCase();
            if (!searchTerm) return;
            
            // Remove previous highlights
            const previousHighlights = document.querySelectorAll('.search-highlight');
            previousHighlights.forEach(el => {
                el.classList.remove('search-highlight');
                const parent = el.parentNode;
                parent.replaceChild(el.firstChild, el);
                parent.normalize();
            });
            
            // Search through all citation examples
            const citationExamples = document.querySelectorAll('.citation-example');
            let foundInSection = null;
            
            citationExamples.forEach(example => {
                const text = example.textContent.toLowerCase();
                if (text.includes(searchTerm)) {
                    // Find which section this example is in
                    let section = example.closest('.citation-section');
                    if (section && !foundInSection) {
                        foundInSection = section.id.replace('Section', '');
                    }
                    
                    // Highlight the text
                    const html = example.innerHTML;
                    const regex = new RegExp(searchTerm, 'gi');
                    example.innerHTML = html.replace(regex, match => 
                        `<span class="search-highlight">${match}</span>`
                    );
                }
            });
            
            // If found in a section, show that section
            if (foundInSection) {
                showSection(foundInSection);
                // Scroll to first highlight
                const firstHighlight = document.querySelector('.search-highlight');
                if (firstHighlight) {
                    firstHighlight.scrollIntoView({ behavior: 'smooth', block: 'center' });
                }
            } else {
                alert('No citations found matching your search term.');
            }
        }

        // Print function
        function printGuide() {
            window.print();
        }

        // Make search work on Enter key
        document.getElementById('searchInput').addEventListener('keypress', function(e) {
            if (e.key === 'Enter') {
                searchCitations();
            }
        });
    </script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Burachi/code" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>