MediaWiki:Mobile.css: Difference between revisions

From Ekatra Foundation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 69: Line 69:
}
}
/*------------------22-06-2026-----------------------*/
/*------------------22-06-2026-----------------------*/
/* Fix MobileFrontend editor overlay */
/* FORCE editor overlay to cover page */


.mw-overlays-container,
.overlay,
.overlay,
.overlay-content,
.overlay-content-holder,
.overlay-content-container,
.editor-overlay,
.editor-overlay,
.mf-overlay,
.overlay-content {
.mf-overlay-content,
    position: fixed !important;
.minerva-overlay,
    top: 0 !important;
.overlay-enabled .overlay {
    left: 0 !important;
     background: #fff !important;
    right: 0 !important;
    bottom: 0 !important;
     background: #ffffff !important;
     opacity: 1 !important;
     opacity: 1 !important;
    z-index: 99999 !important;
}
}


/* Editor page */
/* Editor area */
.editor-overlay textarea,
#wikitext-editor,
#wpTextbox1 {
.wikitext-editor {
     background: #fff !important;
     background: #ffffff !important;
     position: relative !important;
     color: #000 !important;
    z-index: 9999 !important;
}
}


/* Hide underlying page while editing */
/* Hide article while editor open */
.overlay-enabled .mw-parser-output,
.editor-overlay.visible ~ * {
.overlay-enabled #mw-content-text,
     display: none !important;
.overlay-enabled .page-content,
.overlay-enabled .content,
.overlay-enabled .mf-section-0 {
    visibility: hidden !important;
}
 
/* Keep editor visible */
.overlay-enabled .overlay,
.overlay-enabled .overlay-content,
.overlay-enabled #editor {
     visibility: visible !important;
}
}

Revision as of 10:39, 22 June 2026

/* All CSS here will be loaded for users of the mobile site */
@font-face {
    font-family: "Ekatra";
    src: url("https://wiki.ekatrafoundation.org/fonts/Ekatra-Normal.ttf");
}
@font-face {
    font-family: "Ekatra";
    src: url("https://wiki.ekatrafoundation.org/fonts/Ekatra-Bold.ttf");
    font-weight: bold;
}
@font-face {
    font-family: "Ekatra";
    src: url("https://wiki.ekatrafoundation.org/fonts/Ekatra-Italic.ttf");
    font-style: italic;
}

body {
  font-family: Ekatra;
}

#pt-preferences, #p-personal {
	display: none;
}
@media only screen and (max-width: 767px) {
    .pre-content h1, 
    .content h1, 
    .content h2 {
        display: none;
    }
}
.mw-parser-output a.external {
    background-image: none !important;
}
.external, .mw-parser-output a.external {
    background-image: none !important;
}
p.bookcover-heading {
    font-size: 29px;
    color: #861f23;
}

/* */
/*
#fixed-share-buttons{
    width:100%;
    display:flex;
    justify-content:flex-end;
    margin-top:5px;
    margin-bottom:10px;
    padding-right:10px;
}
*/ /*
#fixed-share-buttons .a2a_kit a{
    margin-left:4px;
} */


/*----------26-05-2026--------*/
/* Homepage video spacing mobile */

@media screen and (max-width: 768px) {

    /* Space above video */
    body.page-Main_Page .mf-section-0 > figure:first-of-type {
        margin-top: 28px !important;
        margin-bottom: 100px !important;
    }

}
/*------------------22-06-2026-----------------------*/
/* FORCE editor overlay to cover page */

.mw-overlays-container,
.overlay,
.editor-overlay,
.overlay-content {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: #ffffff !important;
    opacity: 1 !important;
    z-index: 99999 !important;
}

/* Editor area */
#wikitext-editor,
.wikitext-editor {
    background: #ffffff !important;
    color: #000 !important;
}

/* Hide article while editor open */
.editor-overlay.visible ~ * {
    display: none !important;
}