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
 
(46 intermediate revisions by the same user not shown)
Line 1: Line 1:
/************************************************************
/************************************************************
  * CLEAN MINIMAL THEME — FULL RGB, RESPONSIVE, NO GRADIENTS
  * CLEAN MINIMAL THEME — BLACK & WHITE ONLY
  ************************************************************/
  ************************************************************/




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


Line 22: 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 KALDIRILDI */
}
}


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


/* Remove shadows everywhere */
a, a:visited {
.portlet, .pBody, #content, #column-content, #column-one,
    color: rgb(0, 0, 255) !important;
.portlet h3, .portlet h5, .gallerybox,
    line-height: 1 !important;
.thumb, .thumbinner, .infobox, table, #footer,
}
#p-cactions, .vector-menu-tabs {
 
a:hover {
    color: rgb(0, 0, 255) !important;
    text-decoration: underline !important;
}
 
/* 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;
}


/*----------------------------------------------------------
/*----------------------------------------------------------
   REMOVE ALL HEADER / TOP SHADOWS
   1. HEADER
----------------------------------------------------------*/
----------------------------------------------------------*/


Line 55: Line 76:
.vector-header,
.vector-header,
.vector-sticky-header,
.vector-sticky-header,
.vector-container,
.mw-header {
.mw-header {
     background: #ffffff !important;
     background: rgb(255, 255, 255) !important;
    box-shadow: none !important;
    filter: none !important;
    min-height: 56px !important;
}
}


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


/************************************************************
/* Pull the login area inwards */
* SAFARI + HEADER ALIGNMENT FIX
#p-personal {
************************************************************/
  /*  margin-right: 1em !important; */
 
#left-navigation,
.vector-page-toolbar {
    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;
}
}


#p-namespaces li a,
 
#p-views li a,
/*----------------------------------------------------------
#p-cactions li a,
  2. SIDEBAR
#p-personal ul li a {
----------------------------------------------------------*/
     display: flex !important;
 
     align-items: center !important;
#column-one,
     height: 36px !important;
#mw-panel,
.vector-legacy-sidebar {
     background: transparent !important;
    padding-top: 5em !important;
     margin-top: 0 !important;
     width: 250px !important;
}
}


#p-search,
.portlet, .pBody {
#simpleSearch {
     background: rgb(255, 255, 255) !important;
    display: flex !important;
    align-items: center !important;
     background: #ffffff !important;
}
}


#searchInput {
.portlet h3, .portlet h5 {
     height: 28px !important;
     color: rgb(0, 0, 0) !important;
    width: 140px !important;
     font-weight: bold !important;
    padding: 4px 6px !important;
     background: rgb(255, 255, 255) !important;
     font-size: 0.95rem !important;
     background: #ffffff !important;
}
}


#simpleSearch {
 
     transform: scale(0.85);
/* Tools gizle */
    transform-origin: right center;
#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;
}


/************************************************************
/*----------------------------------------------------------
* REMOVE TAB UNDERLINES + CLEAN TOP BAR
  3. TABS
************************************************************/
----------------------------------------------------------*/


/* Remove all borders below 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: transparent !important;
     border: none !important;
     border: none !important;
    background: #ffffff !important;
     box-shadow: none !important;
     box-shadow: none !important;
}
}
Line 131: Line 160:
#p-views ul,
#p-views ul,
#p-cactions ul {
#p-cactions ul {
     background: #ffffff !important;
     background: rgb(255, 255, 255) !important;
}
}


/* Remove blue underline for selected tab */
 
 
#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-namespaces li.selected a::after,
#p-views li.selected a::after,
#p-views li.selected a::after,
.vector-menu-tabs li.selected a::after {
.vector-menu-tabs li.selected a::after {
     content: none !important;
     display: none !important;
}
    background: transparent !important;
 
     border: none !important;
/* Remove leftover gray bar in Vector */
#mw-head-base,
#mw-page-base {
     border-bottom: none !important;
     box-shadow: none !important;
     box-shadow: none !important;
    background: #ffffff !important;
}
}




/************************************************************
/*Menu tabs*/
* 1. SIDEBAR LAYOUT
.vector-menu-tabs-legacy li a {
************************************************************/
     background: transparent !important;
 
     background-image: none !important;
#column-one {
     border: none !important;
     display: flex !important;
     color: rgb(0, 0, 255) !important;
     flex-direction: column !important;
     min-height: 100vh !important;
     background: #ffffff !important;
}
}


#mw-panel, .vector-legacy-sidebar {
.vector-menu-tabs-legacy li {
     background: #ffffff !important;
     background: transparent !important;
    border: none !important;
}
}


#p-navigation {
/*----------------------------------------------------------
    order: 999 !important;
  4. PERSONAL MENU (Login vs)
    margin-top: auto !important;
----------------------------------------------------------*/
    padding-top: 60px !important;
    border-top: 1px solid #eee !important;
}


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


.portlet h3, .portlet h5 {
#p-personal ul {
     color: rgb(20,20,20) !important;
     background: rgb(255, 255, 255) !important;
    font-weight: bold !important;
    background: #ffffff !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;
}






/************************************************************
/*----------------------------------------------------------
* 2. TOP TABS / PERSONAL MENU
  5. CONTENT
************************************************************/
----------------------------------------------------------*/


#p-cactions, #p-namespaces, #p-views, #p-personal {
#content {
     background: #ffffff !important;
    background: rgb(255, 255, 255) !important;
     border: none !important;
     font-size: 38px !important;
     margin-left: 250px !important;
}
}


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


#p-cactions li, #p-namespaces li, #p-views li {
/* Headings */
     margin-right: 10px !important;
h1, h2, h3, h4, h5, h6, .firstHeading {
    background: #ffffff !important;
     color: rgb(0, 0, 0) !important;
}
}


#p-cactions li a, #p-namespaces li a, #p-views li a {
h1 { font-size: 50px !important; }
    background: #ffffff !important;
h2 { font-size: 42px !important; }
    padding: 8px 15px !important;
h3 { font-size: 47px !important; }
     color: rgb(0,102,255) !important;
h4 { font-size: 43px !important; }
 
/* Links */
a, a:visited {
     color: rgb(0, 0, 255) !important;
}
}


#p-cactions li.selected a,
a:hover {
#p-namespaces li.selected a,
     color: rgb(0, 0, 255) !important;
#p-views li.selected a {
     text-decoration: underline !important;
     color: rgb(20,20,20) !important;
     font-weight: bold !important;
    background: #ffffff !important;
}
}


#p-cactions li a:hover,
 
#p-namespaces li a:hover,
/*----------------------------------------------------------
#p-views li a:hover {
  6. SEARCH
     background: rgb(240,240,240) !important;
----------------------------------------------------------*/
    color: rgb(0,51,204) !important;
 
#p-search,
#simpleSearch,
#searchInput {
     background: rgb(255, 255, 255) !important;
}
}


#p-personal li a {
    background: #ffffff !important;
}


#p-personal li a:hover {
/*----------------------------------------------------------
     background: rgb(240,240,240) !important;
  7. TABLES
----------------------------------------------------------*/
 
table, th, td {
     background: rgb(255, 255, 255) !important;
}
}




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


/************************************************************
.thumb,
* 3. CONTENT AREA
.thumbinner,
************************************************************/
.thumbimage,
.gallerybox,
figure,
figcaption {
    background: transparent !important;
}


#content, .mw-body, .mw-body-content {
.thumbcaption, .gallerytext {
     background: #ffffff !important;
     color: rgb(0, 0, 0) !important;
    border: none !important;
}
}


#content {
    background: #ffffff !important;
    border: 1px solid #ddd !important;
    border-top: none !important;
    margin-top: 24px !important;
}


/* Headings scaled clean */
/*----------------------------------------------------------
h1 { font-size: 2rem !important; }
  9. INFOBOX
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 {
.infobox, .infobox th, .infobox td {
     border-bottom: none !important;
     background: rgb(255, 255, 255) !important;
    color: rgb(20,20,20) !important;
}
}




/* Edit links */
/*----------------------------------------------------------
.mw-editsection a {
  10. FOOTER
     color: rgb(0,102,255) !important;
----------------------------------------------------------*/
}
 
.mw-editsection a:hover {
#footer, #catlinks {
     color: rgb(0,51,204) !important;
     background: rgb(255, 255, 255) !important;
    text-decoration: underline !important;
     color: rgb(0, 0, 0) !important;
}
}






/************************************************************
* 4. RESPONSIVE CONTENT WIDTH
************************************************************/


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


/* Tablet */
.ve-ui-toolbar,
@media (max-width: 1100px) {
.ve-ui-toolbar-bar,
    .mw-body-content,
.oo-ui-toolbar,
    #content,
.oo-ui-toolbar-bar,
    #mw-content-text {
.oo-ui-toolGroup,
        max-width: 90% !important;
.oo-ui-tool,
    }
.oo-ui-buttonElement-button {
    background: rgb(255, 255, 255) !important;
}
}


/* Mobile */
.oo-ui-tool:hover,
@media (max-width: 700px) {
.oo-ui-buttonElement-button:hover {
    .mw-body-content,
    background: rgb(240, 240, 240) !important;
    #content,
    #mw-content-text {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}
}


 
.oo-ui-menuSelectWidget,
 
.oo-ui-popupWidget-popup,
/************************************************************
.oo-ui-optionWidget,
* 5. IMAGES / GALLERIES
.oo-ui-menuOptionWidget {
************************************************************/
     background: rgb(255, 255, 255) !important;
 
     color: rgb(0, 0, 0) !important;
.gallerybox,
.gallerybox .thumb,
.thumb,
.thumbinner {
     background: #ffffff !important;
     border: none !important;
}
}


.gallerybox {
.oo-ui-optionWidget:hover {
     width: 200px !important;
     background: rgb(240, 240, 240) !important;
    margin: 15px !important;
}
}


.gallerybox .thumb img {
.ve-ui-surface,
     width: 200px !important;
.ve-ce-surface {
    height: auto !important;
     background: rgb(255, 255, 255) !important;
}
}


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




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


/************************************************************
.vector-menu-dropdown .vector-menu-content,
* 6. TABLES
.vector-dropdown-content,
************************************************************/
#p-cactions .vector-menu-content {
 
     background: transparent !important;
table {
     border: none !important;
    border-collapse: collapse !important;
     box-shadow: none !important;
     background: #ffffff !important;
}
table th, table td {
     border: 1px solid #ddd !important;
    padding: 6px !important;
    background: #ffffff !important;
}
table th {
     font-weight: bold !important;
    color: rgb(20,20,20) !important;
}
}






/************************************************************
/*----------------------------------------------------------
* 7. INFOBOX
  13. FORMS
************************************************************/
----------------------------------------------------------*/


.infobox {
input, textarea, select {
     background: #ffffff !important;
     background: rgb(255, 255, 255) !important;
    border-left: 3px solid rgb(0,180,255) !important;
     color: rgb(0, 0, 0) !important;
     padding: 15px !important;
    margin: 0 0 20px 20px !important;
}
}


.infobox th, .infobox td {
.hover-word {
    border-bottom: 1px solid #eee !important;
  position: relative;
    padding: 8px 0 !important;
  text-decoration: underline dotted;
    background: #ffffff !important;
  cursor: help;
}
}
 
.hover-word .hover-pop {
.infobox tr:last-child th,
  position: absolute;
.infobox tr:last-child td {
  bottom: 100%;
    border-bottom: none !important;
  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
* 8. FORMS
      line up with the first letter of the heading.
************************************************************/
  ============================================================ */


input, textarea, select {
:root {
     border: 1px solid #ccc !important;
     --rep-left: 305px;
    background: #ffffff !important;
    border-radius: 0 !important;
}
}


 
/* Top-left tabs (Page / Discussion) */
 
#left-navigation {
/************************************************************
     margin-left: var(--rep-left) !important;
* 9. FOOTER / META
************************************************************/
 
#footer, #catlinks {
     background: #ffffff !important;
    border-top: 1px solid #eee !important;
    color: rgb(110,110,110) !important;
}
}


 
/* Let "Page" sit flush at the column edge (remove tab indent) */
 
#p-namespaces li:first-child {
/************************************************************
     margin-left: 0 !important;
* 10. VISUAL EDITOR + DROPDOWN MENÜLER
************************************************************/
 
/* VE Toolbar */
.ve-ui-toolbar,
.ve-ui-toolbar-bar,
.ve-ui-targetToolbar,
.oo-ui-toolbar,
.oo-ui-toolbar-bar,
.oo-ui-toolbar-tools,
.oo-ui-toolbar-actions,
.oo-ui-toolGroup,
.oo-ui-barToolGroup,
.oo-ui-popupToolGroup,
.oo-ui-listToolGroup,
.oo-ui-menuToolGroup {
     background: #ffffff !important;
}
}
 
#p-namespaces li:first-child a {
/* VE Butonlar */
     padding-left: 0 !important;
.oo-ui-tool,
.oo-ui-tool-link,
.oo-ui-buttonElement-button {
     background: #ffffff !important;
}
}


.oo-ui-tool:hover,
/* Footer text block */
.oo-ui-buttonElement-button:hover {
#footer {
     background: #f0f0f0 !important;
    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.
  ============================================================ */


/* VE Dropdown */
/* 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-menuSelectWidget,
.oo-ui-selectWidget,
.oo-ui-window,
.oo-ui-popupWidget-popup,
.oo-ui-dialog,
.oo-ui-popupWidget-body,
.oo-ui-defaultOverlay {
.oo-ui-menuToolGroup-tools,
     font-size: 14px !important;
.oo-ui-listToolGroup-tools {
     line-height: normal !important;
     background: #ffffff !important;
     border: 1px solid #ccc !important;
}
}


.oo-ui-optionWidget,
/* Classic (source) editor toolbar */
.oo-ui-menuOptionWidget {
.wikiEditor-ui-toolbar {
     background: #ffffff !important;
    font-size: 14px !important;
     line-height: normal !important;
}
}


.oo-ui-optionWidget:hover,
/* Source editing textarea stays readable */
.oo-ui-optionWidget-highlighted {
#wpTextbox1 {
    background: #f0f0f0 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}
}


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


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


/* Vector dropdown menüler */
.vector-menu-dropdown .vector-menu-content,
.vector-dropdown-content,
#p-cactions .vector-menu-content {
    background: #ffffff !important;
    border: 1px solid #ccc !important;
}
.vector-menu-dropdown .vector-menu-content li,
.vector-menu-dropdown .vector-menu-content li a {
    background: #ffffff !important;
}


.vector-menu-dropdown .vector-menu-content li a:hover {
/* Hover popup opening downwards - for words on the first line */
     background: #f0f0f0 !important;
.hover-word .hover-pop.below {
    top: 100%;
     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;
}