Модуль:Doc/styles.css: различия между версиями

Материал из Юридический факультет МГУ
Перейти к навигации Перейти к поиску
[[:ru:]]>Jack who built the house
м (подгонка)
м (22 версии импортировано)
 
(не показано 17 промежуточных версий 4 участников)
Строка 1: Строка 1:
 
.ts-doc-doc {
 
.ts-doc-doc {
background: #eaf3ff;
+
background-color: #eaf3ff;
border: 1px solid #a7d7f9;
+
border: 1px solid #a3caff;
 
margin-top: 1em;
 
margin-top: 1em;
padding: .75em 1em 1em;
 
 
}
 
}
  
.ts-doc-doc .ts-tlinks-tlinks {
+
.ts-doc-header {
margin-top: 2px;
+
background-color: #c2dcff;
 +
padding: .642857em 1em .5em;
 +
overflow: hidden;
 +
}
 +
 
 +
.ts-doc-header .ts-tlinks-tlinks {
 +
line-height: 24px;
 +
}
 +
 
 +
.ts-doc-header .ts-tlinks-tlinks a.external {
 +
color: #0645ad;
 +
}
 +
 
 +
.ts-doc-header .ts-tlinks-tlinks a.external:visited {
 +
color: #0b0080;
 +
}
 +
 
 +
.ts-doc-header .ts-tlinks-tlinks a.external:active {
 +
color: #faa700;
 +
}
 +
 
 +
.ts-doc-content {
 +
padding: .214286em 1em;
 
}
 
}
  
.ts-doc-header {
+
.ts-doc-content:after {
border-bottom: 1px solid #a7d7f9;
+
content: '';
margin-bottom: .75em;
+
clear: both;
padding-bottom: .57em;
+
display: block;
 
}
 
}
  
 
.ts-doc-heading {
 
.ts-doc-heading {
 +
display: inline-block;
 +
padding-left: 30px;
 +
background: url(//upload.wikimedia.org/wikipedia/commons/c/ca/OOjs_UI_icon_info.svg) center left/24px 24px no-repeat;
 +
height: 24px;
 +
line-height: 24px;
 
font-size: 13px;
 
font-size: 13px;
 
font-weight: 600;
 
font-weight: 600;
Строка 23: Строка 49:
 
}
 
}
  
.ts-doc-icon {
+
.ts-doc-content > *:first-child,
float: left;
+
.ts-doc-footer > *:first-child {
margin-right: .4em;
+
margin-top: .5em;
 
}
 
}
  
.ts-doc-doc > *:last-child {
+
.ts-doc-content > *:last-child,
margin-bottom: 0;
+
.ts-doc-footer > *:last-child {
 +
margin-bottom: .5em;
 
}
 
}
  
 
.ts-doc-footer {
 
.ts-doc-footer {
background: #eaf3ff;
+
background-color: #eaf3ff;
border: 1px solid #a7d7f9;
+
border: 1px solid #a3caff;
padding: .25em 1em;
+
padding: .214286em 1em;
margin-top: .5em;
+
margin-top: .214286em;
 +
margin-bottom: .214286em;
 +
font-style: italic;
 +
}
 +
 
 +
@media (max-width: 719px) {
 +
.ts-doc-header .ts-tlinks-tlinks {
 +
float: none;
 +
}
 
}
 
}

Текущая версия на 11:31, 13 февраля 2021

.ts-doc-doc {
	background-color: #eaf3ff;
	border: 1px solid #a3caff;
	margin-top: 1em;
}

.ts-doc-header {
	background-color: #c2dcff;
	padding: .642857em 1em .5em;
	overflow: hidden;
}

.ts-doc-header .ts-tlinks-tlinks {
	line-height: 24px;
}

.ts-doc-header .ts-tlinks-tlinks a.external {
	color: #0645ad;
}

.ts-doc-header .ts-tlinks-tlinks a.external:visited {
	color: #0b0080;
}

.ts-doc-header .ts-tlinks-tlinks a.external:active {
	color: #faa700;
}

.ts-doc-content {
	padding: .214286em 1em;
}

.ts-doc-content:after {
	content: '';
	clear: both;
	display: block;
}

.ts-doc-heading {
	display: inline-block;
	padding-left: 30px;
	background: url(//upload.wikimedia.org/wikipedia/commons/c/ca/OOjs_UI_icon_info.svg) center left/24px 24px no-repeat;
	height: 24px;
	line-height: 24px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.ts-doc-content > *:first-child,
.ts-doc-footer > *:first-child {
	margin-top: .5em;
}

.ts-doc-content > *:last-child,
.ts-doc-footer > *:last-child {
	margin-bottom: .5em;
}

.ts-doc-footer {
	background-color: #eaf3ff;
	border: 1px solid #a3caff;
	padding: .214286em 1em;
	margin-top: .214286em;
	margin-bottom: .214286em;
	font-style: italic;
}

@media (max-width: 719px) {
	.ts-doc-header .ts-tlinks-tlinks {
		float: none;
	}
}