MediaWiki:Citizen.css:修订间差异

MediaWiki界面页面
(稍微修改一下)
无编辑摘要
第1行: 第1行:
.skin-citizen-light .welcomeec {
.ec-card {
width: 100%;
    --ec-card-image-width: 100px;
font-size: 80%;
    border-radius: var(--ec-mainpage-border-radius);
margin: 0 auto;
    background: var(--color-surface-0);
border-radius: 5px;
    position: relative;
background-color: #f9fafb;
}
}


.skin-citizen-dark .welcomeec {
.ec-card:has(.ec-card--image, .ec-card--content) {
background-color: #1e2830;
    display: flex;
}
}


/*.skin-citizen-dark .info-class {
.ec-card .ec-card--image {
filter: invert(1) hue-rotate(180deg);
    display: flex;
}*/
    justify-content: center;
    align-items: center;
    width: var(--ec-card-image-width);
}
 
.ec-card .ec-card--image img {
    display: block;
    border-radius: calc(var(--ec-mainpage-border-radius) / 2);
}
 
.ec-card .ec-card--content {
    width: calc(100% - var(--ec-card-image-width));
    padding: var(--ec-mainpage-padding);
}
 
.ec-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--ec-mainpage-gap);
}
 
.ec-header {
    filter: drop-shadow(1px 2px 4px rgba(0, 0, 0, .6));
}
 
.ec-header .ec-header__title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--ec-mainpage-gap);
    user-select: none;
    -webkit-user-select: none;
}
 
.ec-header .ec-header__title .ec-header__logo img {
    display: block;
    width: 76px;
    height: 76px;
}
 
.ec-header .ec-header__title .ec-header__wordmark {
    color: transparent;
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 0.0625rem;
    background: repeating-linear-gradient(180deg, rgb(245, 144, 0), rgb(254, 254, 116), rgb(77, 202, 15));
    background-clip: text;
    -webkit-background-clip: text;
}
 
.ec-navigation .ec-navigation-intro {
    font-size: 14px;
    width: 100%;
    background: rgba(0, 0, 0, .1);
    border: 1px solid var(--border-color-base);
    border-radius: var(--ec-mainpage-border-radius);
    backdrop-filter: saturate(250%) blur(16px);
    -webkit-backdrop-filter: saturate(250%) blur(16px);
    overflow: hidden;
    margin-bottom: var(--ec-mainpage-gap);
}
 
.ec-navigation .ec-navigation-intro .ec-card--content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
 
.ec-navigation .ec-navigation-intro .ec-navigation-intro__title {
    color: var(--color-base--emphasized);
    font-size: 16px;
}
 
.ec-navigation .ec-navigation-intro ul {
    font-size: 13px;
    margin: 0 0 0 var(--space-lg);
}
 
.ec-navigation .ec-navigation-quote {
    width: fit-content;
    padding: 0 26px;
    margin: 0 auto;
}
 
.ec-navigation .ec-navigation-quote__saying {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    color: var(--color-base--emphasized);
    font-size: 20px;
    font-family: serif;
    text-align: justify;
    position: relative;
    margin-bottom: 10px;
}
 
.ec-navigation .ec-navigation-quote__saying::before,
.ec-navigation .ec-navigation-quote__saying::after {
    display: block;
    height: 36px;
    font-size: 58px;
    font-family: sans-serif;
    position: absolute;
}


.mask {
.ec-navigation .ec-navigation-quote__saying::before {
color: #000000;
    content: '“';
background-color: #000000;
    color: #f59000;
transition: color 100ms ease;
    top: -20px;
    right: 100%;
}
}


.mask:hover {
.ec-navigation .ec-navigation-quote__saying::after {
color: #fff;
    content: '”';
    color: #4dca0f;
    left: 100%;
    bottom: -10px;
}
}


.flexdiv {
.ec-navigation .ec-navigation-quote__author {
display: flex;
    color: var(--color-base--subtle);
flex-wrap: wrap;
    font-size: 13px;
    text-align: right;
 
    width: fit-content;
.wikibox,
    margin-left: auto;
.wikibox2,
    margin-right: 16px;
.wikibox3 { 
    position: relative;
width: 100%;
padding: 10px;
box-sizing: border-box;
}
}
@media (min-width: 721px) {
.wikibox { 
width: calc(100% / 3); 
}


.wikibox2 {
.ec-navigation .ec-navigation-quote__author::before {
width: calc(100% / 3 * 2);
    content: '——';
}
    margin-right: 8px;
}


.wikibox3 {
.ec-navigation .ec-navigation-quote__author::after {
width: calc(100% / 2);
    content: '';
    position: absolute;
}  
    top: 50%;
    left: 32px;
    right: 0;
    bottom: 5px;
    background: var(--background-color-destructive);
}


@media (max-width: 720px) {
.ec-container {
.wikibox,
    display: grid;
.wikibox2,
    grid-template-columns: repeat(3, 1fr);
.wikibox3 { 
    grid-gap: var(--ec-mainpage-gap);
width: 100%;
}
}


.page-首页 .mw-body-header,
.ec-container .ec-container-card {
.page-首页 .page-info,
    border: 1px solid var(--ec-container-card-main-color);
.page-首页 .cs-comments,
    overflow: hidden;
.page-IndexTest .mw-body-header,
    max-height: 800px;
.page-IndexTest .page-info,
.page-IndexTest .cs-comments {
display: none;
}
}


.page-首页 .banner-image,
.ec-container .ec-container-card__title {
.page-IndexTest .banner-image {
    color: #fff;
--banner-image-url: url("http://wiki.easecation.net/images/1/1f/Background.jpg");
    font-size: 22px;
--banner-image-height: 70vh;
    text-align: center;
background-image: linear-gradient(to top, var(--color-surface-0) 15%, transparent 150%), var(--banner-image-url);
    font-weight: bold;
background-size: cover;
    padding: calc(var(--ec-mainpage-padding) / 2) var(--ec-mainpage-padding);
background-position: top;
    background: var(--ec-container-card-main-color);
height: var(--banner-image-height);
    height: 46px;
margin-bottom: calc(-1 * var(--banner-image-height));
}
}


.mw-message-box-warning {
.ec-container .ec-container-card__title img {
backdrop-filter: saturate(125%) blur(16px);
    width: auto;
-webkit-backdrop-filter: saturate(125%) blur(16px);
    height: 38px;
}
 
.ec-container .ec-container-card__content {
    background: rgba(255, 255, 255, .3);
    backdrop-filter: saturate(150%) blur(16px);
    -webkit-backdrop-filter: saturate(150%) blur(16px);
    height: calc(100% - 46px);
}
 
.ec-container .ec-container-welcome {
    --ec-container-card-welcome-desc-width: 160px;
    --ec-container-card-welcome-image-width: 60px;
    --ec-container-card-welcome-item-line-color: #FF96C9;
}
 
.ec-container .ec-container-card-grid {
    display: grid;
    grid-gap: var(--ec-mainpage-padding);
    padding: var(--ec-mainpage-padding);
}
 
.ec-container .ec-container-card-grid.ec-container-card-grid--col1 {
    grid-template-columns: repeat(1, 1fr);
}
 
.ec-container .ec-container-card-grid.ec-container-card-grid--col2 {
    grid-template-columns: repeat(2, 1fr);
}
 
.ec-container .ec-container-card-grid.ec-container-card-grid--col3 {
    grid-template-columns: repeat(3, 1fr);
}
 
.ec-container .ec-container-card-gridItem.ec-container-card-gridItem--colspan2 {
    grid-column: span 2;
}
 
.ec-container .ec-container-card-gridItem.ec-container-card-gridItem--colspan3 {
    grid-column: span 3;
}
 
.ec-container .ec-container-card-gridItem {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
    gap: var(--ec-mainpage-gap);
}
 
.ec-container .ec-container-card-gridItem__image img {
    display: block;
    width: 60px;
    height: auto;
    border-radius: calc(var(--ec-mainpage-border-radius) / 2);
    filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, .1));
}
 
.ec-container .ec-container-card-gridItem__title {
    text-align: center;
}
 
.ec-container .ec-container-welcome-group {
    display: flex;
    flex-direction: column;
}
 
.ec-container .ec-container-welcome-item {
    display: flex;
    align-items: center;
    gap: var(--ec-mainpage-gap);
    width: 100%;
    padding: calc(var(--ec-mainpage-padding) / 2) var(--ec-mainpage-padding);
    border-bottom: 2px solid var(--ec-container-card-welcome-item-line-color);
}
 
.ec-container .ec-container-welcome-item:last-child {
    border-bottom: unset;
}
 
.ec-container .ec-container-welcome-item.ec-container-welcome-item-siteinfo {
    background: var(--background-color-quiet--hover);
}
 
.ec-container .ec-container-welcome-item.ec-container-welcome-item-siteinfo .ec-container-welcome-item__content > * {
    display: block;
}
 
.ec-container .ec-container-welcome-item.ec-container-welcome-item-siteinfo .ec-container-welcome-item-siteinfo__title {
    color: var(--color-base--emphasized);
    font-size: 18px;
    font-weight: bold;
}
 
.ec-container .ec-container-welcome-item.ec-container-welcome-item-siteinfo .ec-container-welcome-item-siteinfo__desc {
    color: var(--color-base);
    font-size: 12px;
    letter-spacing: 0.75px;
}
 
.ec-container .ec-container-welcome-item--reverse {
    flex-direction: row-reverse;
}
 
.ec-container .ec-container-welcome-item__desc {
    display: flex;
    justify-content: center;
    gap: var(--ec-mainpage-gap);
    width: var(--ec-container-card-welcome-desc-width);
}
 
.ec-container .ec-container-welcome-item__descItem {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: var(--ec-mainpage-gap);
}
 
.ec-container .ec-container-welcome-item__image img {
    display: block;
    width: var(--ec-container-card-welcome-image-width);
    height: auto;
    border-radius: calc(var(--ec-mainpage-border-radius) / 2);
    filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, .3));
}
 
.ec-container .ec-container-welcome-item__title {
    text-align: center;
}
 
.ec-container .ec-container-welcome-item__content {
    text-align: justify;
    width: calc(100% - var(--ec-container-card-welcome-desc-width));
}
 
.ec-container .ec-container-rules .ec-container-card-gridItem--wrapper {
    grid-column: span 3;
    display: flex;
    justify-content: center;
    gap: calc(var(--ec-mainpage-gap) * 3);
}
 
.ec-container .ec-container-pages .ec-container-card-gridItem--colspan3 img {
    width: 100%;
}
 
.ec-container .ec-container-news .ec-container-card__content {
    background: rgba(0, 0, 0, .8);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
 
.ec-container .ec-container-news .ec-container-news__title {
    color: #fff;
    font-size: 20px;
    text-align: center;
}
 
.ec-container .ec-container-news .ec-container-news__title .emphasized {
    color: transparent;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0.0625rem;
    background: repeating-linear-gradient(180deg, rgb(245, 144, 0), rgb(254, 254, 116), rgb(77, 202, 15));
    background-clip: text;
    -webkit-background-clip: text;
}
 
.ec-container .ec-container-news .ec-container-news__invite {
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    text-align: center;
}
 
.ec-container .ec-container-link .ec-container-card__content {
    display: flex;
    justify-content: center;
    align-items: center;
}
 
.ec-container .ec-container-special .ec-container-card-gridItem--colspan3 img {
    width: 100%;
}
 
.ec-container .ec-container-editnow .ec-container-card__label {
    text-align: center;
}
 
.ec-container-recentchanged .ec-container-card__content {
    overflow-y: auto;
}
 
.ec-container-recentchanged .mw-changeslist h4 {
    padding: var(--space-sm);
    margin: 0;
}
 
.ec-container-recentchanged .mw-changeslist-legend {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--background-color-overlay);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
 
.ec-container-recentchanged .mw-changeslist::before,
.ec-container-recentchanged .mw-changeslist-line::before,
.ec-container-recentchanged .mw-contributions-list li::before {
    content: none;
}
 
.ec-container-recentchanged .mw-changeslist-line,
.ec-container-recentchanged .mw-contributions-list li {
    margin: 0 !important;
}
 
.ec-container-recentchanged table.mw-enhanced-rc td:nth-child(2) {
    display: none;
}
 
@media screen and (min-width: 1001px) {
    .ec-container .ec-container-welcome {
        grid-column: 1 / span 2;
        grid-row: 1 / span 5;
    }
 
    .ec-container .ec-container-rules {
        grid-column: 3;
        grid-row: 1 / span 2;
    }
 
    .ec-container .ec-container-docs {
        grid-column: 3;
        grid-row: 3 / span 2;
    }
   
    .ec-container .ec-container-pages {
        grid-column: 1;
        grid-row: 6 / span 3;
    }
 
    .ec-container .ec-container-news {
        grid-column: 1;
        grid-row: 9;
    }
 
    .ec-container .ec-container-link {
        grid-column: 1;
        grid-row: 10 / span 2;
    }
 
    .ec-container .ec-container-special {
        grid-column: 2;
        grid-row: 6 / span 3;
    }
 
    .ec-container .ec-container-editnow {
        grid-column: 2;
        grid-row: 9 / span 3;
    }
 
    .ec-container .ec-container-recentchanged {
        grid-column: 3;
        grid-row: 5 / span 5;
    }
}
 
@media screen and (max-width: 1000px) {
    .ec-header .ec-header__title {
        flex-direction: column;
        gap: 0;
    }
 
    .ec-header .ec-header__title .ec-header__wordmark {
        font-size: 32px;
    }
 
    .ec-container {
        grid-template-columns: repeat(1, 1fr);
    }
 
    .ec-container .ec-container-welcome {
        --ec-container-card-welcome-desc-width: 100%;
    }
 
    .ec-container .ec-container-welcome-item {
        flex-direction: column;
    }
 
    .ec-container .ec-container-welcome-item__content {
        width: 100%;
    }
}
}

2024年4月6日 (六) 02:25的版本

.ec-card {
    --ec-card-image-width: 100px;
    border-radius: var(--ec-mainpage-border-radius);
    background: var(--color-surface-0);
    position: relative;
}

.ec-card:has(.ec-card--image, .ec-card--content) {
    display: flex;
}

.ec-card .ec-card--image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--ec-card-image-width);
}

.ec-card .ec-card--image img {
    display: block;
    border-radius: calc(var(--ec-mainpage-border-radius) / 2);
}

.ec-card .ec-card--content {
    width: calc(100% - var(--ec-card-image-width));
    padding: var(--ec-mainpage-padding);
}

.ec-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--ec-mainpage-gap);
}

.ec-header {
    filter: drop-shadow(1px 2px 4px rgba(0, 0, 0, .6));
}

.ec-header .ec-header__title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--ec-mainpage-gap);
    user-select: none;
    -webkit-user-select: none;
}

.ec-header .ec-header__title .ec-header__logo img {
    display: block;
    width: 76px;
    height: 76px;
}

.ec-header .ec-header__title .ec-header__wordmark {
    color: transparent;
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 0.0625rem;
    background: repeating-linear-gradient(180deg, rgb(245, 144, 0), rgb(254, 254, 116), rgb(77, 202, 15));
    background-clip: text;
    -webkit-background-clip: text;
}

.ec-navigation .ec-navigation-intro {
    font-size: 14px;
    width: 100%;
    background: rgba(0, 0, 0, .1);
    border: 1px solid var(--border-color-base);
    border-radius: var(--ec-mainpage-border-radius);
    backdrop-filter: saturate(250%) blur(16px);
    -webkit-backdrop-filter: saturate(250%) blur(16px);
    overflow: hidden;
    margin-bottom: var(--ec-mainpage-gap);
}

.ec-navigation .ec-navigation-intro .ec-card--content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ec-navigation .ec-navigation-intro .ec-navigation-intro__title {
    color: var(--color-base--emphasized);
    font-size: 16px;
}

.ec-navigation .ec-navigation-intro ul {
    font-size: 13px;
    margin: 0 0 0 var(--space-lg);
}

.ec-navigation .ec-navigation-quote {
    width: fit-content;
    padding: 0 26px;
    margin: 0 auto;
}

.ec-navigation .ec-navigation-quote__saying {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    color: var(--color-base--emphasized);
    font-size: 20px;
    font-family: serif;
    text-align: justify;
    position: relative;
    margin-bottom: 10px;
}

.ec-navigation .ec-navigation-quote__saying::before,
.ec-navigation .ec-navigation-quote__saying::after {
    display: block;
    height: 36px;
    font-size: 58px;
    font-family: sans-serif;
    position: absolute;
}

.ec-navigation .ec-navigation-quote__saying::before {
    content: '“';
    color: #f59000;
    top: -20px;
    right: 100%;
}

.ec-navigation .ec-navigation-quote__saying::after {
    content: '”';
    color: #4dca0f;
    left: 100%;
    bottom: -10px;
}

.ec-navigation .ec-navigation-quote__author {
    color: var(--color-base--subtle);
    font-size: 13px;
    text-align: right;
    width: fit-content;
    margin-left: auto;
    margin-right: 16px;
    position: relative;
}

.ec-navigation .ec-navigation-quote__author::before {
    content: '——';
    margin-right: 8px;
}

.ec-navigation .ec-navigation-quote__author::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 32px;
    right: 0;
    bottom: 5px;
    background: var(--background-color-destructive);
}

.ec-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: var(--ec-mainpage-gap);
}

.ec-container .ec-container-card {
    border: 1px solid var(--ec-container-card-main-color);
    overflow: hidden;
    max-height: 800px;
}

.ec-container .ec-container-card__title {
    color: #fff;
    font-size: 22px;
    text-align: center;
    font-weight: bold;
    padding: calc(var(--ec-mainpage-padding) / 2) var(--ec-mainpage-padding);
    background: var(--ec-container-card-main-color);
    height: 46px;
}

.ec-container .ec-container-card__title img {
    width: auto;
    height: 38px;
}

.ec-container .ec-container-card__content {
    background: rgba(255, 255, 255, .3);
    backdrop-filter: saturate(150%) blur(16px);
    -webkit-backdrop-filter: saturate(150%) blur(16px);
    height: calc(100% - 46px);
}

.ec-container .ec-container-welcome {
    --ec-container-card-welcome-desc-width: 160px;
    --ec-container-card-welcome-image-width: 60px;
    --ec-container-card-welcome-item-line-color: #FF96C9;
}

.ec-container .ec-container-card-grid {
    display: grid;
    grid-gap: var(--ec-mainpage-padding);
    padding: var(--ec-mainpage-padding);
}

.ec-container .ec-container-card-grid.ec-container-card-grid--col1 {
    grid-template-columns: repeat(1, 1fr);
}

.ec-container .ec-container-card-grid.ec-container-card-grid--col2 {
    grid-template-columns: repeat(2, 1fr);
}

.ec-container .ec-container-card-grid.ec-container-card-grid--col3 {
    grid-template-columns: repeat(3, 1fr);
}

.ec-container .ec-container-card-gridItem.ec-container-card-gridItem--colspan2 {
    grid-column: span 2;
}

.ec-container .ec-container-card-gridItem.ec-container-card-gridItem--colspan3 {
    grid-column: span 3;
}

.ec-container .ec-container-card-gridItem {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
    gap: var(--ec-mainpage-gap);
}

.ec-container .ec-container-card-gridItem__image img {
    display: block;
    width: 60px;
    height: auto;
    border-radius: calc(var(--ec-mainpage-border-radius) / 2);
    filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, .1));
}

.ec-container .ec-container-card-gridItem__title {
    text-align: center;
}

.ec-container .ec-container-welcome-group {
    display: flex;
    flex-direction: column;
}

.ec-container .ec-container-welcome-item {
    display: flex;
    align-items: center;
    gap: var(--ec-mainpage-gap);
    width: 100%;
    padding: calc(var(--ec-mainpage-padding) / 2) var(--ec-mainpage-padding);
    border-bottom: 2px solid var(--ec-container-card-welcome-item-line-color);
}

.ec-container .ec-container-welcome-item:last-child {
    border-bottom: unset;
}

.ec-container .ec-container-welcome-item.ec-container-welcome-item-siteinfo {
    background: var(--background-color-quiet--hover);
}

.ec-container .ec-container-welcome-item.ec-container-welcome-item-siteinfo .ec-container-welcome-item__content > * {
    display: block;
}

.ec-container .ec-container-welcome-item.ec-container-welcome-item-siteinfo .ec-container-welcome-item-siteinfo__title {
    color: var(--color-base--emphasized);
    font-size: 18px;
    font-weight: bold;
}

.ec-container .ec-container-welcome-item.ec-container-welcome-item-siteinfo .ec-container-welcome-item-siteinfo__desc {
    color: var(--color-base);
    font-size: 12px;
    letter-spacing: 0.75px;
}

.ec-container .ec-container-welcome-item--reverse {
    flex-direction: row-reverse;
}

.ec-container .ec-container-welcome-item__desc {
    display: flex;
    justify-content: center;
    gap: var(--ec-mainpage-gap);
    width: var(--ec-container-card-welcome-desc-width);
}

.ec-container .ec-container-welcome-item__descItem {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: var(--ec-mainpage-gap);
}

.ec-container .ec-container-welcome-item__image img {
    display: block;
    width: var(--ec-container-card-welcome-image-width);
    height: auto;
    border-radius: calc(var(--ec-mainpage-border-radius) / 2);
    filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, .3));
}

.ec-container .ec-container-welcome-item__title {
    text-align: center;
}

.ec-container .ec-container-welcome-item__content {
    text-align: justify;
    width: calc(100% - var(--ec-container-card-welcome-desc-width));
}

.ec-container .ec-container-rules .ec-container-card-gridItem--wrapper {
    grid-column: span 3;
    display: flex;
    justify-content: center;
    gap: calc(var(--ec-mainpage-gap) * 3);
}

.ec-container .ec-container-pages .ec-container-card-gridItem--colspan3 img {
    width: 100%;
}

.ec-container .ec-container-news .ec-container-card__content {
    background: rgba(0, 0, 0, .8);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ec-container .ec-container-news .ec-container-news__title {
    color: #fff;
    font-size: 20px;
    text-align: center;
}

.ec-container .ec-container-news .ec-container-news__title .emphasized {
    color: transparent;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0.0625rem;
    background: repeating-linear-gradient(180deg, rgb(245, 144, 0), rgb(254, 254, 116), rgb(77, 202, 15));
    background-clip: text;
    -webkit-background-clip: text;
}

.ec-container .ec-container-news .ec-container-news__invite {
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    text-align: center;
}

.ec-container .ec-container-link .ec-container-card__content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ec-container .ec-container-special .ec-container-card-gridItem--colspan3 img {
    width: 100%;
}

.ec-container .ec-container-editnow .ec-container-card__label {
    text-align: center;
}

.ec-container-recentchanged .ec-container-card__content {
    overflow-y: auto;
}

.ec-container-recentchanged .mw-changeslist h4 {
    padding: var(--space-sm);
    margin: 0;
}

.ec-container-recentchanged .mw-changeslist-legend {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--background-color-overlay);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.ec-container-recentchanged .mw-changeslist::before,
.ec-container-recentchanged .mw-changeslist-line::before,
.ec-container-recentchanged .mw-contributions-list li::before {
    content: none;
}

.ec-container-recentchanged .mw-changeslist-line,
.ec-container-recentchanged .mw-contributions-list li {
    margin: 0 !important;
}

.ec-container-recentchanged table.mw-enhanced-rc td:nth-child(2) {
    display: none;
}

@media screen and (min-width: 1001px) {
    .ec-container .ec-container-welcome {
        grid-column: 1 / span 2;
        grid-row: 1 / span 5;
    }

    .ec-container .ec-container-rules {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .ec-container .ec-container-docs {
        grid-column: 3;
        grid-row: 3 / span 2;
    }
    
    .ec-container .ec-container-pages {
        grid-column: 1;
        grid-row: 6 / span 3;
    }

    .ec-container .ec-container-news {
        grid-column: 1;
        grid-row: 9;
    }

    .ec-container .ec-container-link {
        grid-column: 1;
        grid-row: 10 / span 2;
    }

    .ec-container .ec-container-special {
        grid-column: 2;
        grid-row: 6 / span 3;
    }

    .ec-container .ec-container-editnow {
        grid-column: 2;
        grid-row: 9 / span 3;
    }

    .ec-container .ec-container-recentchanged {
        grid-column: 3;
        grid-row: 5 / span 5;
    }
}

@media screen and (max-width: 1000px) {
    .ec-header .ec-header__title {
        flex-direction: column;
        gap: 0;
    }

    .ec-header .ec-header__title .ec-header__wordmark {
        font-size: 32px;
    }

    .ec-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .ec-container .ec-container-welcome {
        --ec-container-card-welcome-desc-width: 100%;
    }

    .ec-container .ec-container-welcome-item {
        flex-direction: column;
    }

    .ec-container .ec-container-welcome-item__content {
        width: 100%;
    }
}