MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 155: Line 155:
   text-align: left;
   text-align: left;
}
}
.suggestions {
.suggestions {
display: none!important;
  display: none!important;
}
}


#simpleSearch {
#simpleSearch {
   position: relative; /* Set position to relative for stacking */
   position: relative;
}
}


#searchform {
#searchform {
padding-left: 6.2%;
  padding-left: 6.2%;
padding-bottom: 2%;
  padding-bottom: 2%;
}
}


Line 176: Line 176:
   width: 200%;
   width: 200%;
   height: 400%;
   height: 400%;
   background-color: rgba(255, 255, 255, 0.7); /* White background with 0.7 opacity */
   background-color: rgba(255, 255, 255, 0.7);
   z-index: -1; /* Send the background behind other content */
   z-index: -1;
   margin-left: -10%;
   margin-left: -10%;
}
}
Line 183: Line 183:
#searchInput,
#searchInput,
.closing-bracket {
.closing-bracket {
    display: none; /* Initially hide the search input and closing bracket */
  display: none;
    border: none;
  border: none;
}
}


#simpleSearch:hover #searchInput {
#simpleSearch:hover #searchInput {
    display: inline; /* Display the search input and closing bracket when #simpleSearch is hovered */
  display: inline;
    border-bottom: 1px solid black;
  border-bottom: 1px solid black;
    margin-left: -8px;
  margin-left: -8px;
}
}


#simpleSearch:hover .closing-bracket {
#simpleSearch:hover .closing-bracket {
    display: inline; /* Display the search input and closing bracket when #simpleSearch is hovered */
  display: inline;
}
}


.nrs {
.nrs {
   margin-left: 40%;
   margin-left: 40%;
}
#searchInput {
  position: absolute; /* Set the search input to absolute position */
  right: 0; /* Align it to the right within #simpleSearch */
}
}

Navigation menu