MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 95: Line 95:
border-top: 1px solid black;
border-top: 1px solid black;
}
}
/* Modal */
/* Style the modal */
/* ---- Modal How to record ---- */
 
.modal {
.modal {
   display: none; /* Hidden by default */
   display: none;
   position: fixed; /* Stay in place */
   position: fixed;
   z-index: 1; /* Sit on top */
   top: 0;
  padding-top: 100px; /* Location of the box */
   left: 0;
   left: 0;
  top: 0;
   width: 100%;
   width: 100%; /* Full width */
   height: 100%;
   height: 100%; /* Full height */
   background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  overflow: scroll!important; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
   background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
}


/* Modal Content */
/* Style the modal content */
.modal-content {
.modal-content {
   max-width: 40%!important;
   position: absolute;
   background-color: red;
   top: 50%;
   text-align: left;
   left: 50%;
   margin-left: auto;
   transform: translate(-50%, -50%);
}
   background-color: #fff;
 
   padding: 20px;
/* The Close Button */
   border-radius: 8px;
.close1 {
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
   color: magenta;
   float: right;
   font-size: 35px;
   font-weight: normal;
  padding-bottom: 10px;
}
}


.close1:hover,
/* Style the close button */
.close1:focus {
.close {
   color: pink;
  position: absolute;
   text-decoration: none;
  top: 10px;
  right: 10px;
   font-size: 20px;
   font-weight: bold;
   cursor: pointer;
   cursor: pointer;
}
}


#aboutBtn button{
  background-color: transparent;
  text-decoration: underline;
  border: none;
  font-weight: normal!important;
}
#aboutBtn button:hover {
  color: magenda;
  background-color: transparent;
  text-decoration: underline;
  cursor: pointer;
}


/* End Style for modals<------ */
/* End Style for modals<------ */

Navigation menu