MediaWiki:Common.css: различия между версиями

Материал из Румайн-вики
(спойлер)
Нет описания правки
Строка 201: Строка 201:
--pi-secondary-background: #1d252d;
--pi-secondary-background: #1d252d;
--pi-border-color: #383c4c;
--pi-border-color: #383c4c;
--spoiler-header-background: black;
--spoiler-background: transparent;
--spoiler-border: transparent;
}
}
.skin-citizen-light{
.skin-citizen-light{
Строка 206: Строка 210:
--pi-secondary-background: gainsboro;
--pi-secondary-background: gainsboro;
--pi-border-color: silver;
--pi-border-color: silver;
--spoiler-header-background: black;
--spoiler-background: transparent;
--spoiler-border: transparent;
}
}
.skin-timeless{
.skin-timeless{
Строка 211: Строка 219:
--pi-secondary-background: gainsboro;
--pi-secondary-background: gainsboro;
--pi-border-color: silver;
--pi-border-color: silver;
--spoiler-header-background: black;
--spoiler-background: transparent;
--spoiler-border: transparent;
}
}
.pi-header p{
.pi-header p{
Строка 292: Строка 304:
margin: 12px 0;
margin: 12px 0;
border-radius: 2px;
border-radius: 2px;
border: 1px solid #aa6e00;
background-color: var(spoiler-background);
border: 1px solid var(spoiler-border-color);
}
}
.spoiler-header{
.spoiler-header{
font-size: 1em;
font-size: 1em;
padding: 12px;
padding: 12px;
background-color: #303030;
background-color: var(spoiler-header-background);
font-weight: 600;
font-weight: 600;
}
}

Версия от 00:15, 10 февраля 2022

/* Пока без лого */
#p-logo{
	display: none;
}

.table-chates{
    border: 1px solid rgb(20, 20, 20);
    border-collapse: collapse;
}
    .table-chates .tr-add{
        border-top: 1px solid rgb(48, 48, 48);
        border-bottom: 1px solid rgb(64, 64, 64);
    }
        .table-chates .tr-add .td-descr{
            text-align: left;
            vertical-align: text-top;
            font-size:14px;
        }
    .table-chates tr:hover{
        background: rgb(30, 30, 30);
        cursor: pointer;
    }
    .table-chates .tr-add:hover{
        background: transparent;
        cursor: default;

    }
    .table-chates th{
        background: rgb(30, 30, 30);
        font-size: 18px;
        padding: 5px 15px 5px 15px;
    }
    .table-chates td{
        font-size: 16px;
        padding: 8px 10px 8px 10px;
        text-align: center;
    }

.WikiaArticle h5{
    font-size:16px;
}

.WikiaArticle .picture-attribution {
	display:none;
}

.WikiaArticle pre {
background-color: #262626;
border: 1px solid #5b5b5b;
line-height: 14px;
overflow: auto;
padding: 12px;
word-wrap: normal;
filter: alpha(opacity=50);
}
.WikiaArticle .toc {
border: 1px solid #3F3F3F;
border-left:2px solid orange;
}
.squareColor{
display:inline-block;
margin-right:5px;
height:8px;
width:8px;
background-color:#FFFFFF;
}

.WikiaArticle a.new { color:#ff9392; }
.WikiaArticle a.new:visited { color:#ff9392; }


table.collapsed tr.collapsible {
	display: none;
}


/* Желтые ссылки, отключены */
/*a:visited:hover {*/
/*  color: #F8E897; */
/*  text-shadow: #F8E897 0 0 5px;*/
/*  text-decoration:none;*/
/*}*/
 
a:hover {
  color: #c79989;
  text-decoration: none;
}
a:visited:hover{
  color: #c79989;
  text-decoration: none;
}


/* Дизайн навибоксов */
.nav-box{
	width: 100%;
	margin: 5px 0;
	
	border: 1px solid transparent;
	border-collapse: collapse;
	border-radius: 2px;
}
.nav-box-header{
	border-radius:1px;
	border:1px solid transparent;
	
	text-align: center;
	
	padding: 6px;
	font-size: 1.25em;
}
.nav-box-name{
	width: 20%;
	border: 1px solid transparent;
	text-align: center;
	padding: 5px;
	font-size: 14px;
}
.nav-box-list{
	line-height: 2;
	padding: 5px 10px;
	font-size: 14px;
}
.nav-box-list p, .nav-box-name p, .nav-box-header p{
	margin-bottom: 1px;
	margin-top: 1px;
}

.skin-timeless .nav-box{
	border-color: gray;
	color: #111111;
}
.skin-citizen-light .nav-box{
	border-color: gray;
	color: #111111;
}
.skin-citizen-dark .nav-box{
	border-color: #383c4c;
}

.skin-timeless .nav-box-header{
	background-color: silver;
	border-color: gray;
}
.skin-citizen-light .nav-box-header{
	background-color: silver;
	border-color: gray;
}
.skin-citizen-dark .nav-box-header{
	background-color: #171e25;
	border-color: #383c4c;
}

.skin-timeless .nav-box-name{
	background-color: gainsboro;
	border-color: gray;
	color: #111111;
}
.skin-citizen-light .nav-box-name{
	background-color: gainsboro;
	border-color: gray;
	color: #111111;
}
.skin-citizen-dark .nav-box-name{
	background-color: #1d252d;
	border-color: #383c4c;
}

.skin-timeless a.mw-selflink{
	
}
.skin-citizen-light a.mw-selflink{
	
}
.skin-citizen-dark a.mw-selflink{
	color: #c97a5c;
}

.skin-timeless .nav-box-list{
	color: #111111;
}
.skin-citizen-light .nav-box-list{
	color: #111111;
}
.skin-citizen-dark .nav-box-list{
	
}

.skin-timeless .nav-box-category{
	color: black;
}
.skin-citizen-light .nav-box-category{
	color: black;
}
.skin-citizen-dark .nav-box-category{
	color: #dadada;
}

.skin-citizen-dark{
	--pi-background: #171e26;
	--pi-secondary-background: #1d252d;
	--pi-border-color: #383c4c;
	
	--spoiler-header-background: black;
	--spoiler-background: transparent;
	--spoiler-border: transparent;
}
.skin-citizen-light{
	--pi-background: whitesmoke;
	--pi-secondary-background: gainsboro;
	--pi-border-color: silver;
	
	--spoiler-header-background: black;
	--spoiler-background: transparent;
	--spoiler-border: transparent;
}
.skin-timeless{
	--pi-background: whitesmoke;
	--pi-secondary-background: gainsboro;
	--pi-border-color: silver;
	
	--spoiler-header-background: black;
	--spoiler-background: transparent;
	--spoiler-border: transparent;
}
.pi-header p{
	margin: 0.5em 0;
}
.skin-citizen-light .pi-header > p{
	text-align: center;
	background-color: var(pi-secondary-background);
}
.skin-citizen-dark .pi-header > p{
	text-align: center;
	background-color: var(pi-secondary-background);
}

/* Дизайн инфобоксов */
.pi-theme-User {
    /*background-color:#3D3D3D*/
}
.pi-theme-User .pi-secondary-background,
.pi-theme-User .pi-title {
    text-align:center;
    /*background-color:#171717*/
}

.portable-infobox .pi-title{
	/*--pi-secondary-background: #101010;*/
}
.portable-infobox .pi-header{
	/*--pi-secondary-background: #1a1a1a;*/
}

/* светлая */
.portable-infobox .pi-title{
	/*--pi-secondary-background: #3d5159;*/
}
.portable-infobox .pi-header{
	/*--pi-secondary-background: #4d7080;*/
}



/* Дизайн информационных плашек */
.plate{
	display: flex;
	align-items: center;
	
	background-color:#303030;
	border: 1px solid #aa6e00;
	border-radius: 2px;
	
	width: 95%;
	padding: 0.5em 1em;
	margin: auto;
	margin-top: 1em;
	margin-bottom: 1em;
}
.plate-img{
	
}
.plate-text{
	margin-left: 5px;
}
.plate-text-header{
	font-size: 1.2em;
}
.skin-timeless .plate{
	background-color:whitesmoke;
	border-color: #aa6e00;
}
.skin-citizen-light .plate{
	background-color:whitesmoke;
	border-color: #aa6e00;
}
.skin-citizen-dark .plate{
	background-color:#1e242a;
	border-color: #aa6e00;
}

.spoiler{
	width: 100%;
	margin: 12px 0;
	border-radius: 2px;
	background-color: var(spoiler-background);
	border: 1px solid var(spoiler-border-color);
}
.spoiler-header{
	font-size: 1em;
	padding: 12px;
	background-color: var(spoiler-header-background);
	font-weight: 600;
}
.spoiler-content{
	padding: 10px;
}