MediaWiki:Common.css: Difference between revisions

From MDrivenWiki
No edit summary
No edit summary
Line 496: Line 496:
     padding-left: 8px;
     padding-left: 8px;
     font-size: 14px !important;
     font-size: 14px !important;
    margin: 8px 0;
}
}



Revision as of 10:27, 15 April 2024

.custom-header {
    background-color: #112B3C;
    height: 68px;
    width: 100%
}


#p-personal .p-personal-tools,.p-personal .p-personal-tools {
    text-align: center !important;
    margin-left: 36px;
}

#p-personal .p-personal-tools > *, .p-personal .p-personal-tools > * {
    margin-bottom: 0;
}

#p-personal .p-personal-tools a,.p-personal .p-personal-tools a {
    color: white !important
}

#pt-userdashboard,#pt-pageassignments {
    display: none
}

.row {
    margin-right: 0 !important;
    margin-left: 0 !important
}

.searchbar-autocomplete-results {
    top: 70px !important
}

.custom-footer-bg {
    background-color: #111827;
    height: 100%
}

#user-info {
    visibility: hidden
}

#user-info.ready {
    visibility: visible
}

body.page-Main_Page .firstHeading {
    display: none
}


@font-face {
    font-family: 'Outfit';
    src: url(https://wiki.mdriven.net/resources/outfit/Outfit-Thin.ttf) format('truetype');
    font-weight: 100;
    font-style: normal
}

@font-face {
    font-family: 'Outfit';
    src: url(/resources/outfit/Outfit-ExtraLight.ttf) format('truetype');
    font-weight: 200;
    font-style: normal
}

@font-face {
    font-family: 'Outfit';
    src: url(/resources/outfit/Outfit-Light.ttf) format('truetype');
    font-weight: 300;
    font-style: normal
}

@font-face {
    font-family: 'Outfit';
    src: url(/resources/outfit/Outfit-Regular.ttf) format('truetype');
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: 'Outfit';
    src: url(/resources/outfit/Outfit-Medium.ttf) format('truetype');
    font-weight: 500;
    font-style: normal
}

@font-face {
    font-family: 'Outfit';
    src: url(/resources/outfit/Outfit-SemiBold.ttf) format('truetype');
    font-weight: 600;
    font-style: normal
}

@font-face {
    font-family: 'Outfit';
    src: url(/resources/outfit/Outfit-Bold.ttf) format('truetype');
    font-weight: 700;
    font-style: normal
}

@font-face {
    font-family: 'Outfit';
    src: url(/resources/outfit/Outfit-ExtraBold.ttf) format('truetype');
    font-weight: 800;
    font-style: normal
}

@font-face {
    font-family: 'Outfit';
    src: url(/resources/outfit/Outfit-Black.ttf) format('truetype');
    font-weight: 900;
    font-style: normal
}

body {
    font-family: 'Outfit',sans-serif
}

/* @media (max-width: 768px) {
    .search-bar {
        display:none !important
    }
} */

.offcanvas-right {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: #112B3C;
    overflow-y: auto;
    transition: right 0.3s;
    z-index: 1000
}

.offcanvas-right.show {
    right: 0
}

.offcanvas-right ul.p-personal-tools {
    list-style-type: none;
    padding: 0
}

.offcanvas-right ul.p-personal-tools li {
    margin-bottom: 15px
}

.offcanvas-right ul.p-personal-tools li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    display: block;
    transition: background-color 0.3s
}

.offcanvas-right ul.p-personal-tools li a:hover {
    background-color: #1C4E63
}

#contentContainer.show-nav-menu {
    display: flex
}

#contentContainer.show-nav-menu #navMenu {
    flex: 0 0 300px;
    background-color: #F3F6F9;
    overflow-y: auto
}

#contentContainer.show-nav-menu #bodyContent {
    flex-grow: 1;
    padding: 20px
}

#contentContainer.show-nav-menu .collapsible-menu .menu-item .submenu {
    display: none
}

#contentContainer.show-nav-menu .collapsible-menu .menu-item .menu-toggle {
    cursor: pointer
}

.menu-section {
    font-size: 16px !important;
    margin-left: 16px !important;
}

.menu-header {
    cursor: pointer;
    font-size: 16px !important;
    margin: 8px 0;
}

.menu-header i {
    margin-right: 6px !important;
    font-size: 12px;
}

.submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0
}

.submenu li {
    padding: 0px
}

.close-button {
    font-size: 2em;
    background: none;
    border: none;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: white;
}

#offcanvas-toggler {
    color: white;
}

@media (max-width: 1140px) and (min-width: 768px)  {
    .custom-header {
        display: flex;
        padding: 8px 16px;
        height: fit-content;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
    }

    .custom-header div:nth-child(2) {
        width: 100%;
        order: 3;
        flex-basis: 100%;
    }

    #p-personal .p-personal-tools,.p-personal .p-personal-tools {
        margin-left: 0px;
        gap: 24px;
        padding: 10px 0;
    }

    #p-personal .p-personal-tools > *, .p-personal .p-personal-tools > * {
        margin-left: 0;
        margin-right: 0;
        
    }
}

@media (max-width: 767px) {
    .custom-header {
        display: flex;
        height: fit-content;
        padding: 8px 16px;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
    }
    .custom-header div:nth-child(2) {
        flex-basis: fit-content;
        /* justify-content: center; */
    }

    .custom-header div:nth-child(1):not(.p-personal) {
        width: fit-content;
        margin-top: 0px !important;
    }
    
    #p-personal .p-personal-tools,.p-personal .p-personal-tools {
        margin-top:70px
    }

    #p-personal {
       height:0;
    }

    #offcanvas-menu .p-personal-tools  {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: flex-start;
        margin-left: 16px;
        gap: 16px;
    }

    .search-bar {
        flex-basis: 100%;
        padding: 10px 12px;
    }
}

.card {
    width: 361px;
    height: 183px;
    padding: 24px;
    background: #F3F6F9;
    border-radius: 6px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    display: inline-flex
}

.card-header {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    display: flex;
    margin-top: 10px
}

.card-header-title {
    color: #44546F;
    font-size: 14px;
    font-weight: 400;
    word-wrap: break-word
}

.card-header-subtitle {
    color: #112B3C;
    font-size: 20px;
    font-weight: 700;
    word-wrap: break-word
}

.card-content {
    width: 313px;
    height: 50px;
    color: black;
    font-size: 14px;
    font-weight: 300;
    word-wrap: break-word
}

.card-action {
    align-self: stretch;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    display: inline-flex;
    margin-top: 10px
}

.card-action-text {
    color: #1A50AD;
    font-size: 14px;
    font-weight: 600;
    word-wrap: break-word;
    margin-right: 10px
}

.card-arrow {
    fill: none;
    stroke: #1A50AD;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

div[class*="card"]:hover {
    cursor: pointer;
    animation: all 400ms ease-in-out;
}

body.mediawiki.page-Documentation_Documentation nav.breadcrumbtop,body.mediawiki.page-Documentation_Documentation div.firstTitle {
    display: none !important
}

body.mediawiki.page-Training_Training nav.breadcrumbtop,body.mediawiki.page-Training_Training div.firstTitle {
    display: none !important
}

body.mediawiki.page-Training_1000_Steps_Program nav.breadcrumbtop,body.mediawiki.page-Training_1000_Steps_Program div.firstTitle {
    display: none !important
}

body.mediawiki.page-Training_MDriven_Levels_Stars_Certificates nav.breadcrumbtop,body.mediawiki.page-Training_MDriven_Levels_Stars_Certificates div.firstTitle {
    display: none !important
}

body.mediawiki.page-Training_1000_Steps_Program nav.breadcrumbtop,body.mediawiki.page-Training_1000_Steps_Program div.firstTitle {
    display: none !important
}

body.mediawiki.page-BestPractices_Best_Practices nav.breadcrumbtop,body.mediawiki.page-BestPractices_Best_Practices div.firstTitle {
    display: none !important
}

body.mediawiki.page-Documentation_Model_Examples nav.breadcrumbtop,body.mediawiki.page-Documentation_Model_Examples div.firstTitle {
    display: none !important
}

body.mediawiki.page-Glossary nav.breadcrumbtop,body.mediawiki.page-Glossary div.firstTitle {
    display: none !important
}

body.mediawiki.page-Documentation_Q_and_A nav.breadcrumbtop,body.mediawiki.page-Documentation_Q_and_A div.firstTitle {
    display: none !important
}

body.mediawiki.page-Training_Videos nav.breadcrumbtop,body.mediawiki.page-Training_Videos div.firstTitle {
    display: none !important
}

body.mediawiki.page-ReleaseNotes_Changelog-Framework nav.breadcrumbtop,body.mediawiki.page-ReleaseNotes_Changelog-Framework div.firstTitle {
    display: none !important
}

body.mediawiki.page-ReleaseNotes_Changelog-Designer nav.breadcrumbtop,body.mediawiki.page-ReleaseNotes_Changelog-Designer div.firstTitle {
    display: none !important
}

body.mediawiki.page-ReleaseNotes_Changelog-Server nav.breadcrumbtop,body.mediawiki.page-ReleaseNotes_Changelog-Server div.firstTitle {
    display: none !important
}

body.mediawiki.page-ReleaseNotes_Changelog-Turnkey nav.breadcrumbtop,body.mediawiki.page-ReleaseNotes_Changelog-Turnkey div.firstTitle {
    display: none !important
}

body.mediawiki.page-ReleaseNotes_ReleaseNotes nav.breadcrumbtop,body.mediawiki.page-ReleaseNotes_ReleaseNotes div.firstTitle {
    display: none !important
}

body.user-anon div#p-contentnavigation {
    display: none !important
}

.mobile-menu-button {
    display: none;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center
}

#navMenu.collapsible-menu {
    display: block;
    background-color: #F3F6F9;
    max-width: 300px;
}

@media screen and (max-width: 814px) {
    .mobile-menu-button {
        display:block
    }

    #navMenu.collapsible-menu {
        display: none
    }
}

body.ns-special .mw-body,body.action-edit .mw-body,body.ns-MediaWiki .mw-body {
    padding-left: 20px !important
}

.menu-item a,.menu-header,.submenu li a {
    transition: background-color 0.3s ease
}

.menu-item a:hover,.menu-header:hover,.submenu li a:hover,.menu-item a.active,.menu-header.active,.submenu li a.active {
    background-color: #e0e0e0;
    cursor: pointer
}

#navMenu .menu-item {
    margin: 2px 0;
    border-radius: 5px;
    transition: background-color 0.3s;
    line-height: 1.6;
}

#navMenu .menu-item:hover {
    /* background-color: #d3d3d3 */
}

#navMenu .menu-item.current-page {
    background-color: #d3d3d3
}

#navMenu .menu-item a {
    color: black;
    text-decoration: none;
    display: block;
    padding-left: 8px;
    font-size: 14px !important;
}

@media (min-width: 768px) {
    #navMenu {
        position:sticky;
        top: 0;
        height: 100vh;
        overflow-y: auto
    }

    body.scroll #navMenu,body.scroll #mw-content-text {
        height: auto;
        overflow-y: visible
    }

    body.ns-special #mw-content-text,body.ns-8 #mw-content-text {
        overflow-y: visible;
        height: auto
    }
}

.mobile-top-bar {
    background-color: #333
}

body.ns-3002 #navMenu,body.ns-3002 #catlinks,body.ns-3002 .custom-footer-bg.row,body.ns-3002 .custom-header.row,body.ns-3002 .mobile-menu-button {
    display: none !important
}

#toc .toctitle h2 {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center
}

#toc ul {
    list-style: none;
    padding: 0
}

#toc li a {
    color: #0060A0;
    text-decoration: none;
    display: block;
    padding: 5px
}

#toc li a:hover,#toc li a:focus {
    background-color: #e0e0e0;
    border-radius: 4px
}

#toctogglecheckbox,.toctogglelabel,.toctogglespan::before,.toctogglespan::after {
    display: none
}

#toc .tocnumber {
    display: none
}

@media screen and (max-width: 767px) {
    #toc {
        display:none
    }

    .has-toc .mw-body-content {
        padding-right: 0
    }
}

.toc .toctitle {
    text-align: left !important
}

.toc {
    border: none !important;
    padding-top: 20px !important
}

@media screen and (max-width: 768px) {
    #searchContainer {
        width:80vw
    }

    .menu-header,.menu-item {
        font-size: 4vw
    }

    #namespaceTitle,.menu-header {
        margin-left: 5vw
    }
}

@media screen and (max-width: 480px) {
    #searchContainer {
        width:90vw
    }

    .menu-header,.menu-item {
        font-size: 5vw
    }

    #namespaceTitle,.menu-header {
        margin-left: 0vw
    }
}

@media screen and (max-width: 768px) {
    #contentContainer.show-nav-menu #navMenu {
        flex:0 0 90% !important;
        background-color: #F3F6F9 !important;
        overflow-y: auto !important
    }

    #contentContainer.show-nav-menu #bodyContent {
        flex-grow: 1 !important;
        padding: 20px !important;
        width: 70% !important
    }

    pre {
        width: 100% !important
    }
}

/** body.action-edit #navMenu,html.ve-activated.ve-active #navMenu {
    display: none
} **/

.vd-icon {
    position: absolute;
    right: 10px;
    font-size: 28px;
    color: #1677d2;
    opacity: 0.35
}

a.video-playlist {
    font-weight: 500;
    font-size: 16px;
    color: black;
    text-decoration: none;
    padding: 15px 16px;
    height: 90px;
    width: 180px;
    border-left: 8px solid #1677d2 !important;
    margin: 24px 12px;
    border-radius: 4px;
    display: inline-flex;
    flex-direction: column;
    border: 1px solid #0000000d;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.2),0 1px 5px 0 rgba(0,0,0,0.12);
    transition: all 200ms ease-in-out;
    position: relative
}

.video-playlist p {
    margin-bottom: 6px;
    max-width: 160px
}

.video-playlist p:first-of-type {
    font-weight: bold
}

a.video-playlist--green {
    border-left: 8px solid green !important
}

.video-playlist--green i {
    color: green
}

a.video-playlist--orange {
    border-left: 8px solid #f59c1a !important
}

.video-playlist--orange i {
    color: #f59c1a
}

.playlist-desc {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5em;
    color: #707070;
    margin-top: 0px
}

a.video-playlist:hover {
    box-shadow: 0 1px 3px 1px rgba(60,64,67,.2),0 2px 8px 4px rgba(60,64,67,.1)
}

.page-Video_Materials .mw-body a.external {
    color: black;
    text-decoration: none
}

.video {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex-wrap: wrap;
    margin: 10px auto
}

.video__wrapper {
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 65%;
    max-width: 760px
}

.video__wrapper iframe {
    display: block;
    width: 100%;
    height: 300px
}

.video__navigation {
    padding: 0px 10px 10px 0px;
    display: flex;
    flex-direction: column;
    flex-grow: 0.3;
    flex-shrink: 0;
    flex-basis: 35%;
    overflow-y: auto;
    max-width: 210px
}

.navigation-item {
    padding-right: 30px;
    position: relative;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.025em;
    outline: none;
    transition: color 300ms ease-out
}

.navigation-item.sub {
    margin-left: 20px;
    font-size: 14px
}

.navigation-item+.navigation-item {
    margin-top: 10px
}

.navigation-item:hover {
    color: #f59c1a;
    cursor: pointer
}

.navigation-item:first-child {
    font-size: 18px;
    font-weight: 700
}

.navigation-item.active {
    font-weight: 700;
    color: #f59c1a
}

.navigation-item.active::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #f59c1a
}

.video-warn {
    color: #adadad;
    text-align: justify;
    font-style: italic
}

@media (min-width: 768px) {
    .video__wrapper iframe {
        height:350px
    }

    .video__navigation {
        max-height: 350px
    }

    .navigation-item {
        font-size: 14px
    }
}

@media (min-width: 992px) {
    .video {
        flex-direction:row;
        flex-wrap: nowrap
    }

    .video__wrapper iframe {
        height: 400px
    }

    .video__navigation {
        padding: 0px 10px 10px 30px;
        max-height: 400px
    }

    .navigation-item {
        font-size: 16px
    }
    
    .mw-body {
     margin-bottom: unset; 
}
}

@media (min-width: 1200px) {
    .video__wrapper iframe {
        height:450px
    }

    .video__navigation {
        max-height: 450px
    }
}

.bs-extendedsearch-result-container.redirect {
    display: none
}

#mw-content-text::-webkit-scrollbar {
    width: 10px;
    background-color: #f9f9f9
}

#mw-content-text::-webkit-scrollbar-thumb {
    background-color: #646464;
    border-radius: 5px;
    border: 2px solid #f9f9f9
}

#mw-content-text::-webkit-scrollbar-thumb:hover {
    background-color: #555
}

#mw-content-text::-webkit-scrollbar-corner {
    background-color: #f9f9f9
}

/*.mw-parser-output > *:first-child {*/
    /* margin-right: 200px */
/*    display: none;*/
/*}*/

.bs-extendedsearch-result-original-title {
    display: none !important
}

.bs-extendedsearch-result-container .bs-extendedsearch-result-image {
    display: none
}

.bs-extendedsearch-filter-button-button {
    background-color: #2779F6 !important;
    color: white;
    border: 2px solid transparent;
    padding: 10px 20px;
    font-weight: bold;
    transition: all 0.3s ease
}

.bs-extendedsearch-filter-button-button:hover {
    background-color: #0056b3;
    color: #ffdd57;
    border-color: #ffdd57;
    transform: scale(1.05);
    cursor: pointer
}

.bs-extendedsearch-searchbar-clear {
    display: none !important
}

.page-Special_SearchCenter .bs-extendedsearch-filter-button-button::after {
    content: "\f078";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px
}

body.page-Special_SearchCenter {
    overflow-x: hidden !important
}

.direct-link-item {
    color: black;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px
}

.menu-item {
    display: block;
    padding-left: 8px !important;
    color: black;
    text-decoration: none
}

.menu-item a:hover {
    text-decoration: none
}

html.client-js.ve-available.ve-activated.ve-active #mainContent {
    flex: none !important;
    max-width: none !important;
}
This page was edited 7 days ago on 04/24/2024. What links here