MediaWiki:Common.css: различия между версиями
User (обсуждение | вклад) Нет описания правки |
User (обсуждение | вклад) Нет описания правки |
||
| (не показано 60 промежуточных версий этого же участника) | |||
| Строка 1: | Строка 1: | ||
/* Размещённый здесь CSS будет применяться ко всем темам оформления */ | /* Размещённый здесь CSS будет применяться ко всем темам оформления */ | ||
body.page-Вики-энциклопедия_университета_Главная li#ca-viewsource, | |||
body.page-Вики-энциклопедия_университета_Главная h1#firstHeading span, | |||
body.page-Вики-энциклопедия_университета_Главная #p-associated-pages, | |||
body.page-Вики-энциклопедия_университета_Главная header.vector-page-titlebar { | |||
display: none !important; | |||
} | |||
body.skin--responsive #p-dock-bottom { | |||
display: none; | |||
} | |||
body.skin--responsive .mw-editsection { | |||
display: none; | |||
} | |||
#select-template { | |||
appearance: none !important; | |||
-webkit-appearance: none !important; | |||
} | |||
.vector-page-titlebar { | |||
width: 100%; | |||
} | |||
.mw-logo { | .mw-logo { | ||
position: relative; | position: relative; | ||
| Строка 52: | Строка 70: | ||
padding: 0; | padding: 0; | ||
background: #0c672f; | background: #0c672f; | ||
display: flow-root; | |||
} | } | ||
.mw-logo-container, | .mw-logo-container, | ||
| Строка 64: | Строка 83: | ||
#create-buttons { | #create-buttons { | ||
float: left; | float: left; | ||
} | |||
#create-buttons select, | |||
#create-buttons input { | |||
line-height: initial; | |||
float: left; | |||
margin: 7px 7px 0px 0px; | |||
text-align: left; | |||
min-height: 32px; | |||
} | |||
#create-buttons select { | |||
min-width: 270px; | |||
width: 30%; | |||
} | |||
#create-buttons input[name="title"] { | |||
width: 55%; | |||
} | |||
.img-large, | |||
.img-large img { | |||
width: 100%; | |||
height: auto; | |||
} | |||
#counter-text { | |||
float: right; | |||
align-content: center; | |||
padding: 0px 14px; | |||
font-style: italic; | |||
color: #fff; | |||
} | |||
#counter-text a { | |||
font-size: 80%; | |||
line-height: 18px; | |||
} | |||
#hello { | |||
font-size: 2em; | |||
font-family: 'Linux Libertine','Georgia','Times','Source Serif Pro',serif; | |||
line-height: 1.375; | |||
} | |||
#hello-mini { | |||
font-size: 0.875em; | |||
} | |||
.srf-listwidget-navigation .ln-letters a { | |||
padding: 7px; | |||
border: 1px solid #ddd; | |||
margin: 5px -1px 0px 0px; | |||
text-align: center; | |||
min-width: 11px; | |||
} | |||
.srf-listwidget-navigation .ln-letters a:first-child { | |||
width: 9px; | |||
padding-left: 6px; | |||
padding-right: 8px; | |||
} | |||
.srf-listwidget-navigation .ln-letters { | |||
padding: 5px; | |||
} | |||
#mw-content-text p { | |||
text-align: justify; | |||
text-indent: 3em; | |||
} | |||
.multicolumn-list ul { | |||
column-count: 3; | |||
column-gap: 20px; | |||
} | |||
.multicolumn-list li { | |||
break-inside: avoid; | |||
} | |||
@media (max-width: 1000px) { | |||
.multicolumn-list ul { | |||
column-count: 2; | |||
} | |||
} | |||
@media (max-width: 600px) { | |||
.multicolumn-list ul { | |||
column-count: 1; | |||
} | |||
} | } | ||
Текущая версия от 10:03, 21 октября 2024
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
body.page-Вики-энциклопедия_университета_Главная li#ca-viewsource,
body.page-Вики-энциклопедия_университета_Главная h1#firstHeading span,
body.page-Вики-энциклопедия_университета_Главная #p-associated-pages,
body.page-Вики-энциклопедия_университета_Главная header.vector-page-titlebar {
display: none !important;
}
body.skin--responsive #p-dock-bottom {
display: none;
}
body.skin--responsive .mw-editsection {
display: none;
}
#select-template {
appearance: none !important;
-webkit-appearance: none !important;
}
.vector-page-titlebar {
width: 100%;
}
.mw-logo {
position: relative;
}
.mw-logo:before {
content: '';
background-image: url(/images/custom/wiki.png);
width: 100%;
height: 100px;
background-repeat: no-repeat;
}
.srf-listwidget-navigation .ln-letters a {
padding: 0.5rem;
}
.custom-top-menu li a,
.custom-top-menu li a:hover,
.custom-top-menu li a:visited,
.custom-top-menu li a:active {
text-decoration: none;
color: #fff;
}
.custom-top-menu li a {
padding: 12px 9px;
display: block;
}
.custom-top-menu li {
display: inline-block;
margin: 0;
}
.custom-top-menu li:first-child a {
padding-left: 12px;
}
.custom-top-menu li:hover {
box-shadow: rgba(39, 174, 96, .2) 0 6px 12px;
background-color: #1e8449;
box-shadow: rgba(0, 1, 0, .2) 0 2px 8px;
}
.a-current {
box-shadow: rgba(39, 174, 96, .2) 0 6px 12px;
background-color: #1e8449;
box-shadow: rgba(0, 1, 0, .2) 0 2px 8px;
}
.custom-top-menu li:active {
box-shadow: rgba(0,0,0,0.5) 0px 0px 4px 1px;
}
.custom-top-menu li:focus {
outline: 0;
}
.custom-top-menu {
margin: 0;
padding: 0;
background: #0c672f;
display: flow-root;
}
.mw-logo-container,
.mw-logo-icon,
#footer-places-privacy,
#footer-icons,
#footer-places-disclaimers {
display: none;
}
}
#create-buttons {
float: left;
}
#create-buttons select,
#create-buttons input {
line-height: initial;
float: left;
margin: 7px 7px 0px 0px;
text-align: left;
min-height: 32px;
}
#create-buttons select {
min-width: 270px;
width: 30%;
}
#create-buttons input[name="title"] {
width: 55%;
}
.img-large,
.img-large img {
width: 100%;
height: auto;
}
#counter-text {
float: right;
align-content: center;
padding: 0px 14px;
font-style: italic;
color: #fff;
}
#counter-text a {
font-size: 80%;
line-height: 18px;
}
#hello {
font-size: 2em;
font-family: 'Linux Libertine','Georgia','Times','Source Serif Pro',serif;
line-height: 1.375;
}
#hello-mini {
font-size: 0.875em;
}
.srf-listwidget-navigation .ln-letters a {
padding: 7px;
border: 1px solid #ddd;
margin: 5px -1px 0px 0px;
text-align: center;
min-width: 11px;
}
.srf-listwidget-navigation .ln-letters a:first-child {
width: 9px;
padding-left: 6px;
padding-right: 8px;
}
.srf-listwidget-navigation .ln-letters {
padding: 5px;
}
#mw-content-text p {
text-align: justify;
text-indent: 3em;
}
.multicolumn-list ul {
column-count: 3;
column-gap: 20px;
}
.multicolumn-list li {
break-inside: avoid;
}
@media (max-width: 1000px) {
.multicolumn-list ul {
column-count: 2;
}
}
@media (max-width: 600px) {
.multicolumn-list ul {
column-count: 1;
}
}