Common.css: Difference between revisions
MediaWiki interface page
More actions
Content deleted Content added
No edit summary |
No edit summary Tag: Manual revert |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
color: #f72a57 !important; |
color: #f72a57 !important; |
||
} |
} |
||
/* Style the container to center the widget */ |
|||
.discord-widget-container { |
.discord-widget-container { |
||
display: |
display: inline-block; |
||
justify-content: center; |
|||
align-items: center; |
|||
margin-top: 20px; |
margin-top: 20px; |
||
margin-bottom: 20px; |
margin-bottom: 20px; |
||
| ⚫ | |||
| ⚫ | |||
margin-right: 20px; |
|||
| ⚫ | |||
border-radius: 8px; |
border-radius: 8px; |
||
background-color: #2f3136; |
background-color: #2f3136; |
||
padding: 10px; |
padding: 10px; |
||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); |
||
width: auto; |
|||
} |
} |
||
/* Style the iframe to fit within the container */ |
|||
.discord-widget-container iframe { |
.discord-widget-container iframe { |
||
width: 350px; |
|||
height: 500px; |
|||
border-radius: 8px; |
border-radius: 8px; |
||
display: block; |
|||
| ⚫ | |||
} |
} |
||
Latest revision as of 07:25, 7 March 2025
/* CSS placed here will be applied to all skins */
.mw-page-title-namespace,
.mw-page-title-separator {
display: none !important; /* Hide elements completely */
margin: 0 !important;
padding: 0 !important;
}
a.new {
color: #f72a57 !important;
}
.discord-widget-container {
display: inline-block;
margin-top: 20px;
margin-bottom: 20px;
margin-left: auto;
margin-right: 20px;
border: 2px solid #7289da;
border-radius: 8px;
background-color: #2f3136;
padding: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
width: auto;
}
.discord-widget-container iframe {
width: 350px;
height: 500px;
border-radius: 8px;
display: block;
}