MediaWiki:Common.css: Difference between revisions

From MDrivenWiki
No edit summary
No edit summary
Line 158: Line 158:
     padding: 10px;
     padding: 10px;
}
ul:not(.submenu) {
    list-style: outside disc url(data:image/svg+xml;charset=UTF-8,<svg width='8' height='16' version='1.1' xmlns='http://www.w3.org/2000/svg'><circle cx='4' cy='10.4' r='4' fill='#dee2e6'/></svg>) !important;
    list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAJCAYAAAARml2dAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAABUSURBVAiZdY4xDsAgFELB2J0DdnbwQI5OHvDfgC62SY0yvhAetI1dWEq5JN0kKwDYbhEx8oT9a5JdEtLb/M2QNW0FAJLttkLbLUfEkIRVztPdo+MBm8UkW9Zxc20AAAAASUVORK5CYII=) !important;
}
}

Revision as of 13:52, 19 October 2023

.custom-header {
    border-radius: 4px;
    border: 1px solid #E3E8EE;
    background-color: #112B3C; /* Updated background color */
    height: 68px;
    width:100%;
     
}

.p-logo {
    margin-left: 25px;
}

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

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

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

.search-bar {
    margin-right: 20px;
}

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

@import url('https://fonts.googleapis.com/css?family=Outfit');

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

/* Hide search bar on mobile screens */
@media (max-width: 767px) {
    .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; /* Ensure the menu is on top of other elements */
}

.offcanvas-right.show {
    right: 0;
}

.offcanvas-right ul.p-personal-tools {
    list-style-type: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
}

.offcanvas-right ul.p-personal-tools li {
    margin-bottom: 15px; /* Add some space between the links */
}

.offcanvas-right ul.p-personal-tools li a {
    color: #ffffff; /* Set link color to white */
    text-decoration: none; /* Remove underline */
    font-size: 18px; /* Set font size */
    display: block; /* Make the links block elements to fill the space */
    padding: 10px; /* Add some padding */
    transition: background-color 0.3s; /* Add transition for hover effect */
}

.offcanvas-right ul.p-personal-tools li a:hover {
    background-color: #1C4E63; /* Change background color on hover */
}

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

#contentContainer.show-nav-menu #navMenu {
    flex: 0 0 200px; 
    background-color: #f9f9f9;
    border-right: 1px solid #ccc;
    overflow-y: auto;
    height: 100vh;
}

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


#navMenu {
    width: 200px;
}

.menu-section {
    margin-bottom: 10px;
}

.menu-header {
    background-color: #f0f0f0;
    padding: 10px;
    cursor: pointer;
}

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

.submenu li {
	
    padding: 10px;
}
This page was edited 38 days ago on 08/12/2024. What links here