MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Manual revert
No edit summary
Line 238: Line 238:
     border-bottom: 1px solid black;
     border-bottom: 1px solid black;
padding-bottom: 18px;
padding-bottom: 18px;
display: flex; /* Use flexbox */
    align-items: center; /* Align items vertically in the center */
    justify-content: space-between; /* Space out title and icon */
}
}
.article-title {
.article-title {
Line 244: Line 247:
   letter-spacing: 0.4px;
   letter-spacing: 0.4px;
   text-align: center;
   text-align: center;
   margin-bottom: 0 !important;
   margin: 0!important
}
}
.article-type {
.article-type {
Line 280: Line 283:
}
}
.external-link-icon {
.external-link-icon {
     display: inline-block; /* Display the icon next to the title */
     display: flex; /* Use flexbox */
     width: 20px; /* Adjust the width as needed */
    align-items: center; /* Align items vertically in the center */
     height: 20px; /* Adjust the height as needed */
     justify-content: center; /* Center the content horizontally */
     margin-left: 10px; /* Space between the title and icon */
     width: 30px; /* Adjust the width as needed */
     height: 30px; /* Adjust the height as needed */
}
}


.external-link-icon img {
.external-link-icon img {
     width: 100%;
     width: 100%; /* Make the image fill the container */
     height: auto;
     height: auto; /* Maintain aspect ratio */
}
}


Navigation menu