Common.css: Difference between revisions
MediaWiki interface page
More actions
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
color: #f72a57 !important; |
color: #f72a57 !important; |
||
} |
} |
||
/* Style the container to center the widget */ |
|||
.discord-widget-container { |
.discord-widget-container { |
||
display: flex; |
display: flex; |
||
| Line 16: | Line 16: | ||
margin-top: 20px; |
margin-top: 20px; |
||
margin-bottom: 20px; |
margin-bottom: 20px; |
||
border: 2px solid #7289da; |
border: 2px solid #7289da; |
||
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); |
||
height: 520px; |
|||
} |
} |
||
/* Style the iframe to fit within the container */ |
|||
.discord-widget-container iframe { |
.discord-widget-container iframe { |
||
border-radius: 8px; |
border-radius: 8px; |
||
width: 100%; |
|||
height: |
height: 100%; |
||
} |
} |
||
Revision as of 03:21, 1 January 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: flex;
justify-content: center;
align-items: center;
margin-top: 20px;
margin-bottom: 20px;
border: 2px solid #7289da;
border-radius: 8px;
background-color: #2f3136;
padding: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
height: 520px;
}
.discord-widget-container iframe {
border-radius: 8px;
width: 100%;
height: 100%;
}