MediaWiki

Версія від 17:34, 10 лютого 2016, створена Encyclopedia (Обговорити цю сторінку | внесок) (Створена сторінка: →‎* Розміщений тут CSS буде застосовуватися до всіх тем оформлення: #poweredby { display: none; } /* Custom...)
(різн.) ← Попередня версія | Поточна версія (різн.) | Новіша версія → (різн.)

Common.css

Увага: Після збереження слід очистити кеш оглядача, щоб побачити зміни.

  • Firefox / Safari: тримайте Shift, коли натискаєте Оновити, або натисніть Ctrl-F5 чи Ctrl-Shift-R (⌘-R на Apple Mac)
  • Google Chrome: натисніть Ctrl-Shift-R (⌘-Shift-R на Apple Mac)
  • Internet Explorer: тримайте Ctrl, коли натискаєте Оновити, або натисніть Ctrl-F5
  • Opera: очистіть кеш за допомогою Інструменти → Налаштування (Opera → Побажання на Apple Mac) та перейдіть на Приватність & безпека → очистити дані браузера → кеш
/** Розміщений тут CSS буде застосовуватися до всіх тем оформлення */
#poweredby { display: none; }
/* Custom Foreground menubar colors */
.top-bar,
.top-bar-section ul,
.top-bar-section ul li.active > a,
.top-bar-section li a:not(.button),
.top-bar-section .has-form {
   background: #E0E7EA;
   color: #000000;
}

.top-bar-section > ul > .divider,
.top-bar-section > ul > [role="separator"] {
  border-color: #b7e3f2;
}

/* Darker color for the hover over items */
.top-bar-section ul li.hover > a,
.top-bar-section ul li ul.dropdown li.hover > a{
    background: #00B1FF;
}

/* Slightly darker color for the dropdowns */
.top-bar-section ul li ul.dropdown li > a {
    background: #E0E7EA;
}

@font-face  {
    
	font-family:  'SansationLightLight';
    
	src:  url('skins/foreground/assets/fonts/sansation-light.eot');
    
	src:  url('skins/foreground/assets/fonts/sansation-light.eot') format('embedded-opentype'), 
	url('skins/foreground/assets/fonts/sansation-light.woff') format('woff'), 
	url('skins/foreground/assets/fonts/sansation-light.ttf') format('truetype'), 
	url('skins/foreground/assets/fonts/sansation-light.svg#SansationLightLight') format('svg');
    
}
* {
    margin: 0;
}
html, body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}
body {
    font-family: "Myriad Pro", Myriad, Segoe\ UI, Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "SansationLightLight", Myriad\ pro, Myriad, Segoe\ UI, Arial, sans-serif;
    font-weight: normal;
    padding: 0;
    margin: 0;
}
ul, li {
    padding: 0;
    margin: 0;
}
.noView {
    display: none;
}
.noWrap {
    white-space: nowrap;
}
a {
    color: #2e61cb;
}
a:hover {
    color: #7ea5b5;
}
.clear {
    clear: both;
}
div#wrap {
    min-height: 100%;
    min-width: 1072px;
    margin-bottom: -100px;
}
div#wrap:after {
    content: "";
    display: block;
}
.icons {
    display: inline-block;
    background-image: url(images/icons.svg);
    background-repeat: no-repeat no-repeat;
    width: 41px;
    height: 40px;
}
.icons.search {
    background-position: -11px -115px;
    width: 36px;
    height: 36px;
    position: relative;
    top: 6px;
}
.icons.help, .icons.n-help {
    background-position: -10px -10px;
}
.icons.auth, .icons.pt-anonlogin {
    background-position: -372px -10px;
}
.icons.random, .icons.n-randompage {
    background-position: -70px -10px;
}
.icons.contris, .icons.pt-mycontris {
    background-position: -130px -10px;
}
.icons.preferences, .icons.pt-preferences {
    background-position: -191px -10px;
}
.icons.edit {
    background-position: -312px -10px;
}
.icons.login, .icons.pt-login {
    background-position: -372px -10px;
}
.icons.logout, .icons.pt-logout {
    background-position: -252px -10px;
}
.icons.help:hover, .icons.n-help:hover {
    background-position: -10px -60px;
}
.icons.auth:hover, .icons.pt-anonlogin:hover {
    background-position: -372px -60px;
}
.icons.random:hover, .icons.n-randompage:hover {
    background-position: -70px -60px;
}
.icons.edit:hover {
    background-position: -312px -60px;
}
.icons.contris:hover, .icons.pt-mycontris:hover {
    background-position: -130px -60px;
}
.icons.preferences:hover, .icons.pt-preferences:hover {
    background-position: -191px -60px;
}
.icons.logout:hover, .icons.pt-logout:hover {
    background-position: -252px -60px;
}
.icons.login:hover, .icons.pt-login:hover {
    background-position: -372px -60px;
}
footer, div#wrap:after {
    height: 100px;
}
footer {
    background-color: #e0e7ea;
    line-height: 25px;
}
footer a {
    text-decoration: underline;
}
footer table {
    width: 100%;
    padding-top: 15px;
}
footer table td {
    vertical-align: top;
}
footer table td:last-child {
    text-align: right;
}
footer span {
    display: block;
}
.appleJam {
    position: relative;
    padding: 0px 100px;
}
.appleJam .logo:before {
    content: "";
    display: block;
    position: absolute;
    top: -5px;
    left: 60px;
    width: 30px;
    height: 31px;
    background-image: url(images/icons.svg);
    background-repeat: no-repeat no-repeat;
    background-position: -135px -118px;
}
.appleJam a {
    color: #000;
}
footer .portals {
    padding: 0px 60px;
}
footer .portals ul {
    list-style: none;
}
footer .portals ul li {
    display: inline-block;
    padding: 0px 10px;
}
header {
    padding: 25px 60px 10px 100px;
    min-width: 940px;
}
header table {
    width: 100%}
header table td {
    vertical-align: middle;
}
header table td:last-child {
    text-align: right;
}
.aquawiki {
    display: block;
    width: 256px;
    height: 52px;
    background-image: url(images/logo.svg);
    text-indent: -900px;
    background-position: -27px -21px;
}
#searchInput {
    font-family: "SansationLightLight";
    font-size: 26px;
    background-color: #fff;
    border: none;
    border-bottom: 2px solid #d1d3d4;
    outline: none;
    width: 90%;
    margin-left: 5px;
    position: relative;
    top: -4px;
    -webkit-appearance: none;
}
#searchInput:focus {
    border-bottom: 2px solid #f5004d;
}
.controls {
    position: relative;
    top: 6px;
}
.controls a:not(:last-child)  {
    margin-right: 12px;
}
div.suggestions {
    font-size: 24px!important;
}
nav.mainMenu {
    margin-top: 12px;
    width: 100%;
    background-color: #e0e7ea;
    min-width: 940px;
}
nav.mainMenu ul {
    list-style: none;
}
nav.mainMenu ul>li {
    display: inline-block;
    margin-right: 30px;
}
nav.mainMenu a {
    color: #000;
    text-decoration: none;
    font-size: 18px;
}
nav.mainMenu ul li {
    position: relative;
    float: none;
    text-transform: none;
}
nav.mainMenu ul li>a {
    display: block;
    padding: 25px 0px;
}
nav.mainMenu ul.zeroDepth>li.expandable>a:after {
    content: "";
    display: inline-block;
    position: relative;
    top: -2px;
    width: 7px;
    height: 5px;
    background-image: url(images/icons.svg);
    background-repeat: no-repeat no-repeat;
    background-position: -207px -132px;
    margin-left: 10px;
}
nav.mainMenu ul.deeper>li.expandable>a:after {
    content: "";
    display: inline-block;
    position: absolute;
    right: 7px;
    top: 15px;
    width: 5px;
    height: 7px;
    background-image: url(images/icons.svg);
    background-repeat: no-repeat no-repeat;
    background-position: -196px -131px;
}
nav.mainMenu ul>li>a:hover {
    color: #487684;
}
nav.mainMenu ul li>a:hover:after {
    background-position: -221px -132px;
}
nav.mainMenu ul ul {
    display: none;
    position: absolute;
    width: 300px;
    top: 100%;
    left: 0;
    background-color: #b7e3f2;
    -webkit-box-shadow: 0 -6px 22px 0 rgba(12, 101, 198, .2);
    box-shadow: 0 -6px 22px 0 rgba(12, 101, 198, .2);
}
nav.mainMenu ul.zeroDepth>li>ul:after {
    bottom: 100%;
    left: 10%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(183, 227, 242, 0);
    border-bottom-color: #b7e3f2;
    border-width: 10px;
    margin-left: -10px;
}
nav.mainMenu ul ul>li {
    padding: 0;
    margin: 0;
    width: 100%}
nav.mainMenu ul ul>li a {
    display: block;
    padding: 7px 12px;
}
nav.mainMenu ul ul>li:hover {
    background-color: #9dd6e4;
}
nav.mainMenu ul ul>li.expandable>ul {
    top: 0;
    left: 300px;
    -webkit-box-shadow: -6px 0 22px 0 rgba(12, 101, 198, .2);
    box-shadow: -6px 0 22px 0 rgba(12, 101, 198, .2);
}
nav.mainMenu ul ul > li:not(:last-child)  {
    border-bottom: 2px dotted #fff;
}
nav.mainMenu ul>li:hover>ul {
    display: block;
}
nav.mainMenu #p-menu {
    padding: 0px 60px 0px 100px;
}
nav.mainMenu .m-right {
    float: right;
    margin-right: 5px;
    margin-left: 0;
}
.userMenu {
    background-color: #eff2f5;
    padding: 17px 58px 15px 95px;
    min-width: 940px;
}
.userMenu ul {
    list-style: none;
}
.userMenu ul li {
    display: inline-block;
}
.userMenu ul li:not(:first-child)  {
    margin-left: 7px;
}
.userMenu table {
    width: 100%}
.userMenu table td {
    width: 50%;
    white-space: nowrap;
}
.userMenu table td:last-child {
    text-align: right;
}
.userMenu a {
    padding: 6px 15px 5px 15px;
    border: 1px solid #7ea5b5;
    border-radius: 30px;
    text-decoration: none;
    color: #7ea5b5;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}
.userMenu a#ca-delete {
    color: #c74047;
    border: 1px solid #c74047;
}
.userMenu a#ca-talk.new:hover {
    color: #fff;
    background-color: #717171;
}
.userMenu a#ca-delete:hover {
    background-color: #c74047;
    color: #fff;
}
.userMenu a.selected, .userMenu a:hover {
    color: #fff;
    background-color: #7ea5b5;
}
.userMenu a.new.selected, .userMenu a.new:hover {
    color: #fff;
    background-color: #717171;
    border-color: #717171;
}
#siteSub, #mw-userlogin-help {
    display: none;
}
section#content {
    padding: 25px 60px 50px 100px;
}
#category-bread-crumbs {
    margin-bottom: 25px;
}
.firstHeading {
    font-size: 50px;
    margin-bottom: 25px;
}
article {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
article h2, article h3 {
    clear: left;
}
article h2 {
    font-size: 24px;
    margin: 24px 0px 15px 0px;
}
article h3 {
    font-size: 20px;
    margin: 22px 0px 12px 0px;
}
article p {
    margin: 15px 0px;
}
article a {
    text-decoration: underline;
}
.picbutton {
    display: inline-block;
    padding: 4px 13px 13px 13px;
    margin: 0 4px 4px 0;
}
.picbutton:hover {
    -webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, .15);
    -moz-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, .15);
    box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, .15);
}
div.text180px {
    width: 270px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    hyphens: none;
    -webkit-hyphens: none;
}
div.text180px a {
    text-decoration: none;
    font-family: "SansationLightLight";
    color: #2e61cb;
    font-size: 18px;
}
div.text180px a.new {
    color: #717171;
}
.pic180px img {
    vertical-align: bottom;
}
.info ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.info ul li {
    color: #75726a;
    margin-top: 2px;
    margin-right: 2px;
}
.info .item {
    color: #000;
}
.toc {
    float: right;
    width: 300px;
    background-color: #f8f7f2;
    margin: 10px 0 10px 25px;
    padding: 7px 15px 0;
    box-sizing: border-box;
}
.toc h2 {
    margin: 7px 0px 15px 0px;
}
.toc .toctoggle {
    position: absolute;
    top: 10px;
    right: 0;
    margin: 0 0 15px 0;
    display: block;
}
.toc .toctoggle a#togglelink {
    border-bottom: 1px dashed;
    text-decoration: none;
}
.toc #toctitle {
    position: relative;
}
.toc ul {
    list-style: none;
    padding-bottom: 12px;
}
.toc li a {
    position: relative;
    top: -2px;
    border-bottom: 1px dashed;
    text-decoration: none;
}
.toc li a span {
    position: relative;
    top: 2px;
}
.thumb {
    margin: 0px 0px 25px 25px;
}
.thumbcaption {
    background: #000;
    margin: -4px 2px 0 0;
    text-indent: 4px;
}
.thumbcaption a {
    color: #717171;
}
#userSummaryButtonsA a {
    margin-right: 15px;
    text-decoration: none;
    border-bottom: 1px dashed;
}
.editCheckboxes {
    margin-top: 15px;
}
fieldset {
    margin: 25px 0px;
    padding: 17px 15px 21px 15px;
    border: 2px dotted #7ea5b5;
    font-size: 14px;
    line-height: 30px;
}
fieldset legend {
    font-family: "SansationLightLight";
    font-size: 20px;
    font-weight: normal;
}
ul#pagehistory {
    margin-top: 15px;
    list-style: none;
}
ul#pagehistory li {
    margin-bottom: 7px;
}
ul#pagehistory input[type="radio"] {
    margin-left: 7px;
    margin-right: 7px;
}
.mw-specialpages-table ul, .mw-specialpages-notes ul {
    list-style: none;
}
.mw-specialpages-table ul li, .mw-specialpages-notes ul li {
    margin-bottom: 17px;
}
#userloginForm {
    width: 30%}
#userloginForm input[type="text"], #userloginForm input[type="password"], #userloginForm #wpName1, #userloginForm #wpName2, #userloginForm #wpEmail, #userloginForm #wpReason {
    width: 480px;
    font-size: 18px;
}
div.mw-createacct-benefits-container {
    float: right;
}
h2.createaccount-join, .mw-createacct-benefits-container h2 {
    font-size: 22px;
}
input#wpCreateaccount, input#wpLoginAttempt {
    font-size: 14px!important;
    font-weight: normal;
    width: auto;
}
.editOptions {
    margin-top: 15px;
}
ul#preftoc {
    list-style: none;
}
ul#preftoc li {
    display: inline-block;
    margin-right: 15px;
    outline: none;
}
ul#preftoc li a {
    padding: 6px 15px 5px 15px;
    border: 1px solid #7ea5b5;
    border-radius: 30px;
    text-decoration: none;
    color: #7ea5b5;
    outline: none;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}
ul#preftoc li.selected a, ul#preftoc li:hover a {
    color: #fff;
    background-color: #7ea5b5;
}
table.mw-datatable th, table.mw-datatable td {
    padding: 7px 10px;
}
table.wikitable td {
    padding: 7px 10px!important;
}
table.mw-datatable th {
    text-align: left;
    font-weight: normal;
    background-color: #eff2f4;
    color: #7ea5b5;
}
table.mw-datatable td {
    font-size: 14px;
}
a.new {
    color: #717171;
}
input#searchText {
    font-size: 18px;
}
.thumbcaption {
    font-size: 14px;
    color: #717171;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
}
h2.mw-specialpagesgroup {
    margin-bottom: 30px;
}
.mainPage {
    display: block;
    width: 100%;
    text-align: justify;
    min-width: 940px;
}
.mainPage .block {
    margin-top: 4px;
    display: inline-block;
    width: 300px;
    padding: 0 13px 13px 13px;
    box-sizing: border-box;
    vertical-align: top;
    max-height: 500px;
    overflow: hidden;
    text-align: left;
    position: relative;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0);
    -moz-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0);
    box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0);
}
.mainPage .block:hover {
    padding: 0 13px 13px 13px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, .15);
    -moz-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, .15);
    box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, .15);
}
.mainPage .filler {
    display: inline-block;
    width: 310px;
}
.mainPage a {
    text-decoration: none;
    color: #000;
}
#adsense-bottom {
    padding: 30px 0 0 0;
}
.thumb.tright {
    margin: 10px 0 10px 40px;
}
.thumb.tleft {
    margin: 10px 0 0;
}
.thumb.tleft .thumbcaption {
    margin-top: 0;
}
@media screen and (max-width:1280px) {
    .thumb.tright {
    margin-left: 20px;
}
.thumb img {
    max-width: 300px;
    height: auto;
}
.thumb .thumbinner {
    max-width: 302px!important;
}
.toc {
    width: 300px;
}
}.wikiEditor-ui a {
    text-decoration: none;
}
.forum-promo {
    background: url(/images/forum-promo.svg) no-repeat 30px center #f0f7f7;
    min-height: 100px;
    width: 100%;
    text-indent: 260px;
    padding: 10px;
    display: table;
    vertical-align: middle;
    box-sizing: border-box;
    margin-bottom: 30px;
}
.forum-promo div {
    display: table-cell;
}
.forum-promo p {
    margin: 10px 0;
}
.forum-promo a {
    font-size: 30px;
}
.mwe-popups-extract {
    margin-bottom: 16px!important;
    padding-top: 0px!important;
}
Увага! Опитування читачів ВУЕ. Заповнити анкету ⟶