MediaWiki:Common.css: Difference between revisions

From Practices and Politics of Representation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 42: Line 42:
     box-shadow: none !important;
     box-shadow: none !important;
     text-shadow: none !important;
     text-shadow: none !important;
}
/* TÜM ÇİZGİLERİ KALDIR */
#column-one,
#mw-panel,
#content,
#mw-head,
#mw-head-base,
#mw-page-base,
.mw-body,
.portlet,
.pBody,
hr {
    border: none !important;
    border-color: rgb(255, 255, 255) !important;
}
hr {
    display: none !important;
}
}


Line 59: Line 78:
     box-shadow: none !important;
     box-shadow: none !important;
     filter: none !important;
     filter: none !important;
     min-height: 56px !important;
     border: none !important;
}
 
/* Üst menüyü sidebar ile hizala */
#mw-head {
    left: 160px !important;
    right: 0 !important;
}
 
#left-navigation {
    margin-left: 0 !important;
    padding-left: 0 !important;
}
 
/* Login/account kısmını content ile hizala */
#p-personal {
    margin-right: 20px !important;
}
 
#right-navigation {
    margin-right: 20px !important;
}
}


Line 101: Line 140:
     font-size: 0.95rem !important;
     font-size: 0.95rem !important;
     background: rgb(255, 255, 255) !important;
     background: rgb(255, 255, 255) !important;
     border: 1px solid rgb(0, 0, 0) !important;
     border: none !important;
}
}


Line 151: Line 190:
  ************************************************************/
  ************************************************************/


#column-one {
#column-one,
#mw-panel,
.vector-legacy-sidebar {
     background: rgb(255, 255, 255) !important;
     background: rgb(255, 255, 255) !important;
}
     padding-top: 0 !important;
 
     border: none !important;
#mw-panel, .vector-legacy-sidebar {
    background: rgb(255, 255, 255) !important;
}
 
#p-navigation {
    margin-top: 20px !important;
     padding-top: 20px !important;
     border-top: 1px solid rgb(0, 0, 0) !important;
}
}


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


Line 173: Line 207:
     font-weight: bold !important;
     font-weight: bold !important;
     background: rgb(255, 255, 255) !important;
     background: rgb(255, 255, 255) !important;
    border: none !important;
}
}


Line 182: Line 217:
     color: rgb(0, 0, 0) !important;
     color: rgb(0, 0, 0) !important;
     text-decoration: underline !important;
     text-decoration: underline !important;
}
/* Sidebar tüm çizgileri kaldır */
#p-logo + .portal,
.portal:first-child,
#mw-panel .portal,
.vector-menu-portal,
#mw-panel > div {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
}
}


Line 247: Line 293:
#content {
#content {
     background: rgb(255, 255, 255) !important;
     background: rgb(255, 255, 255) !important;
     border: 1px solid rgb(0, 0, 0) !important;
     border: none !important;
    border-top: none !important;
     margin-top: 0 !important;
     margin-top: 24px !important;
}
}


Line 289: Line 334:


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


/* Desktop - sidebar sabit, content sağda */
.mw-body-content,
#mw-panel,
.vector-legacy-sidebar,
#column-one {
    width: 160px !important;
    position: fixed !important;
    left: 0 !important;
    top: 80px !important;
    overflow-y: auto !important;
}
 
#content,
#content,
.mw-body {
    margin-left: 180px !important;
}
.mw-body-content,
#mw-content-text {
#mw-content-text {
     max-width: 900px !important;
     max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
}


/* Tablet */
@media (max-width: 1100px) {
@media (max-width: 1024px) {
     .mw-body-content,
     #mw-panel,
    .vector-legacy-sidebar,
    #column-one {
        width: 140px !important;
    }
   
     #content,
     #content,
     .mw-body {
     #mw-content-text {
         margin-left: 160px !important;
         max-width: 90% !important;
     }
     }
}
}


/* Mobile */
@media (max-width: 700px) {
@media (max-width: 768px) {
     .mw-body-content,
     /* Sidebar gizle */
    #mw-panel,
    .vector-legacy-sidebar,
    #column-one {
        display: none !important;
    }
   
    /* Content tam genişlik */
     #content,
     #content,
    .mw-body {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px !important;
    }
   
    .mw-body-content,
     #mw-content-text {
     #mw-content-text {
         max-width: 100% !important;
         max-width: 100% !important;
         padding: 0 10px !important;
         padding-left: 16px !important;
    }
         padding-right: 16px !important;
   
    /* Header wrap */
    #mw-head {
        flex-wrap: wrap !important;
    }
   
    #left-navigation,
    #right-navigation {
        width: 100% !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
    }
   
    #p-namespaces li a,
    #p-views li a {
         padding: 5px 8px !important;
        font-size: 0.85rem !important;
     }
     }
}
}
Line 410: Line 402:
}
}
table th, table td {
table th, table td {
     border: 1px solid rgb(0, 0, 0) !important;
     border: none !important;
     padding: 6px !important;
     padding: 6px !important;
     background: rgb(255, 255, 255) !important;
     background: rgb(255, 255, 255) !important;
Line 427: Line 419:
.infobox {
.infobox {
     background: rgb(255, 255, 255) !important;
     background: rgb(255, 255, 255) !important;
     border-left: 3px solid rgb(0, 0, 0) !important;
     border: none !important;
     padding: 15px !important;
     padding: 15px !important;
     margin: 0 0 20px 20px !important;
     margin: 0 0 20px 20px !important;
Line 433: Line 425:


.infobox th, .infobox td {
.infobox th, .infobox td {
     border-bottom: 1px solid rgb(0, 0, 0) !important;
     border: none !important;
     padding: 8px 0 !important;
     padding: 8px 0 !important;
     background: rgb(255, 255, 255) !important;
     background: rgb(255, 255, 255) !important;
}
.infobox tr:last-child th,
.infobox tr:last-child td {
    border-bottom: none !important;
}
}


Line 450: Line 437:


input, textarea, select {
input, textarea, select {
     border: 1px solid rgb(0, 0, 0) !important;
     border: none !important;
     background: rgb(255, 255, 255) !important;
     background: rgb(255, 255, 255) !important;
     border-radius: 0 !important;
     border-radius: 0 !important;
Line 464: Line 451:
#footer, #catlinks {
#footer, #catlinks {
     background: rgb(255, 255, 255) !important;
     background: rgb(255, 255, 255) !important;
     border-top: 1px solid rgb(0, 0, 0) !important;
     border: none !important;
     color: rgb(0, 0, 0) !important;
     color: rgb(0, 0, 0) !important;
}
}
Line 515: Line 502:
.oo-ui-listToolGroup-tools {
.oo-ui-listToolGroup-tools {
     background: rgb(255, 255, 255) !important;
     background: rgb(255, 255, 255) !important;
     border: 1px solid rgb(0, 0, 0) !important;
     border: none !important;
}
}


Line 548: Line 535:
#p-cactions .vector-menu-content {
#p-cactions .vector-menu-content {
     background: rgb(255, 255, 255) !important;
     background: rgb(255, 255, 255) !important;
     border: 1px solid rgb(0, 0, 0) !important;
     border: none !important;
}
}



Revision as of 06:41, 2 December 2025

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


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

.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;
}

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

body {
    background: rgb(255, 255, 255) !important;
}

/* Remove shadows everywhere */
.portlet, .pBody, #content, #column-content, #column-one,
.portlet h3, .portlet h5, .gallerybox,
.thumb, .thumbinner, .infobox, table, #footer,
#p-cactions, .vector-menu-tabs {
    box-shadow: none !important;
    text-shadow: none !important;
}

/* TÜM ÇİZGİLERİ KALDIR */
#column-one,
#mw-panel,
#content,
#mw-head,
#mw-head-base,
#mw-page-base,
.mw-body,
.portlet,
.pBody,
hr {
    border: none !important;
    border-color: rgb(255, 255, 255) !important;
}

hr {
    display: none !important;
}


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

#mw-head,
#mw-head-base,
#mw-page-base,
.vector-header,
.vector-sticky-header,
.vector-container,
.mw-header {
    background: rgb(255, 255, 255) !important;
    box-shadow: none !important;
    filter: none !important;
    border: none !important;
}

/* Üst menüyü sidebar ile hizala */
#mw-head {
    left: 160px !important;
    right: 0 !important;
}

#left-navigation {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Login/account kısmını content ile hizala */
#p-personal {
    margin-right: 20px !important;
}

#right-navigation {
    margin-right: 20px !important;
}


/************************************************************
 * SAFARI + HEADER ALIGNMENT FIX
 ************************************************************/

#left-navigation,
.vector-page-toolbar {
    display: flex !important;
    align-items: center !important;
}

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

#p-namespaces li a,
#p-views li a,
#p-cactions li a,
#p-personal ul li a {
    display: flex !important;
    align-items: center !important;
    height: 36px !important;
}

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

#searchInput {
    height: 28px !important;
    width: 140px !important;
    padding: 4px 6px !important;
    font-size: 0.95rem !important;
    background: rgb(255, 255, 255) !important;
    border: none !important;
}

#simpleSearch {
    transform: scale(0.85);
    transform-origin: right center;
}



/************************************************************
 * REMOVE TAB UNDERLINES + CLEAN TOP BAR
 ************************************************************/

#p-namespaces,
#p-views,
#p-cactions,
#left-navigation,
#right-navigation,
.vector-tabs,
.vector-menu-tabs {
    border: none !important;
    background: rgb(255, 255, 255) !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::after,
#p-views li.selected a::after,
.vector-menu-tabs li.selected a::after {
    content: none !important;
}

#mw-head-base,
#mw-page-base {
    border-bottom: none !important;
    box-shadow: none !important;
    background: rgb(255, 255, 255) !important;
}


/************************************************************
 * 1. SIDEBAR LAYOUT
 ************************************************************/

#column-one,
#mw-panel,
.vector-legacy-sidebar {
    background: rgb(255, 255, 255) !important;
    padding-top: 0 !important;
    border: none !important;
}

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

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

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

/* Sidebar tüm çizgileri kaldır */
#p-logo + .portal,
.portal:first-child,
#mw-panel .portal,
.vector-menu-portal,
#mw-panel > div {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
}



/************************************************************
 * 2. TOP TABS / PERSONAL MENU
 ************************************************************/

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

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

#p-cactions li, #p-namespaces li, #p-views li {
    margin-right: 10px !important;
    background: rgb(255, 255, 255) !important;
}

#p-cactions li a, #p-namespaces li a, #p-views li a {
    background: rgb(255, 255, 255) !important;
    padding: 8px 15px !important;
    color: rgb(0, 0, 0) !important;
}

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

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

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

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



/************************************************************
 * 3. CONTENT AREA
 ************************************************************/

#content, .mw-body, .mw-body-content {
    background: rgb(255, 255, 255) !important;
    border: none !important;
}

#content {
    background: rgb(255, 255, 255) !important;
    border: none !important;
    margin-top: 0 !important;
}

/* 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 {
    border-bottom: none !important;
    color: rgb(0, 0, 0) !important;
}

/* Links */
a {
    color: rgb(0, 0, 0) !important;
}
a:hover {
    color: rgb(0, 0, 0) !important;
    text-decoration: underline !important;
}
a:visited {
    color: rgb(0, 0, 0) !important;
}

/* Edit links */
.mw-editsection a {
    color: rgb(0, 0, 0) !important;
}
.mw-editsection a:hover {
    color: rgb(0, 0, 0) !important;
    text-decoration: underline !important;
}



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

.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,
    #content,
    #mw-content-text {
        max-width: 90% !important;
    }
}

@media (max-width: 700px) {
    .mw-body-content,
    #content,
    #mw-content-text {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}



/************************************************************
 * 5. IMAGES / GALLERIES
 ************************************************************/

.gallerybox,
.gallerybox .thumb,
.thumb,
.thumbinner {
    background: rgb(255, 255, 255) !important;
    border: none !important;
}

.gallerybox {
    width: 200px !important;
    margin: 15px !important;
}

.gallerybox .thumb img {
    width: 200px !important;
    height: auto !important;
}

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



/************************************************************
 * 6. TABLES
 ************************************************************/

table {
    border-collapse: collapse !important;
    background: rgb(255, 255, 255) !important;
}
table th, table td {
    border: none !important;
    padding: 6px !important;
    background: rgb(255, 255, 255) !important;
}
table th {
    font-weight: bold !important;
    color: rgb(0, 0, 0) !important;
}



/************************************************************
 * 7. INFOBOX
 ************************************************************/

.infobox {
    background: rgb(255, 255, 255) !important;
    border: none !important;
    padding: 15px !important;
    margin: 0 0 20px 20px !important;
}

.infobox th, .infobox td {
    border: none !important;
    padding: 8px 0 !important;
    background: rgb(255, 255, 255) !important;
}



/************************************************************
 * 8. FORMS
 ************************************************************/

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



/************************************************************
 * 9. FOOTER / META
 ************************************************************/

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

#footer a, #catlinks a {
    color: rgb(0, 0, 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: rgb(255, 255, 255) !important;
}

/* VE Butonlar */
.oo-ui-tool,
.oo-ui-tool-link,
.oo-ui-buttonElement-button {
    background: rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0) !important;
}

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

/* VE Dropdown */
.oo-ui-menuSelectWidget,
.oo-ui-selectWidget,
.oo-ui-popupWidget-popup,
.oo-ui-popupWidget-body,
.oo-ui-menuToolGroup-tools,
.oo-ui-listToolGroup-tools {
    background: rgb(255, 255, 255) !important;
    border: none !important;
}

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

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

/* VE Surface */
.ve-ui-surface,
.ve-ce-surface,
.ve-ce-documentNode {
    background: rgb(255, 255, 255) !important;
}

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

/* Vector dropdown menüler */
.vector-menu-dropdown .vector-menu-content,
.vector-dropdown-content,
#p-cactions .vector-menu-content {
    background: rgb(255, 255, 255) !important;
    border: none !important;
}

.vector-menu-dropdown .vector-menu-content li,
.vector-menu-dropdown .vector-menu-content li a {
    background: rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0) !important;
}

.vector-menu-dropdown .vector-menu-content li a:hover {
    background: rgb(240, 240, 240) !important;
}



/************************************************************
 * 11. IMAGE FRAME / BORDER KALDIR
 ************************************************************/

/* mw-file-element parent'ları */
.mw-file-element,
.mw-file-element + figcaption,
a.mw-file-description,
figure[typeof],
figure[typeof="mw:File/Thumb"],
figure[typeof="mw:File/Frame"],
figure[typeof="mw:File"],
figure.mw-default-size,
figure[class*="mw-"],
.mw-body-content figure,
#mw-content-text figure {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.thumb,
.thumbinner,
.thumbimage,
.image,
.gallerybox,
.gallerybox .thumb,
.gallerybox .gallerybox,
.thumbborder,
figure,
figure.mw-halign-right,
figure.mw-halign-left,
figure.mw-default-size,
figcaption,
.mw-file-element,
.mw-file-description,
.mw-default-size,
.mw-image-border,
.tright,
.tleft,
.tnone,
.tcenter,
.tright .thumbinner,
.tleft .thumbinner,
.tmulti,
.tsingle,
.mw-halign-right,
.mw-halign-left,
.mw-halign-center,
.mw-halign-none,
div.thumb,
div.tright,
div.tleft,
div.thumbinner,
.thumb > .thumbinner,
.floatright,
.floatleft,
.floatnone {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 10px !important;
}

/* Inner elements */
.thumbinner > a,
.thumbinner > a > img,
.thumbinner > .thumbimage,
.thumbcaption {
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

/* Caption sadece margin */
.thumbcaption {
    margin-top: 5px !important;
}