MediaWiki:Common.css

From MDrivenWiki
Revision as of 11:46, 19 October 2023 by Edgar (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
This page was edited 1 days ago on 05/18/2024. What links here
.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 {
    background-color: #e0e0e0;
    margin-top: 1px;
    padding: 10px;
}
This page was edited 1 days ago on 05/18/2024. What links here