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

Материал из Vanilla Station
Перейти к: навигация, поиск
мНет описания правки
Нет описания правки
 
(не показана 41 промежуточная версия 2 участников)
Строка 1: Строка 1:
.navbar-light .navbar-brand,.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover,#maincontentwrapper,.navbar-brand,.navbar-light .navbar-nav .nav-link,.navbar-brand {
/*ДЛЯ ТЕХ КТО БУДЕТ ПИЗДИТЬ МОЙ КОД - ИДИТЕ НАХУЙ!*/
     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
}
}
body {
.caveat {
    background: #212126 !important
  font-family: "Caveat", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
}
 
.raleway{
.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: "Raleway", sans-serif;
    background: #27272e;
  font-optical-sizing: auto;
    border: 1px solid black;
  font-weight: 400;
    border-radius: 0.8rem
  font-style: normal;
}
}
.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 {
.open-sans {
     background: #212126;
    font-family: "Open Sans",sans-serif;
     color: white
    font-optical-sizing: auto;
    font-weight: 300;
     font-style: normal;
     font-variation-settings: "wdth" 100
}
}


.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover {
h1>*,h2>*,h3>*,h4>*,h5>*,h6>*{
     color: #f8f9fa
    font-family: "Montserrat",sans-serif;
    font-optical-sizing: auto;
     font-style: normal;
}
}


#footer,.bg-light {
h1 {
     background: #27272e !important
    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{
#tweekiTOC #toc a,#tweekiTOC {
        font-family: "Raleway",sans-serif;
    color: #9a9a9a
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal
}
/*ПРОЧАЯ ХРЕНЬ*/
html{
    scroll-behavior:smooth;
}
}


#tweekiTOC #toc a.active,#tweekiTOC #toc a:focus,#tweekiTOC #toc a:hover {
.frame1 {
     color: white
    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
}
}


.dropdown-menu {
.frame2 {
     background: #27272e;
     position: absolute;
     border-radius: 0.8rem;
     border-radius:12px;
     padding-bottom: 1px;
     width: 100%;
     padding-top: 1px;
     height: 100%;
     border: 1px solid black
     background: linear-gradient(to right,#565C61,#1B1B21)
}
}


.dropdown-item:focus,.dropdown-item:hover,.dropdown-item {
.frame3 {
     color: #ffffff
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
     position: relative
}
}


.dropdown-item:focus,.dropdown-item:hover {
.frame4 {
     background: #1b1b1f
    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-item:focus:first-child,.dropdown-item:hover:first-child {
.frame5 {
     border-top-left-radius: 0.8rem;
    width: 100%;
     border-top-right-radius: 0.8rem
     display: flex;
     flex-direction: row
}
}


.dropdown-item:focus:last-child,.dropdown-item:hover:last-child {
.frame6 {
     border-bottom-left-radius: 0.8rem;
    width: 44px;
     border-bottom-right-radius: 0.8rem
    min-height: 38px;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
     align-items: center;
     justify-content: center
}
}


@media (min-width: 768px) {
.frame7 {
    .offset-md-1 {
     width: 100%;
        margin-left:0
    height: 100%;
     }
     position: absolute;
    .col-md-10 {
    top: 0;
        flex:0 0 100%;
     left: 0;
        max-width: 100%
     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)
        #content {
        border-radius:5px;
        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
    }
            .col-md-9 {
            flex:1;
            flex-basis: 65%;
            flex-grow: 1;
            max-width: 100%
        }
 
        .col-md-3 {
            flex-basis: content;
            max-width: 100%
        }
}
}


#firstHeading {
.frame8 {
     border-bottom: 2px solid black;
     width: 32px;
     text-align: left;
    height: 32px;
     line-height: 1.5em;
     background-size: cover;
     padding-left: 5px
     z-index: 1;
     filter: drop-shadow(0px 3px 2px rgba(0,0,0,0.3))
}
}


@media (min-width: 1200px) {
.frame8 img {
     .container,.container-lg,.container-md,.container-sm,.container-xl {
     width: 32px;
        max-width:80%
     height: auto
     }
 
}
}


body.page-Заглавная_страница.action-view h1.firstHeading,body.page-Заглавная_страница.action-submit h1.firstHeading {
.frame9 {
     display: none
    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
}
}


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


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


.card-header {
.frame12 {
     background-color: rgb(39 39 46);
     width: 0px;
     border-bottom: 1px solid black;
     min-width: 0px
    padding: 0
}
}


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


.btn-link,body #contentwrapper #maincontentwrapper .cancelLink .oo-ui-buttonElement-button {
.frame14 {
    text-align: left;
     width: 100%;
     width: 100%;
     padding: .75rem 1.25rem
     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;}


#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 {
.wikiEditor-ui-toolbar .page-characters div span {
    text-decoration: none
height:1.5em;
color:white;
}
}
 
.wikiEditor-ui-toolbar .booklet > .index >:not(.current):hover {
#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 {
background:var(--dark);
    box-shadow: none
}
}


.wikitable {
.page-link {
    color: white;
background-color: transparent !important;
    border: 1px solid black
}
.wikitable>*>tr>td {
    background: #212126;
    border: 1px solid black
}
}
.wikitable>*>tr>th {
#content a.external[href^="https://"], .link-https{
     background: #27272e;
     background:none;
    border: 1px solid black
}
}
.wikitable>*>tr:hover>th,.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;
}