/* Wikipedia-like CSS (Vector Skin inspired) */ :root { --wiki-bg: #f6f6f6; --wiki-content-bg: #ffffff; --wiki-border: #a7d7f9; --wiki-border-secondary: #c8ccd1; --wiki-link: #0645ad; --wiki-link-visited: #0b0080; --wiki-text: #202122; --panel-width: 11em; } body { margin: 0; padding: 0; background-color: var(--wiki-bg); color: var(--wiki-text); font-family: sans-serif; font-size: 0.875em; line-height: 1.6; display: flex; } /* Sidebar / Panel */ #mw-panel { width: var(--panel-width); flex-shrink: 0; padding: 1em; position: relative; /* Or fixed if we want it to stay */ } #mw-panel .portal { margin-bottom: 1.5em; } #mw-panel h3 { font-size: 0.75em; color: #444; font-weight: normal; margin: 0 0 0.5em 0; padding: 0.25em 0; cursor: default; border-bottom: 1px solid #c8ccd1; /* Optional separator */ } #mw-panel .body { margin: 0; } #mw-panel ul { list-style: none; margin: 0; padding: 0; } #mw-panel li { margin: 0; padding: 0.25em 0; font-size: 0.75em; } #mw-panel li a { color: var(--wiki-link); text-decoration: none; } #mw-panel li a:hover { text-decoration: underline; } /* Logo */ #p-logo { display: block; width: 10em; height: 10em; margin-bottom: 1em; text-align: center; } #p-logo a { display: block; width: 100%; height: 100%; background-repeat: no-repeat; background-position: center center; background-size: contain; text-decoration: none; color: black; font-weight: bold; display: flex; align-items: center; justify-content: center; font-size: 1.5em; font-family: 'Times New Roman', serif; } /* Content Area */ #content { background-color: var(--wiki-content-bg); border: 1px solid var(--wiki-border); border-right: none; /* Usually sticks to right edge or centered? Vector has a border. */ border-top: none; /* Tabs cover top */ margin-top: 2.5em; /* Space for tabs */ margin-left: 0; padding: 1.25em 1.5em 1.5em 1.5em; flex-grow: 1; min-height: 100vh; position: relative; max-width: 100%; /* Or constrain it */ } /* Top Navigation / Tabs */ #p-personal { position: absolute; top: 0.5em; right: 0.75em; font-size: 0.75em; } #p-personal ul { list-style: none; padding: 0; margin: 0; display: flex; } #p-personal li { margin-left: 1em; } #left-navigation, #right-navigation { position: absolute; top: 0; height: 2.5em; } #left-navigation { left: var(--panel-width); /* Align with content start */ margin-left: 1em; /* Add some spacing */ } #right-navigation { right: 0; /* Align right */ margin-right: 1em; } .vector-menu-tabs { float: left; height: 2.5em; background-image: linear-gradient(to bottom,rgba(167,215,249,0) 0,#a7d7f9 100%); background-position: bottom left; background-repeat: repeat-x; background-size: 1px 1px; } .vector-menu-tabs ul { list-style: none; margin: 0; padding: 0; display: flex; height: 100%; } .vector-menu-tabs li { margin: 0 2px; /* Gap between tabs */ background-color: var(--wiki-bg); /* Unselected tab bg */ border: 1px solid var(--wiki-border); /* Unselected tab border */ border-bottom: none; white-space: nowrap; display: block; } .vector-menu-tabs li.selected { background-color: var(--wiki-content-bg); border-bottom: 1px solid var(--wiki-content-bg); /* Merge with content */ margin-bottom: -1px; /* Overlap content border */ font-weight: bold; } .vector-menu-tabs li a { display: block; height: 2.5em; line-height: 2.5em; /* Center text vertically */ padding: 0 1em; color: var(--wiki-link); text-decoration: none; font-size: 0.8em; } .vector-menu-tabs li.new a { color: #ba0000; } /* Search Box */ #p-search { float: left; margin-right: 0.5em; margin-top: 0.5em; } #searchInput { margin-top: 0.25em; } /* Typography in Content */ #firstHeading { font-family: 'Linux Libertine', 'Georgia', 'Times', serif; font-size: 1.8em; margin-bottom: 0.25em; padding-bottom: 0; border-bottom: 1px solid #a2a9b1; font-weight: normal; } #siteSub { font-size: 0.8em; color: #54595d; margin-bottom: 1em; display: block; /* Typically "From Wikipedia..." */ } #content p { margin: 0.5em 0 1em 0; } #content h2 { font-family: 'Linux Libertine', 'Georgia', 'Times', serif; font-weight: normal; font-size: 1.5em; margin: 1em 0 0.25em 0; padding-bottom: 0.25em; border-bottom: 1px solid #a2a9b1; } #content h3 { font-weight: bold; font-size: 1.2em; margin: 1em 0 0.25em 0; } /* Table of Contents */ #toc { background-color: #f8f9fa; border: 1px solid #a2a9b1; padding: 7px; display: table; margin-bottom: 1em; } .toctitle { text-align: center; font-weight: bold; } #toc ul { list-style: none; padding: 0; margin: 0; } #toc ul ul { margin-left: 2em; } #toc li { margin-bottom: 0.2em; } .tocnumber { color: #202122; } /* Images */ .thumb { border: 1px solid #c8ccd1; background-color: #f8f9fa; padding: 3px; margin-bottom: 0.5em; text-align: center; } .tright { float: right; clear: right; margin: 0.5em 0 1.3em 1.4em; } .tleft { float: left; clear: left; margin: 0.5em 1.4em 1.3em 0; } .thumbinner { width: auto; display: table; /* Shrink fit */ margin: 0 auto; } .thumbcaption { font-size: 0.9em; padding: 3px; text-align: left; line-height: 1.4; } /* Links inside content */ #content a { color: var(--wiki-link); text-decoration: none; } #content a:visited { color: var(--wiki-link-visited); } #content a:hover { text-decoration: underline; } #content a.new { color: #ba0000; } /* Footer */ #footer { padding: 1.25em; margin-left: var(--panel-width); /* Align with content */ font-size: 0.75em; color: #202122; background-color: var(--wiki-bg); } #footer ul { list-style: none; margin: 0; padding: 0; } #footer li { display: inline-block; margin-right: 1em; } @media (max-width: 768px) { body { flex-direction: column; } #mw-panel { width: 100%; display: none; /* Hide sidebar on mobile for now, or make it a burger menu */ } #content { margin-left: 0; margin-top: 0; border: none; } #left-navigation, #right-navigation { position: static; margin: 0; padding: 0.5em; } .vector-menu-tabs { float: none; } }