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

Материал из Румайн-вики
(Перенос CSS в Common)
(Стандартная светлая тема)
Строка 118: Строка 118:


/* Дизайн навибоксов */
/* Дизайн навибоксов */
.nav-box{
.dark-theme .nav-box{
width: 100%;
width: 100%;
margin: 5px 0;
margin: 5px 0;
Строка 127: Строка 127:
}
}


.theme-fandomdesktop-light .nav-box{
.nav-box{
border-color: gray;
border-color: gray;
color: #111111;
color: #111111;
}
}


.nav-box-header{
.dark-theme .nav-box-header{
background-color:#1C1C1C;
background-color:#1C1C1C;
border-radius:1px;
border-radius:1px;
Строка 142: Строка 142:
font-size: 1.25em;
font-size: 1.25em;
}
}
.theme-fandomdesktop-light .nav-box-header{
.nav-box-header{
background-color: silver;
background-color: silver;
border-color: gray;
border-color: gray;
Строка 149: Строка 149:




.nav-box-name{
.dark-theme .nav-box-name{
background-color:#2A2A2A;
background-color:#2A2A2A;
Строка 159: Строка 159:
font-size: 14px;
font-size: 14px;
}
}
.theme-fandomdesktop-light .nav-box-name{
.nav-box-name{
background-color: gainsboro;
background-color: gainsboro;
border-color: gray;
border-color: gray;
Строка 174: Строка 174:
margin-bottom: 1px;
margin-bottom: 1px;
}
}
.theme-fandomdesktop-light .nav-box-list{
.nav-box-list{
color: #111111;
color: #111111;
}
}


.nav-box-category{
.dark-theme .nav-box-category{
color: #d7bf4a;
color: #d7bf4a;
}
}
.theme-fandomdesktop-light .nav-box-category{
.nav-box-category{
color: black;
color: black;
}
}

Версия от 19:13, 9 февраля 2022

.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; }

.pi-theme-User {
    background-color:#3D3D3D
}

.pi-theme-User .pi-secondary-background,
.pi-theme-User .pi-title {
    text-align:center;
    background-color:#171717
}

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



/*Allexx.Sn*/
a[href="http://ru.ru-minecraft.wikia.com/wiki/%D0%A3%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA:Allexx.Sn"],
a[href="/wiki/%D0%A3%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA:Allexx.Sn"],
a[href="http://ru.ru-minecraft.wikia.com/wiki/%D0%A1%D1%82%D0%B5%D0%BD%D0%B0_%D0%BE%D0%B1%D1%81%D1%83%D0%B6%D0%B4%D0%B5%D0%BD%D0%B8%D1%8F:Allexx.Sn"],
a[href="/wiki/%D0%A1%D1%82%D0%B5%D0%BD%D0%B0_%D0%BE%D0%B1%D1%81%D1%83%D0%B6%D0%B4%D0%B5%D0%BD%D0%B8%D1%8F:Allexx.Sn"],

a[href="http://ru.elderscrolls.wikia/wiki/%D0%A1%D1%82%D0%B5%D0%BD%D0%B0_%D0%BE%D0%B1%D1%81%D1%83%D0%B6%D0%B4%D0%B5%D0%BD%D0%B8%D1%8F:Langueborg"]
{color:#FFCC00 !important;}

/*Naswai*/
a[href="http://ru.ru-minecraft.wikia.com/wiki/%D0%A3%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA:Naswai"],
a[href="/wiki/%D0%A3%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA:Naswai"],
a[href="http://ru.ru-minecraft.wikia.com/wiki/%D0%A1%D1%82%D0%B5%D0%BD%D0%B0_%D0%BE%D0%B1%D1%81%D1%83%D0%B6%D0%B4%D0%B5%D0%BD%D0%B8%D1%8F:Naswai"],
a[href="/wiki/%D0%A1%D1%82%D0%B5%D0%BD%D0%B0_%D0%BE%D0%B1%D1%81%D1%83%D0%B6%D0%B4%D0%B5%D0%BD%D0%B8%D1%8F:Naswai"],

a[href="http://ru.elderscrolls.wikia/wiki/%D0%A1%D1%82%D0%B5%D0%BD%D0%B0_%D0%BE%D0%B1%D1%81%D1%83%D0%B6%D0%B4%D0%B5%D0%BD%D0%B8%D1%8F:Langueborg"]
{color:#33CC00 !important;}

/*3JIou_Kpunep*/
a[href="http://ru.community.wikia.com/wiki/%D0%A3%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA:3JIou_Kpunep"],
a[href="/wiki/%D0%A3%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA:3JIou_Kpunep"],
a[href="/wiki/%D0%A1%D1%82%D0%B5%D0%BD%D0%B0_%D0%BE%D0%B1%D1%81%D1%83%D0%B6%D0%B4%D0%B5%D0%BD%D0%B8%D1%8F:3JIou_Kpunep"],
a[href="http://ru.community.wikia.com/wiki/%D0%A1%D1%82%D0%B5%D0%BD%D0%B0_%D0%BE%D0%B1%D1%81%D1%83%D0%B6%D0%B4%D0%B5%D0%BD%D0%B8%D1%8F:3JIou_Kpunep"] {color:#9C61FF !important;}

a[href="http://ru.elderscrolls.wikia/wiki/%D0%A1%D1%82%D0%B5%D0%BD%D0%B0_%D0%BE%D0%B1%D1%81%D1%83%D0%B6%D0%B4%D0%B5%D0%BD%D0%B8%D1%8F:Langueborg"]
{color:#7442c8 !important;}

a:visited:hover {
  color: #F8E897; 
  text-shadow: #F8E897 0 0 5px;
  text-decoration:none;
}
 
a:hover {
  color: #F8E897;
  text-shadow: #F8E897 0 0 5px;
  text-decoration:none;
}


/* Дизайн навибоксов */
.dark-theme .nav-box{
	width: 100%;
	margin: 5px 0;
	
	border: 1px solid black;
	border-collapse: collapse;
	border-radius: 2px;
}

.nav-box{
	border-color: gray;
	color: #111111;
}

.dark-theme .nav-box-header{
	background-color:#1C1C1C;
	border-radius:1px;
	border:1px solid black;
	
	text-align: center;
	
	padding: 6px;
	font-size: 1.25em;
}
.nav-box-header{
	background-color: silver;
	border-color: gray;
	color: #111111;
}


.dark-theme .nav-box-name{
	background-color:#2A2A2A;
	
	width: 20%;
	
	border: 1px solid black;
	text-align: center;
	padding: 5px;
	font-size: 14px;
}
.nav-box-name{
	background-color: gainsboro;
	border-color: gray;
	color: #111111;
}


.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;
}
.nav-box-list{
	color: #111111;
}

.dark-theme .nav-box-category{
	color: #d7bf4a;
}
.nav-box-category{
	color: black;
}


/* Дизайн инфобоксов */
.portable-infobox .pi-title{
	--pi-secondary-background: #101010;
}
.theme-fandomdesktop-light .portable-infobox .pi-title{
	--pi-secondary-background: #3d5159;
}

.portable-infobox .pi-header{
	--pi-secondary-background: #1a1a1a;
}
.theme-fandomdesktop-light .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;
}