MediaWiki:Common.css: Difference between revisions
From Starlight wiki
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 279: | Line 279: | ||
background: #212126 !important; | background: #212126 !important; | ||
color: #e0e0e0 !important | color: #e0e0e0 !important | ||
} | |||
.mw-json tr { | |||
background-color: #212126; | |||
margin-bottom: 0.5em | |||
} | } | ||
Revision as of 13:45, 30 December 2024
/* CSS placed here will be applied to all skins */
.gradient-header-frame {
border: 1px solid #3a3a46;
border-radius: 0.3em;
}
.gradient-header-frame__header {
color: #efefef;
font-size: 1.15em;
font-family: "noto sans";
padding: 6px 10px;
background: linear-gradient(90deg, #2f2f37 0%, #3a3a45 40%, #3b3b47 50%, #3a3a45 60%, #2f2f37 100%);
text-align: center;
}
.gradient-header-frame__content {
}
.gradient-header-frame__content::-webkit-scrollbar { width: 10px; }
.gradient-header-frame__content::-webkit-scrollbar-track { background: #2c2c33; }
.gradient-header-frame__content::-webkit-scrollbar-thumb { background: #44444d; border: 2px solid #2c2c33; border-radius: 0; }
.gradient-header-frame-sub {
border: 1px solid #3a3a46;
border-radius: 0.3em;
}
.gradient-header-frame-sub__header {
color: #efefef;
font-size: 1.15em;
font-family: "noto sans";
padding: 6px 10px;
background: linear-gradient(90deg, #3a3a45 0%, #3a3a45 10%, #2f2f37 50%);
text-align: left;
}
.gradient-header-frame-sub__content {
}
.gradient-header-frame-sub__content::-webkit-scrollbar { width: 10px; }
.gradient-header-frame-sub__content::-webkit-scrollbar-track { background: #2c2c33; }
.gradient-header-frame-sub__content::-webkit-scrollbar-thumb { background: #44444d; border: 2px solid #2c2c33; border-radius: 0; }
.modern-frame {
display: flex;
flex-direction: column;
}
.modern-frame__title {
position: relative;
display: flex;
align-items: center;
min-height: 32px;
padding: 2px 8px;
color: #e5e5e5;
font-size: 15px;
font-family: "noto sans";
border-radius: 0.3em 0.3em 0 0;
border-bottom: 3px solid #00000045 !important;
}
.modern-frame__content {
border-radius: 0 0 0.3em 0.3em;
box-shadow: inset 0px 0px 6px 0px rgba(0, 0, 0, 0.4);
}
@media (max-width: 800px) {
.modern-frame__content {
gap: 6px;
padding: 8px;
}
}
.modern-button {
position: relative;
display: flex;
min-width: 45%;
background: #31313b;
border-radius: 8px;
min-height: 64px;
width: 100%;
overflow: hidden;
box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.2);
}
.modern-button__image {
display: flex;
align-items: center;
background: #40404d;
padding: 4px;
box-shadow: inset 20px 0px 20px 0px rgba(0, 0, 0, 0.05);
}
.modern-button__content {
display: flex;
flex-direction: column;
justify-content: center;
gap: 2px;
width: 100%;
padding: 8px 10px;
}
.modern-button__title {
font-size: 1.8em;
line-height: 1;
font-family: "Oswald";
}
.modern-button__subtext {
font-size: 0.8em;
}
.link-card {
display: inline-block;
position: relative;
border-radius: 0.3em;
transition: all 0.15s ease;
overflow: hidden;
min-width: 110px;
text-align: center;
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.35);
border: 1px outset rgb(0 0 0 / 30%);
}
.link-card__image {
padding: 6px;
}
.link-card__name {
background: #00000040;
padding: 2px 4px;
font-size: 0.8em;
width: 100%;
box-sizing: border-box;
}
@media (max-width: 800px) {
.link-card {
display: flex;
width: 100%;
text-align: left;
}
.link-card__name {
background: #00000020;
padding: 4px 6px;
font-size: 0.9em;
display: flex;
align-items: center;
}
.link-card__image {
padding: 4px;
}
}
.serverStatusFrame {
display: flex;
flex-direction: column;
color: lightgrey;
}
.serverTitle {
font-size: 18px;
color: lightgrey;
text-align: center;
margin: 0;
padding: 4px 8px;
border-radius: 0.3em 0.3em 0 0;
border-bottom: 3px solid #00000045 !important;
}
.serverInfo {
padding: 6px;
border-radius: 0 0 0.3em 0.3em;
box-shadow: inset 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
}
serverInfo > div {
margin-bottom: 3px;
}
.serverInfo div[class*="Set"] {
font-size: 14px;
}
.progressBarContainer {
width: 100%;
background-color: rgba(150, 150, 150, 0.5);
border-radius: 5px;
overflow: hidden;
margin-top: 3px;
}
.progressBar {
background-color: rgba(100, 200, 100, 0.8);
height: 15px;
transition: width 0.3s;
}
.percentageDisplay {
text-align: right;
font-size: 12px;
color: lightgrey;
}
.copy-icon {
cursor: pointer;
}
.serverConnectContainer {
display: flex;
align-items: flex-start;
margin-top: 3px;
min-height: calc(3em + 5px);
}
.serverConnectSet {
margin-right: 1px;
flex-grow: 1;
overflow-wrap: break-word;
}
.mw-body {
background: #212126;
color: lightgrey;
border: black
}
.vector-menu-tabs li {
background: #212126
}
#mw-site-navigation .sidebar-chunk,#mw-site-navigation .sidebar-chunk,#mw-related-navigation .sidebar-chunk,body.skin--responsive .portlet,body.skin--responsive .pBody {
background: #212126;
color: lightgrey;
border-color: #1b1b1f;
border: 1px solid black;
border-radius: 1.4rem
}
.wikiEditor-ui-toolbar .tabs span.tab a.current,.wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
color: #151518;
font-weight: bold
}
.wikiEditor-ui .wikiEditor-ui-top {
border-bottom: 1px solid #37373e
}
.wikiEditor-ui .wikiEditor-ui-view {
border: 1px solid #37373e
}
.editOptions,.mw-editform .editOptions {
background: #212126;
border: 1px solid #37373e;
color: white
}
#mw-header-nav-hack {
border-top: solid 2px #212126 !important;
display: block;
position: absolute;
z-index: 98;
background: #212126 !important;
width: 100%
}
.ui-widget-overlay {
background: #000000 !important;
opacity: .3 !important
}
.ui-widget-content {
border: 1px solid #4a4a57 !important;
background: #212126 !important;
color: #e0e0e0 !important
}
.mw-json tr {
background-color: #212126;
margin-bottom: 0.5em
}
