/* Minimal Cambridge University theme additions */ :root { /* Cambridge University brand colors */ --cambridge-blue: #003c71; --cambridge-light-blue: #4a90c2; --cambridge-green: #7ab800; --cambridge-orange: #ee7203; --cambridge-pink: #d50270; --cambridge-yellow: #f4c430; } /* Apply Cambridge colors to headers and center them */ h1, h2 { color: var(--cambridge-blue); text-align: center; } h3 { color: var(--cambridge-light-blue); text-align: center; } /* Center all images */ img { display: block; margin-left: auto; margin-right: auto; } /* Cambridge colors for semantic blocks */ .definition { border-left-color: var(--cambridge-green); background-color: rgba(122, 184, 0, 0.1); } .definition h2, .definition h3 { color: var(--cambridge-green); } .theorem { border-left-color: var(--cambridge-orange); background-color: rgba(238, 114, 3, 0.1); } .theorem h2, .theorem h3 { color: var(--cambridge-orange); } .example { border-left-color: var(--cambridge-green); background-color: rgba(122, 184, 0, 0.08); } .example h2, .example h3 { color: var(--cambridge-green); } /* CUSTOM: Override the default "Example" text with just the title */ .example:before { content: none !important; } .example[title]:before { content: attr(title) !important; background-color: darkgreen; color: white; font-weight: 600; } /* CUSTOM: Override the default "Remark" text with just the title */ .remark:before { content: none !important; } .remark[title]:before { content: attr(title) !important; font-weight: 600; } /* CUSTOM: Override the default "Theorem" text with just the title */ .theorem:before { content: none !important; } .theorem[title]:before { content: attr(title) !important; font-weight: 600; } .proof { border-left-color: var(--cambridge-yellow); background-color: rgba(244, 196, 48, 0.1); } .proof h2, .proof h3 { color: #b8860b; /* Darker yellow for readability */ } /* Links with subtle dotted underline */ a { color: inherit; text-decoration: none; border-bottom: 1px dotted #999999; } a:hover { border-bottom-color: #666666; } strong { color: var(--cambridge-blue); } /* Table styling */ table { width: 75%; table-layout: fixed; margin: 0 auto; } /* Table headers with light grey background */ th { background-color: #f0f0f0 !important; color: var(--cambridge-dark-grey) !important; font-weight: 600; text-align: center; } th:first-child { width: 33.33%; } th:last-child { width: 66.67%; } /* Table cells */ td { text-align: center; } td:first-child { width: 33.33%; } td:last-child { width: 66.67%; } /* Add more spacing between list items */ li { margin-bottom: 0.3em; } /* Slipshow credit styling */ .credit-line { text-align: right; margin-top: 1em; } .slipshow-credit { font-size: 0.7em; } /* Center and overlap fungi image */ .fungi-overlap { display: block; margin: 0 auto -50px auto; position: relative; z-index: -1; max-width: 60%; height: auto; } /* Evolution image overlap with definition */ .evolution-overlap { display: block; margin: 0 auto -40px auto; position: relative; z-index: -1; max-width: 40%; height: auto; } /* Stack image overlap with theorem below */ .stack-overlap { display: block; margin: 0 auto -20px auto; position: relative; z-index: -1; max-width: 50%; height: auto; } /* FAANG image overlap with example below */ .faang-overlap { display: block; margin: 0 auto -100px auto; position: relative; z-index: -1; max-width: 45%; height: auto; } /* Arch image - smaller size */ .arch-small { display: block; margin: 0 auto; max-width: 60%; height: auto; } /* University logos styling */ .university-logos { display: flex; justify-content: center; align-items: center; gap: 2em; margin: 1.5em 0; flex-wrap: wrap; } .uni-logo { height: 120px; width: auto; flex: 1; max-width: 250px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0, 60, 113, 0.1)); transition: transform 0.2s ease; } .uni-logo:hover { transform: scale(1.05); } /* QR code styling */ .qr-code { height: 120px; width: 120px; object-fit: contain; float: right; margin: 0.5em 0 0.5em 1em; } /* Responsive logos for smaller screens */ @media (max-width: 768px) { .university-logos { gap: 1em; } .uni-logo { height: 90px; max-width: 180px; } .inline-logo { height: 1em; margin-left: 0.2em; } }