MediaWiki:Common.css: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Tag: Manual revert
 
(5 intermediate revisions by the same user not shown)
Line 8: Line 8:
.center img:hover {
.center img:hover {
   cursor: pointer;
   cursor: pointer;
}
.iframe-container {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;    /* Centers vertically */
  width: 100%;            /* This is the key. Make the container fill the full width. */
  min-height: 100vh;      /* This ensures the container is at least the height of the viewport. */
}
.curved-iframe {
  border-radius: 40px; /* Adjust the value to control the curve of the corners */
}
}