(Updated.) Tag: Reverted |
Geekahedron (talk | contribs) (Modal window for TemplateData editor will appear above wikieditor ui toolbar) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
.mwe-popups-container { | .mwe-popups-container { | ||
background: var(--background-color-dp-02) !important; | background: var(--background-color-dp-02) !important; | ||
color: var(--color-base) !important; | color: var(--color-base)!important; | ||
} | } | ||
/* Makes wiki logo fully opaque rather than partially transparent */ | /* Makes wiki logo fully opaque rather than partially transparent */ | ||
.mw-logo-icon { | .mw-logo-icon { | ||
opacity: 1 !important; | opacity: 1.0 !important; | ||
} | } | ||
Line 23: | Line 23: | ||
background: var(--background-color-dp-02); | background: var(--background-color-dp-02); | ||
border-radius: 12px; | border-radius: 12px; | ||
border: 1px solid var(--border-color-base); | border: 1px solid var( --border-color-base ); | ||
padding: 10px 15px; | padding: 10px 15px; | ||
box-shadow: 0 3px 6px rgba(0, 0, 0, .04), 0 3px 6px rgba(0, 0, 0, .06); | box-shadow: 0 3px 6px rgba(0, 0, 0, 0.04), 0 3px 6px rgba(0, 0, 0, 0.06); | ||
} | } | ||
Line 31: | Line 31: | ||
margin-top: 3.2px; | margin-top: 3.2px; | ||
} | } | ||
.home-card h3 { | .home-card h3 { | ||
margin-top: 0; | margin-top: 0; | ||
} | } | ||
.home-card--col2 { | .home-card--col2 { | ||
grid-column: span 2; | grid-column: span 2; | ||
} | } | ||
.home-card--row2 { | .home-card--row2 { | ||
grid-row: span 2; | grid-row: span 2; | ||
} | } | ||
.home-card--row3 { | .home-card--row3 { | ||
grid-row: span 3; | grid-row: span 3; | ||
} | } | ||
.home-card--row4 { | .home-card--row4 { | ||
grid-row: span 4; | grid-row: span 4; | ||
} | } | ||
.home-card--atlas { | .home-card--atlas { | ||
background-image: url( | background-image: url(https://place-wiki.stefanocoding.me/thumb.php?f=FinalCanvas.png&width=600); | ||
background-position: center center; | background-position: center center; | ||
background-size: 100%; | background-size: 100%; | ||
Line 58: | Line 64: | ||
border-radius: 12px; | border-radius: 12px; | ||
} | } | ||
.home-card--atlas:hover { | .home-card--atlas:hover { | ||
background-size: 110%; | background-size: 110%; | ||
} | } | ||
.home-card-atlas-link { | .home-card-atlas-link { | ||
box-sizing: border-box; | box-sizing: border-box; | ||
Line 67: | Line 75: | ||
padding: 10px 15px; | padding: 10px 15px; | ||
font-weight: bold; | font-weight: bold; | ||
color: # | color: #fff; | ||
border-radius: 0 0 12px 12px; | border-radius: 0 0 12px 12px; | ||
display: flex; | display: flex; | ||
Line 73: | Line 81: | ||
background-image: linear-gradient(to top, rgb(0, 0, 0), rgba(0, 0, 0, 0)); | background-image: linear-gradient(to top, rgb(0, 0, 0), rgba(0, 0, 0, 0)); | ||
} | } | ||
.home-card--atlas a { | .home-card--atlas a { | ||
color: # | color: #fff; | ||
height: 100%; | height: 100%; | ||
width: 100%; | width: 100%; | ||
vertical-align: text-bottom; | vertical-align: text-bottom; | ||
} | } | ||
.home-editing--stats { | .home-editing--stats { | ||
display: flex; | display: flex; | ||
flex-direction: row; | flex-direction: row; | ||
} | } | ||
.home-stat { | .home-stat { | ||
flex-grow: 1; | flex-grow: 1; | ||
Line 88: | Line 99: | ||
flex-direction: column; | flex-direction: column; | ||
} | } | ||
.home-stat a { | .home-stat a { | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
.home-stat p { | .home-stat p { | ||
color: var(--color-base-subtle); | color: var(--color-base-subtle); | ||
} | } | ||
.home-card-discord { | .home-card-discord { | ||
color: # | color: #ffffff; | ||
text-align: center; | text-align: center; | ||
background: #5865F2; | background: #5865F2; | ||
border-radius:12px; | border-radius:12px; | ||
} | } | ||
.home-card-discord a { | .home-card-discord a { | ||
color: # | color: #ffffff; | ||
} | } | ||
.home-card-reddit { | .home-card-reddit { | ||
color: # | color: #ffffff; | ||
text-align: center; | text-align: center; | ||
background: #FF4500; | background: #FF4500; | ||
border-radius:12px; | border-radius:12px; | ||
} | } | ||
.home-card-patreon { | .home-card-patreon { | ||
color: # | color: #ffffff; | ||
text-align: center; | text-align: center; | ||
background: #FF6871; | background: #FF6871; | ||
border-radius:12px; | border-radius:12px; | ||
} | } | ||
.home-card-kofi { | .home-card-kofi { | ||
color: # | color: #ffffff; | ||
text-align: center; | text-align: center; | ||
background: #52D0FE; | background: #52D0FE; | ||
border-radius:12px; | border-radius:12px; | ||
} | } | ||
.home-social-link { | .home-social-link { | ||
color: # | color: #fff; | ||
font-weight: bold; | font-weight: bold; | ||
width:100%; | width:100%; | ||
Line 133: | Line 152: | ||
transition-timing-function: ease; | transition-timing-function: ease; | ||
} | } | ||
.home-social-link:hover { | .home-social-link:hover { | ||
transform:scale(1.1); | transform:scale(1.1); | ||
Line 147: | Line 167: | ||
color: var(--color-base--emphasized) !important; | color: var(--color-base--emphasized) !important; | ||
} | } | ||
.mw-createacct-benefits-container p { | .mw-createacct-benefits-container p { | ||
color: var(--color-base--subtle); | color: var(--color-base--subtle); | ||
Line 162: | Line 183: | ||
/* Make icons for editing and history appear properly */ | /* Make icons for editing and history appear properly */ | ||
.page-actions li:nth-child(2) > a | .page-actions li:nth-child(2) > a:after { | ||
background-image: url( | background-image: url(https://place-wiki.stefanocoding.me/images/e/e0/edit-button.svg); | ||
} | } | ||
.page-actions li:nth-child(3) > a | |||
background-image: url( | .page-actions li:nth-child(3) > a:after { | ||
background-image: url(https://place-wiki.stefanocoding.me/images/c/cf/history-button.svg); | |||
} | } | ||
Line 179: | Line 198: | ||
#pagehistory li { | #pagehistory li { | ||
padding: 10px 15px; | padding: 10px 15px; | ||
} | |||
/* Modal window for TemplateData editor will appear above wikieditor ui toolbar */ | |||
.oo-ui-windowManager-modal > .oo-ui-dialog.oo-ui-window-setup { | |||
z-index: 10; | |||
} | } |
Latest revision as of 14:05, 12 April 2022
/* CSS placed here will be applied to all skins */
/* Makes page previews use dark/light mode */
.mwe-popups-container {
background: var(--background-color-dp-02) !important;
color: var(--color-base)!important;
}
/* Makes wiki logo fully opaque rather than partially transparent */
.mw-logo-icon {
opacity: 1.0 !important;
}
/* Hide page header on main page */
body.page-Main_Page.action-view #siteSub,
body.page-Main_Page.action-submit #siteSub,
body.page-Main_Page.action-view h1,
body.page-Main_Page.action-submit h1{
display: none;
}
/* Styles for cards on home page */
.home-card {
background: var(--background-color-dp-02);
border-radius: 12px;
border: 1px solid var( --border-color-base );
padding: 10px 15px;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.04), 0 3px 6px rgba(0, 0, 0, 0.06);
}
.home-card p {
margin-top: 3.2px;
}
.home-card h3 {
margin-top: 0;
}
.home-card--col2 {
grid-column: span 2;
}
.home-card--row2 {
grid-row: span 2;
}
.home-card--row3 {
grid-row: span 3;
}
.home-card--row4 {
grid-row: span 4;
}
.home-card--atlas {
background-image: url(https://place-wiki.stefanocoding.me/thumb.php?f=FinalCanvas.png&width=600);
background-position: center center;
background-size: 100%;
transition: background-size .2s;
transition-timing-function: ease;
padding: 0;
display: flex;
align-items: end;
border: 0;
border-radius: 12px;
}
.home-card--atlas:hover {
background-size: 110%;
}
.home-card-atlas-link {
box-sizing: border-box;
height: 100%;
width: 100%;
padding: 10px 15px;
font-weight: bold;
color: #fff;
border-radius: 0 0 12px 12px;
display: flex;
align-items: end;
background-image: linear-gradient(to top, rgb(0, 0, 0), rgba(0, 0, 0, 0));
}
.home-card--atlas a {
color: #fff;
height: 100%;
width: 100%;
vertical-align: text-bottom;
}
.home-editing--stats {
display: flex;
flex-direction: row;
}
.home-stat {
flex-grow: 1;
display: flex;
flex-direction: column;
}
.home-stat a {
font-weight: bold;
}
.home-stat p {
color: var(--color-base-subtle);
}
.home-card-discord {
color: #ffffff;
text-align: center;
background: #5865F2;
border-radius:12px;
}
.home-card-discord a {
color: #ffffff;
}
.home-card-reddit {
color: #ffffff;
text-align: center;
background: #FF4500;
border-radius:12px;
}
.home-card-patreon {
color: #ffffff;
text-align: center;
background: #FF6871;
border-radius:12px;
}
.home-card-kofi {
color: #ffffff;
text-align: center;
background: #52D0FE;
border-radius:12px;
}
.home-social-link {
color: #fff;
font-weight: bold;
width:100%;
height: 100%;
display: flex;
justify-content: center;
align-content: center;
flex-direction: column;
transition: transform .2s;
transition-timing-function: ease;
}
.home-social-link:hover {
transform:scale(1.1);
}
/* Styles for user profiles */
#profile-top {
border-bottom: 0;
}
/* Adjust fonts and colors of statistics on account creation page */
.mw-createacct-benefits-container h3 {
font-family: Roboto, system-ui, -apple-system, -sans-serif !important;
color: var(--color-base--emphasized) !important;
}
.mw-createacct-benefits-container p {
color: var(--color-base--subtle);
}
/* Fix various issues with dark mode and image uploading */
/* Make background behind image title in upload dialog match user theme*/
.mw-upload-bookletLayout-filePreview {
background-color: var(--background-color-dp-24);
}
/* Make caption editor in image insert dialog match user theme */
.ve-ui-targetWidget:not(.oo-ui-pendingElement-pending) {
background-color: var(--color-surface-1);
}
/* Make icons for editing and history appear properly */
.page-actions li:nth-child(2) > a:after {
background-image: url(https://place-wiki.stefanocoding.me/images/e/e0/edit-button.svg);
}
.page-actions li:nth-child(3) > a:after {
background-image: url(https://place-wiki.stefanocoding.me/images/c/cf/history-button.svg);
}
/* Tweak appearance of page history */
#pagehistory {
border-radius: 16px;
border-color: var(--border-color-base);
}
#pagehistory li {
padding: 10px 15px;
}
/* Modal window for TemplateData editor will appear above wikieditor ui toolbar */
.oo-ui-windowManager-modal > .oo-ui-dialog.oo-ui-window-setup {
z-index: 10;
}