Difference between revisions of "Хев:Зъгаломная/Клабук/styles.css"

С Сибирска Википеддя
Айдать на коробушку Айдать на сыскальник
Line 1: Line 1:
 
/*
 
/*
Новая сазвѣзьденїя [[Зъгаломная старонка]]
+
Новая сазвѣзьденїя шаблона [[Шаблон:Зъгаломная/Клабук]]
  
Нѣ снасітѣ код дъ адделу
 
 
*/
 
*/
 +
.main-top {
 +
font-size: 1rem;
 +
margin-top: 1rem;
 +
padding-bottom: 1.5rem;
 +
}
 +
 +
.main-top-left > p {
 +
font-size: 0.875em;
 +
margin: 0;
 +
}
 +
 +
.main-top-right {
 +
font-size: 0.875em;
 +
margin-top: 0.5em;
 +
}
 +
 +
.main-top-right > ul {
 +
display: none;
 +
margin-top: 0.5rem;
 +
}
 +
 +
.main-top-right .mw-ui-button.mw-ui-quiet {
 +
padding-right: 0;
 +
}
  
/* Штандартнаї зъгалоѵкѝ */
+
.main-top-header {
.main-header {
+
border-bottom: 0;
border-bottom-color: transparent;
+
margin-bottom: 0;
margin-bottom: 0.25em;
 
 
margin-top: 0;
 
margin-top: 0;
padding-bottom: 0;
 
padding-top: 0;
 
 
}
 
}
  
/* Спіскѝ біз сазвѣзьденїи */
+
.main-top-articleCount {
.main-plainlist > ul {
+
margin-bottom: 0;
list-style: none;
+
}
margin: 0;
+
 
padding: 0;
+
body.skin-minerva .main-top-articleCount {
 +
display: none;
 
}
 
}
  
.main-plainlist li {
+
.main-top-mobileSearch {
margin-bottom: 0;
+
display: none;
 +
margin-top: 1rem;
 
}
 
}
  
/* Сніскѝ-скнопкѝ */
+
body.skin-minerva .main-top-mobileSearch {
.main-top-right .mw-ui-quiet:hover,
+
display: block;
.main-top-right .mw-ui-quiet:focus,
 
.main-footer .mw-ui-quiet:hover,
 
.main-footer .mw-ui-quiet:focus {
 
color: #0645ad;
 
 
}
 
}
  
/* Убѣраїм нумѣрацїю зъгаломкам, ситваряїмаю опцїѣй «Антъматічна нумѣръвать зъгаломкѝ»
+
.main-top-mobileSearchButton {
  нъ [[Служебная:Наладкѝ#mw-prefsection-rendering]] */
+
background: #fff;
.mw-headline-number {
+
border: none;
    display: none;
+
box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 );
 +
color: #72777d;
 +
font-weight: normal;
 +
max-width: none;
 +
text-align: left;
 +
width: 100%;
 
}
 
}
  
Line 43: Line 66:
 
*/
 
*/
 
@media (min-width: 720px) {
 
@media (min-width: 720px) {
.main-wikimedia {
+
.main-top {
padding-top: 1rem;
+
background-color: #f8f9fa;
padding-left: 1rem;
+
border: 1px solid #c8ccd1;
padding-right: 1rem;
+
border-radius: 2px;
 +
box-shadow: 0 1px 1px rgba(0, 0, 0, .15);
 +
margin-bottom: 1rem;
 +
padding: 1rem;
 +
}
 +
 +
.main-top-right > ul {
 +
display: flex;
 +
flex-wrap: wrap;
 +
}
 +
 +
.main-top-articleCount {
 +
margin-bottom: 0.5rem;
 +
}
 +
 +
body.skin-minerva .main-top-articleCount {
 +
display: block;
 +
}
 +
 +
body.skin-minerva .main-top-mobileSearch {
 +
display: none;
 
}
 
}
 
}
 
}
Line 54: Line 97:
 
*/
 
*/
 
@media (min-width: 1000px) {
 
@media (min-width: 1000px) {
.main-wrapper {
+
.main-top {
 +
align-items: center;
 +
background-image: url(https://upload.wikimedia.org/wikipedia/commons/e/e3/Wikipedia_logo_letters_banner.svg);
 +
background-position: right;
 +
background-repeat: no-repeat;
 
display: flex;
 
display: flex;
margin: 0 -0.75rem;
+
margin-bottom: 1.5rem;
 +
margin-top: 0.5rem;
 +
padding-bottom: 0;
 +
padding-left: 0;
 +
padding-right: 1.5rem;
 +
padding-top: 0;
 +
}
 +
 +
.main-top-left {
 +
background-image: linear-gradient(to right, #f8f9fa 0%, #f8f9fa 70%, rgba(248, 249, 250, 0) 100%);
 +
flex: 3;
 +
padding: 2rem 0 2rem 1.5rem;
 
}
 
}
 
 
.main-wrapper-column {
+
.main-top-right {
flex: 1;
+
flex: 2;
margin: 0 0.75rem;
+
margin-top: 0;
 +
text-align: right;
 
}
 
}
 
 
.main-wikimedia {
+
.main-top-right > ul {
padding-top: 1.5rem;
+
align-items: center;
padding-left: 1.5rem;
+
flex-direction: row-reverse;
padding-right: 1.5rem;
+
justify-content: right;
 +
margin-top: 0;
 +
text-align: left;
 +
}
 +
 +
.main-top-createArticle + li .mw-ui-button.mw-ui-quiet {
 +
padding-right: 1em;
 
}
 
}
 
}
 
}

Revision as of 18:42, 18 Светня 2021

/* Новая сазвѣзьденїя шаблона Шаблон:Зъгаломная/Клабук

  • /

.main-top { font-size: 1rem; margin-top: 1rem; padding-bottom: 1.5rem; }

.main-top-left > p { font-size: 0.875em; margin: 0; }

.main-top-right { font-size: 0.875em; margin-top: 0.5em; }

.main-top-right > ul { display: none; margin-top: 0.5rem; }

.main-top-right .mw-ui-button.mw-ui-quiet { padding-right: 0; }

.main-top-header { border-bottom: 0; margin-bottom: 0; margin-top: 0; }

.main-top-articleCount { margin-bottom: 0; }

body.skin-minerva .main-top-articleCount { display: none; }

.main-top-mobileSearch { display: none; margin-top: 1rem; }

body.skin-minerva .main-top-mobileSearch { display: block; }

.main-top-mobileSearchButton { background: #fff; border: none; box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 ); color: #72777d; font-weight: normal; max-width: none; text-align: left; width: 100%; }

/* Планшети

  • /

@media (min-width: 720px) { .main-top { background-color: #f8f9fa; border: 1px solid #c8ccd1; border-radius: 2px; box-shadow: 0 1px 1px rgba(0, 0, 0, .15); margin-bottom: 1rem; padding: 1rem; }

.main-top-right > ul { display: flex; flex-wrap: wrap; }

.main-top-articleCount { margin-bottom: 0.5rem; }

body.skin-minerva .main-top-articleCount { display: block; }

body.skin-minerva .main-top-mobileSearch { display: none; } }

/* Стациянарнаї кампутіри

  • /

@media (min-width: 1000px) { .main-top { align-items: center; background-image: url(https://upload.wikimedia.org/wikipedia/commons/e/e3/Wikipedia_logo_letters_banner.svg); background-position: right; background-repeat: no-repeat; display: flex; margin-bottom: 1.5rem; margin-top: 0.5rem; padding-bottom: 0; padding-left: 0; padding-right: 1.5rem; padding-top: 0; }

.main-top-left { background-image: linear-gradient(to right, #f8f9fa 0%, #f8f9fa 70%, rgba(248, 249, 250, 0) 100%); flex: 3; padding: 2rem 0 2rem 1.5rem; }

.main-top-right { flex: 2; margin-top: 0; text-align: right; }

.main-top-right > ul { align-items: center; flex-direction: row-reverse; justify-content: right; margin-top: 0; text-align: left; }

.main-top-createArticle + li .mw-ui-button.mw-ui-quiet { padding-right: 1em; } }