MediaWiki:Common.css: Difference between revisions

From Practices and Politics of Representation
Jump to navigation Jump to search
No edit summary
Remove duplicated banner comment line
 
(47 intermediate revisions by the same user not shown)
Line 1: Line 1:
/************************************************************
/************************************************************
  * CLEAN MINIMAL MEDIAWIKI THEME
  * CLEAN MINIMAL THEME — BLACK & WHITE ONLY
* Full RGB • No Gradients • No Shadows • Responsive • Safari Safe
  ************************************************************/
  ************************************************************/




/*============================================================
/*----------------------------------------------------------
   0. GLOBAL RESET / TYPOGRAPHY
   0. GLOBAL RESET
============================================================*/
----------------------------------------------------------*/


.mw-wiki-logo,
.mw-wiki-logo,
Line 23: Line 22:
html {
html {
     font-size: 18px !important;
     font-size: 18px !important;
    -webkit-text-size-adjust: 100% !important;
}
}


body, h1, h2, h3, h4, h5, h6, p, div, span, a, li, td, th,
body, h1, h2, h3, h4, h5, h6, p, td, th,
input, textarea, select, button {
input, textarea, select, button {
     font-family: Arial, sans-serif !important;
     font-family: 'Times New Roman', Times, serif !important;
     color: rgb(30, 30, 30) !important;
     color: rgb(0, 0, 0) !important;
     line-height: 1.62 !important;
     line-height: 1.2 !important;
    background: transparent !important;
}
}


body {
body {
     background: #ffffff !important;
     background: rgb(255, 255, 255) !important;
    -webkit-text-size-adjust: 100% !important;
}
}


a, a:visited {
    color: rgb(0, 0, 255) !important;
    line-height: 1 !important;
}


/* Remove all shadows everywhere */
a:hover {
.portlet, .pBody, #content, #column-content, #column-one,
    color: rgb(0, 0, 255) !important;
.portlet h3, .portlet h5, .gallerybox,
    text-decoration: underline !important;
.thumb, .thumbinner, .infobox, table, #footer,
}
#p-cactions, .vector-menu-tabs {
 
/* Remove shadow */
* {
     box-shadow: none !important;
     box-shadow: none !important;
     text-shadow: none !important;
     text-shadow: none !important;
}
}


/* Make all borders white (invisible) */
*:not(img) {
    border-color: rgb(255, 255, 255) !important;
}


/* Images*/
.mw-body-content img,
.mw-body-content figure,
.mw-body-content .thumb {
width: auto !important;
height: auto !important;
padding-left: 0px !important;
}


/*============================================================
/*----------------------------------------------------------
   1. HEADER + TOP NAVIGATION (FIXED, NON-TRANSPARENT)
   1. HEADER
============================================================*/
----------------------------------------------------------*/


#mw-head,
#mw-head,
Line 57: Line 75:
#mw-page-base,
#mw-page-base,
.vector-header,
.vector-header,
.mw-header,
.vector-sticky-header,
.vector-sticky-header {
.mw-header {
     background: #ffffff !important;
     background: rgb(255, 255, 255) !important;
    box-shadow: none !important;
}
    filter: none !important;
    border-bottom: 1px solid #eaeaea !important;


    display: flex !important;
/* Align the top menu with the content */
    align-items: center !important;
#left-navigation {
    min-height: 56px !important;
  /*  margin-left: 10em !important;*/
}
}


/* Safari compatibility */
/* Pull the login area inwards */
#left-navigation,
#p-personal {
.vector-page-toolbar {
  /*  margin-right: 1em !important; */
    display: flex !important;
    align-items: center !important;
}
}


#right-navigation {
#right-navigation {
    display: flex !important;
  /*  margin-right: 1em !important; */
    align-items: center !important;
    margin-left: auto !important;
}
}




/* Tab links (Read / Edit / View / More...) */
/*----------------------------------------------------------
#p-namespaces li a,
  2. SIDEBAR
#p-views li a,
----------------------------------------------------------*/
#p-cactions li a,
 
#p-personal ul li a {
#column-one,
     display: flex !important;
#mw-panel,
     align-items: center !important;
.vector-legacy-sidebar {
     height: 36px !important;
     background: transparent !important;
     padding: 8px 15px !important;
     padding-top: 5em !important;
     background: none !important;
     margin-top: 0 !important;
    color: rgb(0, 102, 255) !important;
     width: 250px !important;
}
 
.portlet, .pBody {
     background: rgb(255, 255, 255) !important;
}
}


#p-namespaces li.selected a,
.portlet h3, .portlet h5 {
#p-views li.selected a,
     color: rgb(0, 0, 0) !important;
#p-cactions li.selected a {
     color: rgb(20,20,20) !important;
     font-weight: bold !important;
     font-weight: bold !important;
    background: rgb(255, 255, 255) !important;
}
}


#p-namespaces li a:hover,
 
#p-views li a:hover,
/* Tools gizle */
#p-cactions li a:hover {
#p-tb {
     background: rgb(240,240,240) !important;
    display: none !important;
     color: rgb(0,51,204) !important;
}
 
/* Sidebar links */
#mw-panel a,
#mw-panel a:visited,
.vector-legacy-sidebar a,
.portlet a,
.pBody a {
     color: rgb(0, 0, 255) !important;
     text-decoration: none !important;
    font-size: 20px !important;
    -webkit-text-size-adjust: 100% !important;
}
 
#mw-panel a:hover,
.vector-legacy-sidebar a:hover,
.portlet a:hover,
.pBody a:hover {
    text-decoration: underline !important;
}
}


/*----------------------------------------------------------
  3. TABS
----------------------------------------------------------*/


/* Remove all borders/underlines from tabs */
#p-namespaces,
#p-namespaces,
#p-views,
#p-views,
#p-cactions,
#p-cactions,
#left-navigation,
#right-navigation,
.vector-tabs,
.vector-tabs,
.vector-menu-tabs {
.vector-menu-tabs {
     background: #ffffff !important;
     background: transparent !important;
     border: none !important;
     border: none !important;
     box-shadow: none !important;
     box-shadow: none !important;
}
}


#p-namespaces li.selected a::after,
#p-namespaces ul,
#p-views li.selected a::after {
#p-views ul,
     content: none !important;
#p-cactions ul {
     background: rgb(255, 255, 255) !important;
}
}




/* Search box */
 
#simpleSearch {
#p-namespaces li.selected a,
    display: flex !important;
#p-views li.selected a {
    align-items: center !important;
     font-weight: bold !important;
    background: #ffffff !important;
    transform: scale(0.85);
     transform-origin: right center;
}
}


#searchInput {
#p-namespaces li a:hover,
    height: 28px !important;
#p-views li a:hover,
    width: 140px !important;
#p-cactions li a:hover {
    padding: 4px 6px !important;
     background: rgb(240, 240, 240) !important;
    font-size: 0.95rem !important;
    border: 1px solid #ccc !important;
     background: #ffffff !important;
}
}


 
/* Remove tab underline */
 
#p-namespaces li.selected a::after,
/*============================================================
#p-views li.selected a::after,
  2. EDITOR TOOLBARS (VisualEditor + WikiEditor)
.vector-menu-tabs li.selected a::after {
============================================================*/
    display: none !important;
 
     background: transparent !important;
#wikiEditor-ui-toolbar,
     border: none !important;
.wikiEditor-ui,
.wikiEditor-ui-toolbar,
.ve-init-mw-desktopArticleTarget-toolbar,
.mw-editToolbar,
#toolbar,
#editform .toolbar {
     background: #ffffff !important;
     border-bottom: 1px solid #eaeaea !important;
     box-shadow: none !important;
     box-shadow: none !important;
}
}


/* Dropdowns inside editor */
 
.wikiEditor-ui-toolbar .group .menu,
/*Menu tabs*/
.oo-ui-dropdownWidget,
.vector-menu-tabs-legacy li a {
.oo-ui-menuSelectWidget,
    background: transparent !important;
.oo-ui-menuSelectWidget-menu {
    background-image: none !important;
     background: #ffffff !important;
     border: none !important;
     z-index: 9999 !important;
     color: rgb(0, 0, 255) !important;
}
}


 
.vector-menu-tabs-legacy li {
 
     background: transparent !important;
/*============================================================
     border: none !important;
  3. SIDEBAR
============================================================*/
 
#column-one {
     display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
     background: none !important;
}
}


#mw-panel,
/*----------------------------------------------------------
.vector-legacy-sidebar {
  4. PERSONAL MENU (Login vs)
    background: none !important;
----------------------------------------------------------*/
}


#p-navigation {
#p-personal {
     order: 999 !important;
     background: rgb(255, 255, 255) !important;
    margin-top: auto !important;
    padding-top: 60px !important;
    border-top: 1px solid #eee !important;
}
}


.portlet h3,
#p-personal ul {
.portlet h5 {
     background: rgb(255, 255, 255) !important;
     color: rgb(20,20,20) !important;
    font-weight: bold !important;
    background: none !important;
}
}


.portlet .pBody ul li a {
    color: rgb(0,102,255) !important;
    text-decoration: none !important;
}
.portlet .pBody ul li a:hover {
    color: rgb(0,51,204) !important;
    text-decoration: underline !important;
}






/*============================================================
/*----------------------------------------------------------
   4. CONTENT AREA (Responsive + Clean)
   5. CONTENT
============================================================*/
----------------------------------------------------------*/


#content,
#content {
.mw-body,
    background: rgb(255, 255, 255) !important;
.mw-body-content {
    font-size: 38px !important;
    background: none !important;
     margin-left: 250px !important;
     border: none !important;
}
}


#content {
.mw-body, .mw-body-content {
     background: #ffffff !important;
     background: rgb(255, 255, 255) !important;
    border: 1px solid #ddd !important;
     font-size: 38px !important;
    border-top: none !important;
     margin-top: 24px !important;
}
}


/* Headings */
/* Headings */
h1 { font-size: 2rem !important; }
h2 { font-size: 1.6rem !important; }
h3 { font-size: 1.35rem !important; }
h4 { font-size: 1.15rem !important; }
h5 { font-size: 1rem !important; }
h6 { font-size: 0.9rem !important; }
h1, h2, h3, h4, h5, h6, .firstHeading {
h1, h2, h3, h4, h5, h6, .firstHeading {
    border: none !important;
     color: rgb(0, 0, 0) !important;
     color: rgb(20,20,20) !important;
}
}


/* Edit section links */
h1 { font-size: 50px !important; }
.mw-editsection a {
h2 { font-size: 42px !important; }
     color: rgb(0,102,255) !important;
h3 { font-size: 47px !important; }
h4 { font-size: 43px !important; }
 
/* Links */
a, a:visited {
     color: rgb(0, 0, 255) !important;
}
}
.mw-editsection a:hover {
 
     color: rgb(0,51,204) !important;
a:hover {
     color: rgb(0, 0, 255) !important;
     text-decoration: underline !important;
     text-decoration: underline !important;
}
}




/*----------------------------------------------------------
  6. SEARCH
----------------------------------------------------------*/


/*============================================================
#p-search,
  5. RESPONSIVE CONTENT WIDTH
#simpleSearch,
============================================================*/
#searchInput {
    background: rgb(255, 255, 255) !important;
}


.mw-body-content,
#content,
#mw-content-text {
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


@media (max-width: 1100px) {
/*----------------------------------------------------------
    .mw-body-content,
  7. TABLES
    #content,
----------------------------------------------------------*/
    #mw-content-text {
        max-width: 90% !important;
    }
}


@media (max-width: 700px) {
table, th, td {
     .mw-body-content,
     background: rgb(255, 255, 255) !important;
    #content,
    #mw-content-text {
        max-width: 100% !important;
        padding: 0 16px !important;
    }
}
}




/*----------------------------------------------------------
  8. IMAGES
----------------------------------------------------------*/


/*============================================================
.thumb,
  6. IMAGES / GALLERIES
.thumbinner,
============================================================*/
.thumbimage,
 
.gallerybox,
.gallerybox,
.gallerybox .thumb,
figure,
.thumb,
figcaption {
.thumbinner {
     background: transparent !important;
     background: none !important;
    border: none !important;
}
}


.gallerybox {
.thumbcaption, .gallerytext {
     width: 200px !important;
     color: rgb(0, 0, 0) !important;
    margin: 15px !important;
}
}


.gallerybox .thumb img {
 
     width: 200px !important;
/*----------------------------------------------------------
    height: auto !important;
  9. INFOBOX
----------------------------------------------------------*/
 
.infobox, .infobox th, .infobox td {
     background: rgb(255, 255, 255) !important;
}
}


.gallerytext,
 
.thumbcaption {
/*----------------------------------------------------------
     color: rgb(110,110,110) !important;
  10. FOOTER
----------------------------------------------------------*/
 
#footer, #catlinks {
    background: rgb(255, 255, 255) !important;
     color: rgb(0, 0, 0) !important;
}
}






/*============================================================
  7. TABLES
============================================================*/


table {
/*----------------------------------------------------------
    border-collapse: collapse !important;
  11. VISUAL EDITOR
     background: none !important;
----------------------------------------------------------*/
 
.ve-ui-toolbar,
.ve-ui-toolbar-bar,
.oo-ui-toolbar,
.oo-ui-toolbar-bar,
.oo-ui-toolGroup,
.oo-ui-tool,
.oo-ui-buttonElement-button {
     background: rgb(255, 255, 255) !important;
}
}
table th, table td {
 
    border: 1px solid #ddd !important;
.oo-ui-tool:hover,
     padding: 6px !important;
.oo-ui-buttonElement-button:hover {
     background: rgb(240, 240, 240) !important;
}
}
table th {
 
     font-weight: bold !important;
.oo-ui-menuSelectWidget,
     color: rgb(20,20,20) !important;
.oo-ui-popupWidget-popup,
.oo-ui-optionWidget,
.oo-ui-menuOptionWidget {
     background: rgb(255, 255, 255) !important;
     color: rgb(0, 0, 0) !important;
}
}


 
.oo-ui-optionWidget:hover {
 
     background: rgb(240, 240, 240) !important;
/*============================================================
  8. INFOBOX
============================================================*/
 
.infobox {
     background: none !important;
    border-left: 3px solid rgb(0,180,255) !important;
    padding: 15px !important;
    margin: 0 0 20px 20px !important;
}
}


.infobox th,
.ve-ui-surface,
.infobox td {
.ve-ce-surface {
     border-bottom: 1px solid #eee !important;
     background: rgb(255, 255, 255) !important;
    padding: 8px 0 !important;
}
}


.infobox tr:last-child th,
.wikiEditor-ui,
.infobox tr:last-child td {
.wikiEditor-ui-toolbar {
     border-bottom: none !important;
     background: rgb(255, 255, 255) !important;
}
}




/*----------------------------------------------------------
  12. DROPDOWN MENUS
----------------------------------------------------------*/


/*============================================================
.vector-menu-dropdown .vector-menu-content,
  9. FORMS
.vector-dropdown-content,
============================================================*/
#p-cactions .vector-menu-content {
 
     background: transparent !important;
input, textarea, select {
     border: none !important;
     border: 1px solid #ccc !important;
     box-shadow: none !important;
     background: #ffffff !important;
     border-radius: 0 !important;
}
}






/*============================================================
/*----------------------------------------------------------
   10. FOOTER
   13. FORMS
============================================================*/
----------------------------------------------------------*/


#footer,
input, textarea, select {
#catlinks {
     background: rgb(255, 255, 255) !important;
     background: none !important;
     color: rgb(0, 0, 0) !important;
    border-top: 1px solid #eee !important;
     color: rgb(110,110,110) !important;
}
}


/************************************************************
.hover-word {
* FIX: VisualEditor + OOUI Popups, Insert Menu, Media Settings
  position: relative;
* Removes transparency, sets solid white background everywhere
  text-decoration: underline dotted;
************************************************************/
  cursor: help;
}
.hover-word .hover-pop {
  position: absolute;
  bottom: 100%;
  left: 0;
  display: none;
  z-index: 100;
}
.hover-word:hover .hover-pop {
  display: block;
}


/* Main VisualEditor popup panels */
/* ============================================================
.oo-ui-window,
  14. ALIGN TOP TABS + FOOTER WITH THE HEADING
.oo-ui-dialog,
  The sidebar is 250px wide, so the heading/body sit to its
.oo-ui-window-frame,
  right (the large content font adds extra left padding, so the
.oo-ui-dialog-content,
  heading text starts around 305px). By default the top tabs
.oo-ui-window-content,
  ("Page" / "Discussion") and the footer don't follow, so they
.oo-ui-dialog-body {
  look misaligned. These rules push both to the heading's edge.
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid #dcdcdc !important;
}


/* VE Insert menu dropdown */
  NOTE: #left-navigation ignores the `left` property (it is
.ve-ui-toolbar-popup,
  floated), so we must use margin-left here, not left.
.ve-ui-toolbar-popupToolGroup,
.ve-ui-toolbar .oo-ui-toolGroup-tools,
.oo-ui-toolGroup-tools,
.ve-ui-toolbar-popupWidget,
.ve-ui-toolbar .oo-ui-popupWidget,
.oo-ui-popupWidget-popup,
.oo-ui-popupWidget-body {
    background: #ffffff !important;
    border: 1px solid #dcdcdc !important;
    box-shadow: none !important;
}


/* VE “Media settings” panel */
  >>> ONE KNOB: tune --rep-left until "Page" and the footer
.ve-ui-mediaDialog-panel,
      line up with the first letter of the heading.
.ve-ui-mediaDialog-info,
  ============================================================ */
.ve-ui-mediaDialog-options,
.ve-ui-mediaDialog-content {
    background: #ffffff !important;
    border: none !important;
}


/* Search + Upload area inside media dialog */
:root {
.ve-ui-mediaSearchWidget,
    --rep-left: 305px;
.ve-ui-mediaSearchWidget-input,
.ve-ui-mediaSearchWidget .oo-ui-textInputWidget,
.ve-ui-mediaSearchWidget .oo-ui-inputWidget-input {
    background: #ffffff !important;
    border: 1px solid #cfcfcf !important;
}
}


/* Media results strip */
/* Top-left tabs (Page / Discussion) */
.ve-ui-mediaResultWidget,
#left-navigation {
.ve-ui-mediaResultWidget-thumb,
    margin-left: var(--rep-left) !important;
.ve-ui-mediaResultWidget-info {
    background: #ffffff !important;
}
}


/* All OOUI menus globally */
/* Let "Page" sit flush at the column edge (remove tab indent) */
.oo-ui-menuSelectWidget,
#p-namespaces li:first-child {
.oo-ui-menuSelectWidget-menu,
     margin-left: 0 !important;
.oo-ui-selectWidget,
.oo-ui-dropdownWidget-menu,
.oo-ui-listToolGroup-tools {
     background: #ffffff !important;
    border: 1px solid #dcdcdc !important;
    box-shadow: none !important;
}
}
 
#p-namespaces li:first-child a {
/* Remove transparent overlays */
     padding-left: 0 !important;
.oo-ui-windowManager,
.oo-ui-windowManager-modal > .oo-ui-window-frame,
.oo-ui-windowManager > .oo-ui-window-frame {
     background: rgba(255,255,255,1) !important;
}
}


/* Force toolbar dropdown background */
/* Footer text block */
.oo-ui-toolGroup,
#footer {
.oo-ui-toolGroup-enabled,
    margin-left: var(--rep-left) !important;
.oo-ui-toolGroup-active {
     padding-left: 0 !important;
     background: #ffffff !important;
}
}
/* ============================================================
  15. EDITOR INTERFACE FIX
  The large content font (38px) was leaking into the editor
  toolbar and menus. These rules reset the editor UI to a
  normal size. The reading view is not affected.
  ============================================================ */


/************************************************************
/* VisualEditor + OOUI: toolbar, menus, popups, dialogs */
* FIX: WikiEditor (Source Editor) Panels and Character Menus
.ve-ui-toolbar,
* Makes advanced tools solid white and restores proper layout
.ve-ui-context,
************************************************************/
.ve-ui-contextSelectWidget,
 
.oo-ui-toolbar,
/* Main Wikitext editor container */
.oo-ui-popupWidget,
.wikiEditor-ui,
.oo-ui-popupWidget-popup,
.wikiEditor-ui-toolbar,
.oo-ui-menuSelectWidget,
.wikiEditor-ui-view,
.oo-ui-window,
#wikiEditor-ui-toolbar {
.oo-ui-dialog,
     background: #ffffff !important;
.oo-ui-defaultOverlay {
     border-bottom: 1px solid #e1e1e1 !important;
     font-size: 14px !important;
     line-height: normal !important;
}
}


/* Toolbar groups (Advanced, Special characters, Help) */
/* Classic (source) editor toolbar */
.wikiEditor-ui-toolbar .group,
.wikiEditor-ui-toolbar {
.wikiEditor-ui-toolbar .section,
     font-size: 14px !important;
.wikiEditor-ui-toolbar .tabs,
     line-height: normal !important;
.wikiEditor-ui-toolbar .tabs span {
     background: #ffffff !important;
     border: none !important;
}
}


/* Character selection panel box */
/* Source editing textarea stays readable */
.wikiEditor-ui-toolbar .sections-wrapper,
#wpTextbox1 {
#wikiEditor-ui-toolbar .sections-wrapper,
     font-size: 15px !important;
.wikiEditor-ui-toolbar .section-main,
     line-height: 1.5 !important;
#wikiEditor-ui-toolbar .section-main {
     background: #ffffff !important;
    border: 1px solid #dcdcdc !important;
     box-shadow: none !important;
}
}


/* Character buttons */
/* Give popups/menus a visible border
.wikiEditor-ui-toolbar .section-main .character {
  (the "white border" rule had made them invisible) */
    background: #ffffff !important;
.oo-ui-popupWidget-popup,
     border: 1px solid #e0e0e0 !important;
.oo-ui-menuSelectWidget {
    color: #222 !important;
     border: 1px solid rgb(0, 0, 0) !important;
}
}


.wikiEditor-ui-toolbar .section-main .character:hover {
/* Editor labels in black instead of blue */
     background: #f0f0f0 !important;
.oo-ui-tool .oo-ui-tool-title,
.oo-ui-labelElement-label,
.ve-ui-toolbar a,
.oo-ui-popupWidget a {
     color: rgb(0, 0, 0) !important;
}
}


/* Prevent toolbar overlap */
#editform,
.mw-editform,
textarea#wpTextbox1 {
    background: #ffffff !important;
    z-index: 1 !important;
}


/* Fixes the overlapping top border with tabs */
/* Hover popup opening downwards - for words on the first line */
#mw-content-text,
.hover-word .hover-pop.below {
#content {
     top: 100%;
     padding-top: 20px !important;
    bottom: auto;
}
}

Latest revision as of 12:19, 7 September 2026

/************************************************************
 * CLEAN MINIMAL THEME — BLACK & WHITE ONLY
 ************************************************************/


/*----------------------------------------------------------
  0. GLOBAL RESET
----------------------------------------------------------*/

.mw-wiki-logo,
.mw-logo,
.mw-logo-icon,
.mw-logo-wordmark,
.vector-logo,
#p-logo,
#p-logo a,
.mw-logo-container {
    display: none !important;
    visibility: hidden !important;
}

html {
    font-size: 18px !important;
    -webkit-text-size-adjust: 100% !important;
}

body, h1, h2, h3, h4, h5, h6, p, td, th,
input, textarea, select, button {
    font-family: 'Times New Roman', Times, serif !important;
    color: rgb(0, 0, 0) !important;
    line-height: 1.2 !important;
}

body {
    background: rgb(255, 255, 255) !important;
    -webkit-text-size-adjust: 100% !important;
}

a, a:visited {
    color: rgb(0, 0, 255) !important;
    line-height: 1 !important;
}

a:hover {
    color: rgb(0, 0, 255) !important;
    text-decoration: underline !important;
}

/* Remove shadow */
* {
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Make all borders white (invisible) */
*:not(img) {
    border-color: rgb(255, 255, 255) !important;
}

/* Images*/
.mw-body-content img,
.mw-body-content figure,
.mw-body-content .thumb {
width: auto !important;
height: auto !important;
padding-left: 0px !important;
}

/*----------------------------------------------------------
  1. HEADER
----------------------------------------------------------*/

#mw-head,
#mw-head-base,
#mw-page-base,
.vector-header,
.vector-sticky-header,
.mw-header {
    background: rgb(255, 255, 255) !important;
}

/* Align the top menu with the content */
#left-navigation {
  /*  margin-left: 10em !important;*/
}

/* Pull the login area inwards */
#p-personal {
   /*  margin-right: 1em !important; */
}

#right-navigation {
   /*  margin-right: 1em !important; */
}


/*----------------------------------------------------------
  2. SIDEBAR
----------------------------------------------------------*/

#column-one,
#mw-panel,
.vector-legacy-sidebar {
    background: transparent !important;
    padding-top: 5em !important;
    margin-top: 0 !important;
    width: 250px !important;
}

.portlet, .pBody {
    background: rgb(255, 255, 255) !important;
}

.portlet h3, .portlet h5 {
    color: rgb(0, 0, 0) !important;
    font-weight: bold !important;
    background: rgb(255, 255, 255) !important;
}


/* Tools gizle */
#p-tb {
    display: none !important;
}

/* Sidebar links */
#mw-panel a,
#mw-panel a:visited,
.vector-legacy-sidebar a,
.portlet a,
.pBody a {
    color: rgb(0, 0, 255) !important;
    text-decoration: none !important;
    font-size: 20px !important;
    -webkit-text-size-adjust: 100% !important;
}

#mw-panel a:hover,
.vector-legacy-sidebar a:hover,
.portlet a:hover,
.pBody a:hover {
    text-decoration: underline !important;
}

/*----------------------------------------------------------
  3. TABS
----------------------------------------------------------*/

#p-namespaces,
#p-views,
#p-cactions,
.vector-tabs,
.vector-menu-tabs {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#p-namespaces ul,
#p-views ul,
#p-cactions ul {
    background: rgb(255, 255, 255) !important;
}



#p-namespaces li.selected a,
#p-views li.selected a {
    font-weight: bold !important;
}

#p-namespaces li a:hover,
#p-views li a:hover,
#p-cactions li a:hover {
    background: rgb(240, 240, 240) !important;
}

/* Remove tab underline */
#p-namespaces li.selected a::after,
#p-views li.selected a::after,
.vector-menu-tabs li.selected a::after {
    display: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}


/*Menu tabs*/
.vector-menu-tabs-legacy li a {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    color: rgb(0, 0, 255) !important;
}

.vector-menu-tabs-legacy li {
    background: transparent !important;
    border: none !important;
}

/*----------------------------------------------------------
  4. PERSONAL MENU (Login vs)
----------------------------------------------------------*/

#p-personal {
    background: rgb(255, 255, 255) !important;
}

#p-personal ul {
    background: rgb(255, 255, 255) !important;
}




/*----------------------------------------------------------
  5. CONTENT
----------------------------------------------------------*/

#content {
    background: rgb(255, 255, 255) !important;
    font-size: 38px !important;
    margin-left: 250px !important;
}

.mw-body, .mw-body-content {
    background: rgb(255, 255, 255) !important;
    font-size: 38px !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6, .firstHeading {
    color: rgb(0, 0, 0) !important;
}

h1 { font-size: 50px !important; }
h2 { font-size: 42px !important; }
h3 { font-size: 47px !important; }
h4 { font-size: 43px !important; }

/* Links */
a, a:visited {
    color: rgb(0, 0, 255) !important;
}

a:hover {
    color: rgb(0, 0, 255) !important;
    text-decoration: underline !important;
}


/*----------------------------------------------------------
  6. SEARCH
----------------------------------------------------------*/

#p-search,
#simpleSearch,
#searchInput {
    background: rgb(255, 255, 255) !important;
}


/*----------------------------------------------------------
  7. TABLES
----------------------------------------------------------*/

table, th, td {
    background: rgb(255, 255, 255) !important;
}


/*----------------------------------------------------------
  8. IMAGES
----------------------------------------------------------*/

.thumb,
.thumbinner,
.thumbimage,
.gallerybox,
figure,
figcaption {
    background: transparent !important;
}

.thumbcaption, .gallerytext {
    color: rgb(0, 0, 0) !important;
}


/*----------------------------------------------------------
  9. INFOBOX
----------------------------------------------------------*/

.infobox, .infobox th, .infobox td {
    background: rgb(255, 255, 255) !important;
}


/*----------------------------------------------------------
  10. FOOTER
----------------------------------------------------------*/

#footer, #catlinks {
    background: rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0) !important;
}




/*----------------------------------------------------------
  11. VISUAL EDITOR
----------------------------------------------------------*/

.ve-ui-toolbar,
.ve-ui-toolbar-bar,
.oo-ui-toolbar,
.oo-ui-toolbar-bar,
.oo-ui-toolGroup,
.oo-ui-tool,
.oo-ui-buttonElement-button {
    background: rgb(255, 255, 255) !important;
}

.oo-ui-tool:hover,
.oo-ui-buttonElement-button:hover {
    background: rgb(240, 240, 240) !important;
}

.oo-ui-menuSelectWidget,
.oo-ui-popupWidget-popup,
.oo-ui-optionWidget,
.oo-ui-menuOptionWidget {
    background: rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0) !important;
}

.oo-ui-optionWidget:hover {
    background: rgb(240, 240, 240) !important;
}

.ve-ui-surface,
.ve-ce-surface {
    background: rgb(255, 255, 255) !important;
}

.wikiEditor-ui,
.wikiEditor-ui-toolbar {
    background: rgb(255, 255, 255) !important;
}


/*----------------------------------------------------------
  12. DROPDOWN MENUS
----------------------------------------------------------*/

.vector-menu-dropdown .vector-menu-content,
.vector-dropdown-content,
#p-cactions .vector-menu-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}



/*----------------------------------------------------------
  13. FORMS
----------------------------------------------------------*/

input, textarea, select {
    background: rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0) !important;
}

.hover-word {
  position: relative;
  text-decoration: underline dotted;
  cursor: help;
}
.hover-word .hover-pop {
  position: absolute;
  bottom: 100%;
  left: 0;
  display: none;
  z-index: 100;
}
.hover-word:hover .hover-pop {
  display: block;
}

/* ============================================================
   14. ALIGN TOP TABS + FOOTER WITH THE HEADING
   The sidebar is 250px wide, so the heading/body sit to its
   right (the large content font adds extra left padding, so the
   heading text starts around 305px). By default the top tabs
   ("Page" / "Discussion") and the footer don't follow, so they
   look misaligned. These rules push both to the heading's edge.

   NOTE: #left-navigation ignores the `left` property (it is
   floated), so we must use margin-left here, not left.

   >>> ONE KNOB: tune --rep-left until "Page" and the footer
       line up with the first letter of the heading.
   ============================================================ */

:root {
    --rep-left: 305px;
}

/* Top-left tabs (Page / Discussion) */
#left-navigation {
    margin-left: var(--rep-left) !important;
}

/* Let "Page" sit flush at the column edge (remove tab indent) */
#p-namespaces li:first-child {
    margin-left: 0 !important;
}
#p-namespaces li:first-child a {
    padding-left: 0 !important;
}

/* Footer text block */
#footer {
    margin-left: var(--rep-left) !important;
    padding-left: 0 !important;
}
/* ============================================================
   15. EDITOR INTERFACE FIX
   The large content font (38px) was leaking into the editor
   toolbar and menus. These rules reset the editor UI to a
   normal size. The reading view is not affected.
   ============================================================ */

/* VisualEditor + OOUI: toolbar, menus, popups, dialogs */
.ve-ui-toolbar,
.ve-ui-context,
.ve-ui-contextSelectWidget,
.oo-ui-toolbar,
.oo-ui-popupWidget,
.oo-ui-popupWidget-popup,
.oo-ui-menuSelectWidget,
.oo-ui-window,
.oo-ui-dialog,
.oo-ui-defaultOverlay {
    font-size: 14px !important;
    line-height: normal !important;
}

/* Classic (source) editor toolbar */
.wikiEditor-ui-toolbar {
    font-size: 14px !important;
    line-height: normal !important;
}

/* Source editing textarea stays readable */
#wpTextbox1 {
    font-size: 15px !important;
    line-height: 1.5 !important;
}

/* Give popups/menus a visible border
   (the "white border" rule had made them invisible) */
.oo-ui-popupWidget-popup,
.oo-ui-menuSelectWidget {
    border: 1px solid rgb(0, 0, 0) !important;
}

/* Editor labels in black instead of blue */
.oo-ui-tool .oo-ui-tool-title,
.oo-ui-labelElement-label,
.ve-ui-toolbar a,
.oo-ui-popupWidget a {
    color: rgb(0, 0, 0) !important;
}


/* Hover popup opening downwards - for words on the first line */
.hover-word .hover-pop.below {
    top: 100%;
    bottom: auto;
}