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

Материал из Vanilla Station
Перейти к: навигация, поиск
мНет описания правки
Нет описания правки
 
(не показаны 42 промежуточные версии 2 участников)
Строка 1: Строка 1:
.navbar-light .navbar-brand,.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover {
/*ДЛЯ ТЕХ КТО БУДЕТ ПИЗДИТЬ МОЙ КОД - ИДИТЕ НАХУЙ!*/
     color: white
@import url(https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap);
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');
.montserrat {
    font-family: "Montserrat",sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal
}
.caveat {
  font-family: "Caveat", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.raleway{
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.open-sans {
    font-family: "Open Sans",sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
     font-variation-settings: "wdth" 100
}
}


body {
h1>*,h2>*,h3>*,h4>*,h5>*,h6>*{
     background: #212126 !important
     font-family: "Montserrat",sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}
}


#maincontentwrapper {
h1 {
     overflow-wrap: break-word;
     font-size: 1.5em;
     color: white
     border-bottom:3px solid black;
}
}
 
h2 {
.navbar-brand {
    font-size: 1.4em;
     color: white
    border-bottom:2px solid black;
}
h3 {font-size: 1.3em;
     border-bottom:1px solid black;
}
}
 
h4 {font-size: 1.2em;margin: 10px 0;}
.navbar-light .navbar-nav .nav-link {
h5 { font-size: 1.1em;margin: 10px 0;}
    color: white
h6 {font-size: 1em;margin: 10px 0;}
dl{
margin-top:0.5rem;
margin-bottom:0.5rem;
}
}
 
body{
.form-control,.mw-htmlform-field-HTMLTextField input,.mw-input select,.mw-input textarea,body #contentwrapper #maincontentwrapper .oo-ui-textInputWidget .oo-ui-inputWidget-input {
        font-family: "Open Sans",sans-serif;
    background: #27272e;
        font-optical-sizing: auto;
    border: 1px solid black;
        font-style: normal;
     border-radius: 0.8rem
        font-variation-settings: "wdth" 100;
        font-size:16px;
     color:darkgray;
}
}
 
header, button{
.form-control:focus,.mw-htmlform-field-HTMLTextField input:focus,.mw-input select:focus,.mw-input textarea:focus,body #contentwrapper #maincontentwrapper .oo-ui-textInputWidget .oo-ui-inputWidget-input:focus {
        font-family: "Raleway",sans-serif;
     background: #212126;
    font-optical-sizing: auto;
     color: white
     font-weight: 500;
     font-style: normal
}
}
 
/*ПРОЧАЯ ХРЕНЬ*/
.navbar-brand {
html{
    color: white
    scroll-behavior:smooth;
}
}


.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover {
.frame1 {
     color: #f8f9fa
    border-radius: 12px;
    border: 1px solid black;
    flex-grow: 1;
    height: 100%;
    position: relative;
    box-shadow: 0px 12px 16px #00000054;
    display: flex;
     flex-direction: column
}
}


#footer,.bg-light {
.frame2 {
     background: #27272e !important
    position: absolute;
    border-radius:12px;
    width: 100%;
    height: 100%;
     background: linear-gradient(to right,#565C61,#1B1B21)
}
}


#tweekiTOC #toc a,#tweekiTOC {
.frame3 {
     color: #9a9a9a
     width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    position: relative
}
}


#tweekiTOC #toc a.active,#tweekiTOC #toc a:focus,#tweekiTOC #toc a:hover {
.frame4 {
     color: white
    filter: invert(35%) sepia(24%) saturate(99%) hue-rotate(164deg) brightness(92%) contrast(92%);
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: .15;
     background-image: url(https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/facets/ripple_texture.png)
}
}


.dropdown-menu {
.frame5 {
     background: #27272e;
     width: 100%;
     border-radius: 0.8rem;
     display: flex;
     padding-bottom: 1px;
     flex-direction: row
    padding-top: 1px;
    border: 1px solid black
}
}


.dropdown-item:focus,.dropdown-item:hover,.dropdown-item {
.frame6 {
     color: #ffffff
    width: 44px;
    min-height: 38px;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
     justify-content: center
}
}


.dropdown-item:focus,.dropdown-item:hover {
.frame7 {
     background: #1b1b1f
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom,rgba(0,0,0,0.2),rgba(0,0,0,0.1));
     border-right: 1px solid rgba(255,255,255,.03)
}
}


.dropdown-item:focus:first-child,.dropdown-item:hover:first-child {
.frame8 {
     border-top-left-radius: 0.8rem;
    width: 32px;
     border-top-right-radius: 0.8rem
    height: 32px;
    background-size: cover;
     z-index: 1;
     filter: drop-shadow(0px 3px 2px rgba(0,0,0,0.3))
}
}


.dropdown-item:focus:last-child,.dropdown-item:hover:last-child {
.frame8 img {
     border-bottom-left-radius: 0.8rem;
     width: 32px;
     border-bottom-right-radius: 0.8rem
     height: auto
}
}


@media (min-width: 768px) {
.frame9 {
     .offset-md-1 {
    display: flex;
        margin-left:0
    flex-direction: row;
     }
     align-items: center;
    font-size: 16px;
    padding: 4px 20px;
    text-shadow: 0px 2px 8px rgba(0,0,0,.5);
     z-index: 1
}
}


@media (min-width: 768px) {
.frame10 {
     .col-md-10 {
    display: flex;
        flex:0 0 100%;
    flex-direction: column;
        max-width: 100%
     height: fit-content;
     }
    padding: 7px;
    background: #090d0fa8;
     z-index: 1
}
}


#firstHeading {
.frame11 {
     border-bottom: 2px solid black;
     font-size: 16px;
     text-align: left;
     color: #8b989e;
     line-height: 1.5em;
     line-height: 1.3;
     padding-left: 5px
    font-weight: 600;
    display: flex;
    flex-direction: row;
     lign-items: top
}
}


@media (min-width: 768px) {
.frame12 {
     #content {
     width: 0px;
        border-radius:5px;
     min-width: 0px
        padding: 0
     }
 
    .col,.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col-auto,.col-lg,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-auto,.col-md,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-md-auto,.col-sm,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-auto {
        padding-left: 5px;
        padding-right: 5px
    }
}
}


@media (min-width: 1200px) {
.frame13 {
     .container,.container-lg,.container-md,.container-sm,.container-xl {
     width: 6px;
        max-width:80%
     height: 6px;
     }
     min-width: 6px;
 
    border-radius: 3px;
     @media (min-width: 768px) {
    background-color: #8b989e;
        .col-md-9 {
    margin-top: 8px
            flex:1;
            flex-basis: 65%;
            flex-grow: 1;
            max-width: 100%
        }
 
        .col-md-3 {
            flex-basis: content;
            max-width: 100%
        }
   
    }
}
}


    body.page-Заглавная_страница.action-view h1.firstHeading,body.page-Заглавная_страница.action-submit h1.firstHeading {
.frame14 {
        display: none
     width: 100%;
     }
     flex-grow: 1;
 
     background: #090d0fa8;
    .navbar-brand {
     z-index: 1
        color: white
    }
 
    .bg-light {
        background: #1b1b1f
    }
    .card-header{
    background-color: rgb(39 39 46);
     border-bottom: 1px solid black;
        padding:0;
     }
    .card{
        background:#212126;
        border:1px solid black;
     }
 
.btn-link, body #contentwrapper #maincontentwrapper .cancelLink .oo-ui-buttonElement-button{
    text-align:left;
    width:100%;
        padding:.75rem 1.25rem;
}
}
#maincontentwrapper .focus.mw-ui-button.mw-ui-progressive, .btn-link:hover, #maincontentwrapper .mw-ui-button.mw-ui-progressive:focus, .btn.focus, .btn:focus, body #contentwrapper #maincontentwrapper button.focus.oo-ui-buttonElement-button, body #contentwrapper #maincontentwrapper button.oo-ui-buttonElement-button:focus, body #contentwrapper #maincontentwrapper input.focus.oo-ui-buttonElement-button, body #contentwrapper #maincontentwrapper input.oo-ui-buttonElement-button:focus, body #contentwrapper #maincontentwrapper label a.focus.oo-ui-buttonElement-button, body #contentwrapper #maincontentwrapper label a.oo-ui-buttonElement-button:focus, input.focus[type=button], input.focus[type=submit], input[type=button]:focus, input[type=submit]:focus{
kbd {
text-decoration: none;
      border: 1px solid #555555;
    border-radius: 0.2em;
    box-shadow: 0.1em 0.1em 0.2em rgba(0, 0, 0, 0.1);
    background-image: linear-gradient(to bottom, #1e1e1e, #393838, #1e1e1e);
    color: lightgrey;
    padding: 0.1em 0.3em;
    font-family: inherit;
    font-size: 0.95em;
}
}
#maincontentwrapper .focus.mw-ui-button.mw-ui-progressive, #maincontentwrapper .mw-ui-button.mw-ui-progressive:focus, .btn.focus, .btn:focus, body #contentwrapper #maincontentwrapper button.focus.oo-ui-buttonElement-button, body #contentwrapper #maincontentwrapper button.oo-ui-buttonElement-button:focus, body #contentwrapper #maincontentwrapper input.focus.oo-ui-buttonElement-button, body #contentwrapper #maincontentwrapper input.oo-ui-buttonElement-button:focus, body #contentwrapper #maincontentwrapper label a.focus.oo-ui-buttonElement-button, body #contentwrapper #maincontentwrapper label a.oo-ui-buttonElement-button:focus, input.focus[type=button], input.focus[type=submit], input[type=button]:focus, input[type=submit]:focus{
/*Рендеринг картинок*/
    box-shadow:none;
img{image-rendering:pixelated;}
 
.wikiEditor-ui-toolbar .page-characters div span {
height:1.5em;
color:white;
}
}
.wikitable{
.wikiEditor-ui-toolbar .booklet > .index >:not(.current):hover {
    color:white;
background:var(--dark);
    border:1px solid black;
}
}
.wikitable>*>tr>td{
 
    background:#212126;
.page-link {
    border:1px solid black;
background-color: transparent !important;
}
.wikitable>*>tr>th{
    background:#27272e;
    border:1px solid black;
}
}
.wikitable>*>tr:hover>th{
#content a.external[href^="https://"], .link-https{
     background:#27272ef5;
     background:none;
}
}
.wikitable>*>tr:hover>td{
.mw-notification{
     background:#27272ef5;
    border: solid 1px #000000;
    border-radius: 8px;
     background-color: #212126;
}
}

Текущая версия от 16:14, 29 сентября 2024

/*ДЛЯ ТЕХ КТО БУДЕТ ПИЗДИТЬ МОЙ КОД - ИДИТЕ НАХУЙ!*/
@import url(https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap);
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');
.montserrat {
    font-family: "Montserrat",sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal
}
.caveat {
  font-family: "Caveat", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.raleway{
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.open-sans {
    font-family: "Open Sans",sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings: "wdth" 100
}

h1>*,h2>*,h3>*,h4>*,h5>*,h6>*{
    font-family: "Montserrat",sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

h1 {
    font-size: 1.5em;
    border-bottom:3px solid black;
}
h2 {
    font-size: 1.4em;
    border-bottom:2px solid black;
}
h3 {font-size: 1.3em;
    border-bottom:1px solid black;
}
h4 {font-size: 1.2em;margin: 10px 0;}
h5 { font-size: 1.1em;margin: 10px 0;}
h6 {font-size: 1em;margin: 10px 0;}
dl{
margin-top:0.5rem;
margin-bottom:0.5rem;
}
body{
        font-family: "Open Sans",sans-serif;
        font-optical-sizing: auto;
        font-style: normal;
        font-variation-settings: "wdth" 100;
        font-size:16px;
    color:darkgray;
}
header, button{
        font-family: "Raleway",sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal
}
/*ПРОЧАЯ ХРЕНЬ*/
html{
     scroll-behavior:smooth;
}

.frame1 {
    border-radius: 12px;
    border: 1px solid black;
    flex-grow: 1;
    height: 100%;
    position: relative;
    box-shadow: 0px 12px 16px #00000054;
    display: flex;
    flex-direction: column
}

.frame2 {
    position: absolute;
    border-radius:12px;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,#565C61,#1B1B21)
}

.frame3 {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    position: relative
}

.frame4 {
    filter: invert(35%) sepia(24%) saturate(99%) hue-rotate(164deg) brightness(92%) contrast(92%);
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: .15;
    background-image: url(https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/facets/ripple_texture.png)
}

.frame5 {
    width: 100%;
    display: flex;
    flex-direction: row
}

.frame6 {
    width: 44px;
    min-height: 38px;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.frame7 {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom,rgba(0,0,0,0.2),rgba(0,0,0,0.1));
    border-right: 1px solid rgba(255,255,255,.03)
}

.frame8 {
    width: 32px;
    height: 32px;
    background-size: cover;
    z-index: 1;
    filter: drop-shadow(0px 3px 2px rgba(0,0,0,0.3))
}

.frame8 img {
    width: 32px;
    height: auto
}

.frame9 {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 16px;
    padding: 4px 20px;
    text-shadow: 0px 2px 8px rgba(0,0,0,.5);
    z-index: 1
}

.frame10 {
    display: flex;
    flex-direction: column;
    height: fit-content;
    padding: 7px;
    background: #090d0fa8;
    z-index: 1
}

.frame11 {
    font-size: 16px;
    color: #8b989e;
    line-height: 1.3;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    lign-items: top
}

.frame12 {
    width: 0px;
    min-width: 0px
}

.frame13 {
    width: 6px;
    height: 6px;
    min-width: 6px;
    border-radius: 3px;
    background-color: #8b989e;
    margin-top: 8px
}

.frame14 {
    width: 100%;
    flex-grow: 1;
    background: #090d0fa8;
    z-index: 1
}
kbd {
      border: 1px solid #555555;
    border-radius: 0.2em;
    box-shadow: 0.1em 0.1em 0.2em rgba(0, 0, 0, 0.1);
    background-image: linear-gradient(to bottom, #1e1e1e, #393838, #1e1e1e);
    color: lightgrey;
    padding: 0.1em 0.3em;
    font-family: inherit;
    font-size: 0.95em;
}
/*Рендеринг картинок*/
img{image-rendering:pixelated;}

.wikiEditor-ui-toolbar .page-characters div span {
	height:1.5em;
	color:white;
}
.wikiEditor-ui-toolbar .booklet > .index >:not(.current):hover {
	background:var(--dark);
}

.page-link {
	background-color: transparent !important;
}
#content a.external[href^="https://"], .link-https{
    background:none;
}
.mw-notification{
    border: solid 1px #000000;
    border-radius: 8px;
    background-color: #212126;
}