/* Global Styles */ @font-face { font-family: 'FontAwesome'; src: url("../fonts/fontawesome-webfont.eot"); src: url("../fonts/fontawesome-webfont.eot#iefix") format("embedded-opentype"), url("../fonts/fontawesome-webfont.woff2") format("woff2"), url("../fonts/fontawesome-webfont.woff") format("woff"), url("../fonts/fontawesome-webfont.ttf") format("truetype"), url("../fonts/fontawesome-webfont.svg#fontawesomeregular") format("svg"); font-weight: normal; font-style: normal; } *, *::before, *::after { box-sizing: border-box; } :root { --primary-color: #1A5276; --text-color: #2c3e50; --bg-color: #ffffff; --hover-bg: #f8f9fa; --border-radius: 8px; --transition-speed: 0.3s; } html { background: #fff; font-size: 18px; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; scroll-behavior: smooth; } @media (min-width: 48em) { html { font-size: 18px; } } body { margin: 2em auto; padding: 0 1em; color: var(--text-color); background-color: var(--bg-color); line-height: 1.6; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; max-width: 925px; display: flex; min-height: 100vh; } /* Base layout */ .container { margin-left: 300px; padding: 2em 3em; max-width: calc(100% - 300px); } .page { margin: 0; padding: 0; } /* Sidebar */ .sidebar { position: fixed; top: 0; left: 0; width: 300px; height: 100vh; padding: 2em; background-color: #fff; overflow-y: auto; z-index: 1001; } .sidebar > .fade { opacity: 0.75; transition: opacity 0.2s ease-in-out; } .sidebar:hover > .fade { opacity: 1; } .sidebar p, .sidebar li { font-family: "Roboto", "Helvetica Neue", Arial, sans-serif; font-size: 1em; line-height: 1.4; } /* Content */ .content { flex: 1; } /* Links */ a { color: var(--primary-color); transition: color var(--transition-speed) ease; text-decoration: none; border-bottom: 1px solid transparent; } a:hover { color: #2980b9; text-decoration: none; border-bottom: 1px solid currentColor; } /* Headings */ h1, h2 { color: var(--primary-color); font-weight: 600; letter-spacing: -0.02em; margin: 1.5em 0 0.8em; font-family: "Roboto", "Helvetica Neue", Arial, sans-serif; } h1 { font-weight: normal; margin-top: 0; font-size: 2.2em; } h2 { font-weight: normal; font-size: 1.8em; } /* Paragraphs */ p { font-size: 1.1em; margin-bottom: 1.3em; line-height: 1.6; } /* Lists */ ul > li { font-size: 1.1em; margin-bottom: 0.8em; line-height: 1.6; } li > ul { margin-top: 0.5em; } /* Logo */ .ut-logo { font-size: 70%; float: right; margin: 0.2em -0.2em 0.7em 2.8em; border: 0.2em solid white; border-radius: 0.4em; } .ut-logo > img { width: 10em; height: 2.573em; display: block; } @media (min-width: 58em) { .ut-logo { font-size: 100%; } } /* Author Section */ .author_avatar { margin: 0 auto 8px auto; width: 250px; height: 250px; overflow: hidden; border-radius: 50%; } .author_avatar img { width: 100%; height: 100%; object-fit: cover; } .author_content { padding: 10px 20px; text-align: left; font-size: 0.9em; } .author_name { font-weight: bold; font-size: 1.2em; margin-bottom: 8px; text-align: center; } .author_bio { margin: 0; font-size: 0.95em; line-height: 1.3; text-align: left; margin-bottom: 8px; } .author_location { margin: 0; font-size: 0.95em; line-height: 1.3; text-align: left; color: #666; } .social-links-container { padding: 4px 20px; border-top: 1px solid #eee; border-bottom: 1px solid #eee; margin: 4px 0; background-color: #f8f9fa; } .social-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; } .social-links a { color: #2077b2; text-decoration: none; display: flex; align-items: center; gap: 6px; transition: color 0.2s ease; line-height: 1; padding: 1px 0; } .social-links li { margin: 0; padding: 0; } .social-links i { font-size: 1em; width: 16px; text-align: center; } .twitter-feed { margin-top: 8px; } /* Twitter Widget Styles */ .twitter-timeline-wrapper { display: none; /* Hidden by default on mobile */ margin: 2em 0; width: 100%; } iframe.twitter-timeline { width: 100% !important; min-width: 100% !important; height: 100% !important; min-height: 800px !important; } /* Show Twitter timeline on larger screens */ @media (min-width: 768px) { .twitter-timeline-wrapper { display: block; } } /* Responsive adjustments for smaller screens */ @media (max-width: 767px) { iframe.twitter-timeline { min-height: 600px !important; /* Shorter on mobile */ } } /* Responsive Styles */ @media (min-width: 48em) { .sidebar { width: 22%; float: left; margin-right: 2.5%; padding-right: 0; } .sidebar > .fade { opacity: 0.75; } } @media (min-width: 58em) { body { display: table; } } @media (min-width: 80em) { body { max-width: 1280px; } } @media (max-width: 768px) { .sidebar { width: 100%; float: none; margin: 0 0 2em 0; padding: 0; } body { flex-direction: column; padding: 1rem; } .social-links { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 1rem; } html { font-size: 16px; } } /* Enhanced social links */ .social-links { display: flex; flex-direction: column; gap: 0.8rem; padding: 0; list-style: none; } .social-links a { display: inline-block; padding: 0.5rem 0; transition: transform var(--transition-speed) ease; } .social-links a:hover { transform: translateX(5px); } /* Improved content sections */ .page { padding: 0; margin: 0; width: 100%; } .page p { line-height: 1.8; margin-bottom: 1.5em; } /* Card-like sections */ .recent-tweets, .news-section { background: var(--bg-color); border-radius: var(--border-radius); padding: 1.5rem; margin: 1.5rem 0; box-shadow: 0 2px 4px rgba(0,0,0,0.05); transition: transform var(--transition-speed) ease; } .recent-tweets:hover, .news-section:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); } /* Modern Navigation Bar Styles */ .nav-container { width: 100%; background-color: #ffffff; box-shadow: 0 2px 4px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; margin-bottom: 1.5em; } .nav-bar { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1.2em; padding: 0.8em 0; } .nav-link { color: #444; text-decoration: none; font-size: 1em; padding: 0.3em 0.6em; border-radius: 4px; transition: all 0.2s ease; } .nav-link:hover { color: #007bff; background-color: #f8f9fa; } .nav-link.active { color: #007bff; font-weight: 500; } /* Responsive adjustments */ @media (max-width: 1024px) { .sidebar { width: 250px; } .container { margin-left: 250px; max-width: calc(100% - 250px); padding: 2em; } } @media (max-width: 768px) { .sidebar { position: relative; width: 100%; height: auto; padding: 1em; } .container { margin-left: 0; max-width: 100%; padding: 1.5em; } .nav-bar { padding: 0.6em; gap: 0.8em; } .nav-link { font-size: 0.9em; } } /* Publication styles */ .pdf-link { text-decoration: none; display: inline-flex; align-items: center; } .pdf-icon { width: 20px; height: 20px; vertical-align: middle; margin-left: 4px; } @media (max-width: 768px) { .pdf-icon { width: 18px; height: 18px; margin-left: 3px; } }