MediaWiki:Common.css: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 28: | Line 28: | ||
. | .toggle-container { | ||
background: #f8f9fa; | background: #f8f9fa; | ||
padding: | padding: 1em; | ||
border | margin: 1em 0; | ||
border: 1px solid #a2a9b1; | |||
border-radius: 4px; | |||
text-align: center; | |||
} | } | ||
.toggle- | .toggle-button { | ||
display: inline-block; | display: inline-block; | ||
padding: 0.5em 1em; | |||
margin: 0 0.5em; | |||
margin | border: 1px solid #a2a9b1; | ||
border-radius: 3px; | |||
cursor: pointer; | cursor: pointer; | ||
background: #ffffff; | |||
transition: all 0.2s ease; | |||
background | |||
transition: . | |||
} | } | ||
. | .toggle-button.active { | ||
background: #36c; | |||
color: white; | |||
border-color: #36c; | |||
border- | |||
} | } | ||
.manga-content, .anime-content { | |||
display: none; | |||
} | } | ||
.show-manga .manga-content, | |||
.show-anime .anime-content { | |||
display: block; | |||
} | } |
Revision as of 18:08, 6 February 2025
/* CSS placed here will be applied to all skins */
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 300px;
}
.infobox-title {
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox-table th {
text-align: left;
vertical-align: top;
width: 120px;
}
.infobox-table td {
vertical-align: top;
}
.toggle-container {
background: #f8f9fa;
padding: 1em;
margin: 1em 0;
border: 1px solid #a2a9b1;
border-radius: 4px;
text-align: center;
}
.toggle-button {
display: inline-block;
padding: 0.5em 1em;
margin: 0 0.5em;
border: 1px solid #a2a9b1;
border-radius: 3px;
cursor: pointer;
background: #ffffff;
transition: all 0.2s ease;
}
.toggle-button.active {
background: #36c;
color: white;
border-color: #36c;
}
.manga-content, .anime-content {
display: none;
}
.show-manga .manga-content,
.show-anime .anime-content {
display: block;
}