Что нового?
Turn Community

Привет. Регистрируйся и заходи, у нас много интересного!

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

Строка 44: Строка 44:
     position: absolute;
     position: absolute;
     left: 1em;
     left: 1em;
    padding: 0 10px;
}
}


Строка 55: Строка 56:
}
}


.mw-collapsible-toggle{
.wikitable.NPC .head-first {
padding: 0 10px;
    min-width: 360px;
}
}



Версия 17:35, 16 сентября 2021

/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.center{
	text-align: -webkit-center;
}
.tright{
    float: right;
    margin: 10px;
}
.tleft{
    float: left;
    margin: 10px;
}
.floatright {
    float: right;
    margin: 10px;
}
.floatleft {
    float: left;
    margin: 10px;
}
.wiki-content #mw-content-text table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow-x: auto;
    max-width: 100%;
    display: contents !important;
    border: 0 !important;
    padding: 0;
}

.wiki-content #mw-content-text table th {
	backdrop-filter: none !important;
}

.collapseButton {		/* 'show'/'hide' buttons created dynamically by the        */
	float: right;		/* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
	font-weight: normal;	/* are styled here so they can be customised.              */
	text-align: right;
	width: auto;
}

.wikitable.NPC .mw-collapsible-toggle {
    position: absolute;
    left: 1em;
    padding: 0 10px;
}

.wikitable.NPC {
    position: relative;
    margin-top: 0px;
}

.wikitable.NPC .head th p {
    display: none;
}

.wikitable.NPC .head-first {
    min-width: 360px;
}

/* CSS placed below this line will be applied only for the UniWiki Ship Database articles */
#ship-article
{
	background-color: #111111;
    color: #CCCCCC;
    font-family: sans-serif;
    font-size: 12.8px;
}

#ship-article h2
{
	border: medium none;
	color: #555555;
	font-family: trebuchet MS;
	font-size: 14px;
	font-variant: small-caps;
	margin-bottom: 5px;
	padding: 0;
	text-align: left;
}
#ship-article h2 .mw-headline
{
	color: #656565;
	display: inline-block;
	font-size: 16px;
	padding: 0 5px;
}
#ship-article .header
{
	height: 50px;
	padding: 0 10px;
	position: relative;
}
#ship-article .header .mask
{
	background-color: transparent;
	height: 50px;
	left: 0;
	position: absolute;
	top: 0;
	width: 605px;
}
#ship-article .header .headerbg
{
	margin-left: -10px;
	text-align: left;
	width: 605px;
}
#ship-article .header .dbtitle
{
	color: #C1B193;
	font-family: trebuchet MS;
	font-size: 11px;
	font-variant: small-caps;
	font-weight: normal;
	line-height: 15px;
	margin-left: -3px;
	position: absolute;
	top: 0;
}
#ship-article .header .shipname
{
	font-family: trebuchet MS;
	font-size: 30px;
	font-variant: small-caps;
	font-weight: bold;
	line-height: 30px;
	margin-left: -5px;
	position: absolute;
	top: 17px;
}
#ship-article .toc, #ship-article #toc
{
	border: 1px solid #272727;
	float: right;
	margin: 0 0 5px 10px;
	width: 200px;
}
#ship-article .toc ul
{
	
}
#ship-article .toc li
{
	line-height: 15px;
	margin-bottom: 0;
}
#ship-article .toc a
{
	color: #B89964;
	font-size: 11px;
	line-height: 15px;
}
#ship-article .breadcrumbs
{
	background-color: black;
	border-bottom: 1px solid #2D2413;
	border-top: 1px solid #2D2413;
	height: 20px;
	margin: 0 0 15px;
	padding-left: 3px;
}
#ship-article .breadcrumbs .separator
{
	margin: 0 3px;
}
#ship-article .breadcrumbs a, #ship-article .breadcrumbs strong.selflink
{
	color: #B89964;
	display: inline-block;
	font-family: trebuchet MS;
	font-size: 100%;
	font-variant: small-caps;
	height: 20px;
	line-height: 20px;
	padding: 0 3px;
}
#ship-article .breadcrumbs a:hover, #ship-article .breadcrumbs a.hover
{
	background-color: #2D2413;
	color: white;
	text-decoration:none;		
}
#ship-article .breadcrumbs strong.selflink
{
	color: #CCCCCC;
	font-weight: normal;
}
#ship-article .main
{
	
}
#ship-article .main .left-col
{
	background-color: #222222;
	border-color: #272727 #151515 #151515 #272727;
	border-style: solid;
	border-width: 2px;
	padding: 5px;
	width: 256px;
}
#ship-article .main .box-line
{
	padding: 0 10px;		
}
#ship-article .main .box-attributes
{
	background-color: black;
	border: 1px solid #272727;
	display: inline-block;
	margin-left: 10px;
	padding: 5px;
}
#ship-article .main .box-line p
{
	text-align: justify;
}	
#ship-article .main .box-line .att-line
{
	border-bottom: 1px solid #2C2B2B;
	padding: 3px 3px 0;
}

#ship-article .main .box-line .midinfo
{
	margin: 10px 0;
	width: 510px;
}
#ship-article .main .box-line .midinfo tr,
#ship-article .main .box-line .midinfo td
{
	margin: 0;
	padding: 0;
	vertical-align: top;
}
#ship-article .main .box-line .midinfo small
{
	background-color: black;
	border: 1px solid #272727;
	color: #CCCCCC;
	height: 15px;
	line-height: 15px;
	overflow: hidden;
	padding: 0 2px;
	position: absolute;
	right: 0;
	text-align: right;
	width: 60px;
}
#ship-article .main .box-line .midinfo .title
{
	color: #656565;
	font-family: trebuchet MS;
	font-size: 14px;
	font-variant: small-caps;
}
#ship-article .main .box-line .midinfo .left
{
	padding: 0 5px 5px 10px;
	width: 280px;
}	
#ship-article .main .box-line .midinfo .left ul
{
	line-height: 120%;
	margin: 5px 0 0 1.5em;
}
#ship-article .main .box-line .midinfo .left li
{
	color: #9E8F75;
	font-family: arial;
	font-size: 12px;
	margin-bottom: 5px;
	position: relative;
}
#ship-article .main .box-line .midinfo .left .skillstime
{
	border: 1px solid #272727;
	color: #656565;
	font-family: trebuchet MS;
	padding-left: 20px;
	position: relative;
}
#ship-article .main .box-line .midinfo .left .skillstime .value
{
	color: white;
	font-size: 11px;
	padding: 0 3px 0 2px;
	position: absolute;
	right: 0;
	text-align: right;
	top: 0;
	width: 100px;
}
#ship-article .main .box-line .midinfo .left .skillstime .desc
{
	background-color: black;
	border: 2px dashed #582806;
	color: #CCCCCC;
	display: none;
	font-size: 11px;
	left: 150px;
	line-height: 120%;
	padding: 5px;
	position: absolute;
	text-align: justify;
	width: 200px;		
}
#ship-article .main .box-line .midinfo .left .skillstime:hover .desc,
#ship-article .main .box-line .midinfo .left .skillstime.hover .desc
{
	display: block;
	z-index: 100;
}
#ship-article .main .box-line .midinfo .right
{
	padding: 0 5px;
}

#ship-article .main .box-bonuses
{
	border: 1px solid #272727;
	color: white;
	font-size: 95%;
	margin: 0 10px;
	width: 490px;
}
#ship-article .main .box-bonuses .label
{
	background-color: #1A1A1A;
	color: #656565;
	font-family: trebuchet MS;
	margin: 2px -8px;
	padding: 0 5px;
}
#ship-article .main .box-info
{
	margin-top: 5px;
	padding: 0;
}

#ship-article .main .box-info .ecm-info
{
	background-color: transparent;
	width: 100%;
}
#ship-article .main .box-info .ecm-info tr,#ship-article .main .box-info .ecm-info td
{
	line-height: 110%;
	vertical-align: middle;
}
#ship-article .main .box-info .ecm-info .faction-img
{
	width: 50px;
}
#ship-article .main .box-info .ecm-info .faction
{
	color: white;
	font-family: helvetica;
	font-size: 100%;
	font-variant: small-caps;
	font-weight: bold;
	height: 25px;
	padding-bottom: 2px;
	text-align: center;
	vertical-align: bottom;
}
#ship-article .main .box-info .ecm-info .ecm-priority
{
	background-color: #222222;
	border: 1px solid #323931;
	padding: 2px;
	position: relative;
	width: 70px;
}
#ship-article .main .box-info .ecm-info .ecm-priority:hover .ecm-desc,
#ship-article .main .box-info .ecm-info .ecm-priority.hover .ecm-desc
{
	display: block; z-index: 100;
}
#ship-article .main .box-info .ecm-info .ecm-priority .ecm-desc
{
	background-color: black;
	border: 2px dashed #582806;
	display: none;
	font-size: 11px;
	left: 75px;
	padding: 5px;
	position: absolute;
	top: -1px;
	width: 300px;
	z-index: 100;
}
#ship-article .main .box-info .ecm-info .ecm-priority .ecm-desc p
{
	font-family: arial;
	line-height: 120%;
	margin: 0;
	padding: 0;
	text-align: justify;
}
#ship-article .main .box-info .ecm-info .ecm-priority .ecm-desc .innervalue
{
	font-weight: bold;
}
#ship-article .main .box-info .ecm-info .ecm-priority .label
{
	font-family: trebuchet MS;
	font-size: 10px;
	font-variant: small-caps;
	line-height: 100%;
	padding: 3px;
	text-align: center;
}
#ship-article .main .box-info .ecm-info .ecm-priority .label2
{
	background-color: black;
	font-family: trebuchet MS;
	font-size: 10px;
	margin-bottom: 2px;
	padding-bottom: 3px;
	text-align: center;
	text-transform: uppercase;
}
#ship-article .main .box-info .ecm-info .ecm-priority .value
{
	background-color: black;
	font-family: trebuchet MS;
	font-size: 16px;
	font-weight: bold;
	line-height: 15px;
	overflow: hidden;
	padding: 3px 0 0;
	text-align: center;
}
#ship-article .main .box-info .ecm-info .ecm-priority .snip
{
	color: #656565;
	font-size: 70%;
	line-height: 100%;
	text-align: right;
}
#ship-article .main .box-info .ecm-info .ecm-priority .none { color:gray; }
#ship-article .main .box-info .ecm-info .ecm-priority .low { color:#9C6825; }
#ship-article .main .box-info .ecm-info .ecm-priority .normal { color:#CCCCCC; }
#ship-article .main .box-info .ecm-info .ecm-priority .high { color:yellow; }
#ship-article .main .box-info .ecm-info .ecm-priority .veryhigh { color:red; }

#ship-article .main .box-info .ecm-info .hull-type
{
	height: 20px;
	padding: 0 5px;
	text-align: center;
}
#ship-article .main .box-info .ecm-info .hull-type a
{
	color: orange;
	font-family: trebuchet MS;
	font-size: 120%;
	text-transform: uppercase;
}
#ship-article .main .box-info .ecm-info .hull-title
{
	font-family: trebuchet MS;
	text-align: center;
	text-transform: uppercase;
	vertical-align: top;
}
#ship-article .main .box-info .ecm-info .type-gravimetric { color: #B2C4DA; }
#ship-article .main .box-info .ecm-info .type-magnetometric { color: #5AD3C9; }
#ship-article .main .box-info .ecm-info .type-ladar { color: #CD5B56; }
#ship-article .main .box-info .ecm-info .type-radar { color: #DCC69B; }

#ship-article .main .box-awards
{
	margin-left: -6px;
	margin-right: -6px;
	padding: 10px 0 5px;
	position: relative;
}
#ship-article .main .box-awards .award
{
	background-color: #1A1A1A;
	border-color: #393734 black;
	border-style: solid;
	border-width: 1px;
	margin-bottom: 2px;
	padding: 2px 5px;
	position: relative;
}
#ship-article .main .box-awards .award .award-img
{
	display: inline-block;
}
#ship-article .main .box-awards .award .award-img a
{
	display: block;
	height: 19px;
	line-height: 19px;
}
#ship-article .main .box-awards .award .award-img img
{
	line-height: 19px;
	margin-top: -2px;
}
#ship-article .main .box-awards .award .award-label
{
	color: #B89964;
	display: inline-block;
	font-family: arial;
	font-size: 12px;
	font-variant: small-caps;
	height: 19px;
	left: 25px;
	line-height: 19px;
	position: absolute;
	top: 2px;
	z-index: 20;
}
#ship-article .main .box-awards .award .award-bgr
{
	color: #4C4C4C;
	float: right;
	font-family: trebuchet MS;
	font-size: 80%;
	position: absolute;
	right: 2px;
	top: 2px;
	z-index: 10;
}

#ship-article .main .box-discussion
{
	background-color: #1A1A1A;
	border-color: #393734 black;
	border-style: solid;
	border-width: 1px;
	margin-left: -6px;
	margin-right: -6px;
	margin-top: 5px;
	padding: 5px;
}
#ship-article .main .box-discussion .discussion-bgr
{
	color: #4C4C4C;
	font-family: trebuchet MS;
	font-size: 90%;
}
#ship-article .main .box-discussion .linkname
{
	font-size: 11px;
	line-height: 120%;
	padding: 0 5px;
}
/* CSS placed below this line will be applied only for the UniWiki Tools Template:ApplyBreadcrumbs */
#apply-breadcrumbs
{
	background: url("http://wiki.eveuniversity.org/w/images/1/16/Recruitment_bg_bc_bgr.png") repeat-x scroll 0 0 transparent;
    border: 2px solid black;
    clear: both;
    float: left;
    height: 44px;
    overflow: hidden;
    width: 100%;
}
#apply-breadcrumbs .unilogo
{
	background: url("http://wiki.eveuniversity.org/w/images/9/9d/Recruitment_bg_bc_unilogo.png") no-repeat scroll 0 0 transparent;
    display: block;
    float: left;
    height: 44px;
    width: 66px;
}
#apply-breadcrumbs .items
{
	font-family: arial;
    font-size: 18px;
    font-variant: small-caps;
}
#apply-breadcrumbs .items .token a
{
	display: block;
    float: left;
}
#apply-breadcrumbs .items .token .number
{
	background: url("http://wiki.eveuniversity.org/w/images/6/63/Recruitment_bg_bc_separator.png") no-repeat scroll 0 0 transparent;
    color: white;
    display: block;
    float: left;
    font-family: trebuchet MS;
    font-size: 18px;
    height: 44px;
    line-height: 44px;
    padding-left: 20px;
    padding-right: 10px;
}
#apply-breadcrumbs .items .current .number
{
	background: url("http://wiki.eveuniversity.org/w/images/9/9d/Recruitment_bg_bc_separator_current_begin.png") no-repeat scroll 0 0 #111111;
	color: khaki;
}
#apply-breadcrumbs .items  .end .number
{
	background: url("http://wiki.eveuniversity.org/w/images/b/b8/Recruitment_bg_bc_separator_current_end.png") no-repeat scroll 0 0 transparent;
}
#apply-breadcrumbs .items .token .text
{
	color: #B4B4B4;
    display: none;
    float: left;
    font-size: 14px;
    height: 44px;
    line-height: 44px;
    padding-right: 5px;
}
#apply-breadcrumbs .items .current .text
{
	background-color: #111111;
    color: khaki;
    display: block;
    font-size: 18px;
    font-variant: inherit;
    text-transform: uppercase;
}
#apply-breadcrumbs .items .token a:hover .text,
#apply-breadcrumbs .items .token a.hover .text
{
	display: block;
}
Сверху