Comprehensive Genetic Dictionary
A specialized, searchable reference containing over 1,200 genetic conditions, phenotypic traits, drugs, and markers. All entries are categorized according to the latest ICD-11 international classification by the World Health Organization. This tool allows clinicians, researchers, and patients to quickly access detailed descriptions, associated genes, and inheritance patterns, serving as an essenti
:root {
--navy-dark: #1e3a5f;
--navy-medium: #2c5364;
--gold: #d4af37;
--gold-light: #f4d03f;
--bg-color: #f8f9fa;
--text-color: #333;
--card-bg: #ffffff;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
margin: 0;
padding: 0;
line-height: 1.6;
direction: ltr;
text-align: left;
}
/* Hero Section with Background Image */
.hero-dictionary {
position: relative;
background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium));
color: white;
padding: 80px 20px;
text-align: center;
overflow: hidden;
border-bottom: 5px solid var(--gold);
}
/* Placeholder for the Book Network Image - Replace URL with your actual image URL */
.hero-bg-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.15; /* Low opacity to keep text readable */
z-index: 0;
}
.hero-content {
position: relative;
z-index: 1;
max-width: 800px;
margin: 0 auto;
}
h1 {
font-size: 2.8rem;
margin-bottom: 15px;
color: var(--gold-light);
text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
p.subtitle {
font-size: 1.2rem;
margin-bottom: 30px;
opacity: 0.95;
color: #e0e0e0;
}
/* Search Box */
.search-container {
max-width: 600px;
margin: 0 auto 30px auto;
position: relative;
}
input#searchInput {
width: 100%;
padding: 15px 25px;
border-radius: 50px;
border: none;
font-size: 16px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
outline: none;
transition: all 0.3s ease;
text-align: left;
}
input#searchInput:focus {
box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
transform: scale(1.02);
}
/* Alphabet Filter */
.alpha-filter {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px;
margin-bottom: 40px;
padding: 0 10px;
}
.alpha-btn {
background: white;
border: 2px solid var(--navy-dark);
color: var(--navy-dark);
padding: 8px 14px;
border-radius: 8px;
cursor: pointer;
font-weight: bold;
transition: all 0.2s ease;
min-width: 40px;
text-align: center;
}
.alpha-btn:hover, .alpha-btn.active {
background: var(--navy-dark);
color: var(--gold);
border-color: var(--navy-dark);
transform: translateY(-2px);
}
/* Results Grid */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.results-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 20px;
}
.term-card {
background: var(--card-bg);
border-left: 5px solid var(--gold); /* Changed to left for LTR */
padding: 25px;
border-radius: 10px;
box-shadow: 0 3px 10px rgba(0,0,0,0.05);
transition: all 0.3s ease;
animation: fadeIn 0.4s ease-in-out;
}
.term-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0,0,0,0.1);
border-left-color: var(--navy-dark);
}
.term-title {
color: var(--navy-dark);
font-size: 1.3rem;
font-weight: bold;
margin-bottom: 12px;
display: flex;
align-items: center;
gap: 10px;
}
.term-desc {
font-size: 0.95rem;
color: #555;
text-align: justify;
}
.no-results {
text-align: center;
padding: 40px;
color: #777;
font-size: 1.2rem;
grid-column: 1 / -1;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
/* Responsive */
@media (max-width: 768px) {
h1 { font-size: 2rem; }
.alpha-btn { padding: 6px 10px; font-size: 14px; min-width: 30px; }
.results-grid { grid-template-columns: 1fr; }
}

GenKavosh Comprehensive Genetic Dictionary
A specialized reference for over 1,200 genetic terms, diseases, and traits based on ICD-11 standards.
// ---------------------------------------------------------
// 1. Data (Sample entries from your file translated to English)
// ---------------------------------------------------------
const dictionaryData = [
{
title: "Ataxia, Autosomal Recessive, Beauce Type",
desc: "A very rare neurological disorder inherited in an autosomal recessive pattern. It is characterized by progressive weakness in coordination (ataxia) and speech impairment (dysarthria). Symptoms typically begin in adulthood (between ages 6 and 45). The cause is a mutation in the SYNE1 gene."
},
{
title: "Beta-Thalassemia",
desc: "Characterized by reduced (beta+) or absent (beta0) synthesis of the beta-globin chains of hemoglobin (Hb). The annual incidence of symptomatic Beta-Thalassemia worldwide is estimated at 1/100,000 births. It was first described in the Mediterranean region but severe forms are common in Southeast Asia, India, and China."
},
{
title: "Organ Function Panels",
desc: "A collection of genetic tests that assess the structural health of vital organs such as the brain, heart, liver, kidneys, and bones. Based on the 'apartment construction' analogy of the body, this panel analyzes genes related to the structure of each organ."
},
{
title: "BRCA1 Gene",
desc: "A tumor suppressor gene involved in DNA damage repair. Mutations in this gene increase the risk of breast and ovarian cancer in women, and breast and prostate cancer in men."
},
{
title: "Marfan Syndrome",
desc: "A genetic disorder affecting connective tissue. Individuals with Marfan syndrome are often tall with long limbs, and may have heart, eye, and skeletal problems. The primary cause is a mutation in the FBN1 gene."
},
{
title: "Cystic Fibrosis (CF)",
desc: "The most common genetic disorder in Caucasian children, characterized by the production of thick, abnormal mucus. This disease primarily affects the lungs and digestive system and is caused by mutations in the CFTR gene."
},
{
title: "Classic Homocystinuria",
desc: "An autosomal recessive metabolic disorder caused by a deficiency in the enzyme cystathionine beta-synthase (CBS). This leads to the accumulation of homocysteine in the blood, which can damage blood vessels, the brain, and other organs. Symptoms include lens dislocation, thrombosis, and skeletal abnormalities like scoliosis."
},
{
title: "Type 2 Diabetes",
desc: "In Type 2 diabetes, your body does not produce or use insulin well. Insulin is the hormone that helps glucose get into your cells to give them energy. Without enough insulin, too much glucose stays in your blood. Risk factors include older age, obesity, family history, and lack of exercise."
},
{
title: "Retinitis Pigmentosa (RP)",
desc: "An inherited retinal dystrophy leading to progressive loss of photoreceptors and retinal pigment epithelium, often resulting in blindness after several decades. The prevalence of RP is reported as 1/3,000 to 1/5,000."
},
{
title: "Down Syndrome",
desc: "A chromosomal condition where an individual has an extra copy of chromosome 21. This causes changes in growth and physical features. Although not directly in your file, it is a common term."
},
{
title: "G6PD Deficiency",
desc: "The most common genetic cause of chronic hemolytic anemia. Individuals with this deficiency experience red blood cell breakdown when exposed to certain drugs, fava beans, or infections. The related gene is located on the X chromosome."
},
{
title: "Turner Syndrome",
desc: "A genetic condition that occurs in females when one of the X chromosomes is missing either partially or entirely. It causes short stature and lack of sexual development."
}
// ... Add the rest of your 1200+ items here in English format
];
// ---------------------------------------------------------
// 2. Logic (English Alphabet)
// ---------------------------------------------------------
const searchInput = document.getElementById('searchInput');
const resultsContainer = document.getElementById('resultsContainer');
const alphaFilter = document.getElementById('alphaFilter');
// English Alphabet Array
const englishAlphabet = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'];
// Create Alphabet Buttons
function createAlphaButtons() {
// "All" Button
const allBtn = document.createElement('button');
allBtn.className = 'alpha-btn active';
allBtn.innerText = 'All';
allBtn.onclick = () => filterByLetter('all');
alphaFilter.appendChild(allBtn);
// Letter Buttons
englishAlphabet.forEach(letter => {
const btn = document.createElement('button');
btn.className = 'alpha-btn';
btn.innerText = letter;
btn.onclick = () => filterByLetter(letter);
alphaFilter.appendChild(btn);
});
}
// Render Items
function renderItems(items) {
resultsContainer.innerHTML = '';
if (items.length === 0) {
resultsContainer.innerHTML = '
No terms found. Please try another search.
';
return;
}
items.forEach(item => {
const card = document.createElement('div');
card.className = 'term-card';
card.innerHTML = `
${item.title}
${item.desc}
`;
resultsContainer.appendChild(card);
});
}
// Filter by First Letter
function filterByLetter(letter) {
// Update button styles
document.querySelectorAll('.alpha-btn').forEach(btn => btn.classList.remove('active'));
event.target.classList.add('active');
// Clear search box when alphabet filter is clicked
searchInput.value = '';
let filtered = [];
if (letter === 'all') {
filtered = dictionaryData;
} else {
filtered = dictionaryData.filter(item => item.title.trim().toUpperCase().startsWith(letter));
}
renderItems(filtered);
}
// Live Search
searchInput.addEventListener('input', (e) => {
const query = e.target.value.toLowerCase();
// Deactivate alphabet buttons when search is active
document.querySelectorAll('.alpha-btn').forEach(btn => btn.classList.remove('active'));
const filtered = dictionaryData.filter(item =>
item.title.toLowerCase().includes(query) || item.desc.toLowerCase().includes(query)
);
renderItems(filtered);
});
// Initial Run
createAlphaButtons();
renderItems(dictionaryData);