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

Материал из Vanilla Station
Перейти к: навигация, поиск
Нет описания правки
Нет описания правки
 
(не показано 26 промежуточных версий 2 участников)
Строка 1: Строка 1:
/*ДЛЯ ТЕХ КТО БУДЕТ ПИЗДИТЬ МОЙ КОД - ИДИТЕ НАХУЙ!*/
/*ДЛЯ ТЕХ КТО БУДЕТ ПИЗДИТЬ МОЙ КОД - ИДИТЕ НАХУЙ!*/
@font-face {
@import url(https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap);
     font-family: 'Material Symbols Outlined';
@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;
     font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v170/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format('woff2')
}
}
@font-face {
 
     font-family: "Radiance";
h1 {
     src: url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/radiance.eot");
    font-size: 1.5em;
     src: url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/radiance.eot?#iefix") format("embedded-opentype"),url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/radiance.woff") format("woff"),url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/radiance.ttf") format("truetype"),url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/radiance.svg#ywftsvg") format("svg");
    border-bottom:3px solid black;
     font-weight: normal;
}
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
     font-style: normal
}
/*ПРОЧАЯ ХРЕНЬ*/
html{
    scroll-behavior:smooth;
}
}


@font-face {
.frame1 {
     font-family: "Radiance";
     border-radius: 12px;
     src: url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/radiance-bold.eot");
     border: 1px solid black;
     src: url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/radiance-bold.eot?#iefix") format("embedded-opentype"),url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/radiance-bold.woff") format("woff"),url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/radiance-bold.ttf") format("truetype"),url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/radiance-bold.svg#ywftsvg") format("svg");
    flex-grow: 1;
     font-weight: 900;
     height: 100%;
     font-style: normal
    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)
}
}


@font-face {
.frame3 {
     font-family: "Radiance";
     width: 100%;
     src: url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/radiance-semibold.eot");
     height: fit-content;
     src: url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/radiance-semibold.eot?#iefix") format("embedded-opentype"),url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/radiance-semibold.woff") format("woff"),url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/radiance-semibold.ttf") format("truetype"),url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/radiance-semibold.svg#ywftsvg") format("svg");
     display: flex;
     font-weight: 700;
     flex-direction: row;
     font-style: normal
     position: relative
}
}


.material-symbols-outlined {
.frame4 {
     font-family: 'Material Symbols Outlined';
     filter: invert(35%) sepia(24%) saturate(99%) hue-rotate(164deg) brightness(92%) contrast(92%);
    font-weight: normal;
     position: absolute;
     font-style: normal;
     width: 100%;
     font-size: 24px;
     height: 100%;
     line-height: 1;
     background-size: cover;
     letter-spacing: normal;
     opacity: .15;
    text-transform: none;
     background-image: url(https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/facets/ripple_texture.png)
     display: inline-block;
     white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased
}
}
@font-face {
 
     font-family: "Reaver";
.frame5 {
     src: url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/Reaver-Regular.woff") format("woff"),url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/Reaver-Regular.ttf") format("truetype");
     width: 100%;
    font-weight: 400;
     display: flex;
     font-style: normal
     flex-direction: row
}
}


@font-face {
.frame6 {
     font-family: "Reaver";
     width: 44px;
     src: url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/Reaver-Light.woff") format("woff"),url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/Reaver-Regular-Light.ttf") format("truetype");
    min-height: 38px;
     font-weight: 200;
     height: 100%;
     font-style: normal
    position: relative;
    display: flex;
    flex-direction: column;
     align-items: center;
     justify-content: center
}
}


@font-face {
.frame7 {
     font-family: "Reaver";
     width: 100%;
     src: url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/Reaver-SemiBold.woff") format("woff"),url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/Reaver-Regular-SemiBold.ttf") format("truetype");
    height: 100%;
     font-weight: 600;
    position: absolute;
    font-style: normal
    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)
}
}


@font-face {
.frame8 {
     font-family: "Reaver";
     width: 32px;
     src: url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/Reaver-Bold.woff") format("woff"),url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/Reaver-Regular-Bold.ttf") format("truetype");
     height: 32px;
     font-weight: 700;
    background-size: cover;
     font-style: normal
     z-index: 1;
     filter: drop-shadow(0px 3px 2px rgba(0,0,0,0.3))
}
}


@font-face {
.frame8 img {
     font-family: "Reaver";
     width: 32px;
    src: url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/Reaver-Black.woff") format("woff"),url("https://cdn.cloudflare.steamstatic.com/apps/dota2/fonts/Reaver-Regular-Black.ttf") format("truetype");
     height: auto
    font-weight: 800;
     font-style: normal
}
}


*{font-family: "Radiance",sans-serif;}
.frame9 {
h1,h2,h3,h4,h5,h6 {
     display: flex;
     text-shadow: 0px 12px 30px #0000008f;
     flex-direction: row;
     font-family: "Reaver", serif;
     align-items: center;
     font-style: normal;
     font-size: 16px;
     font-weight: 700;
     padding: 4px 20px;
     line-height: 120%;
     text-shadow: 0px 2px 8px rgba(0,0,0,.5);
     letter-spacing: 1.36px;
     z-index: 1
     position: relative;
    margin-top: .5rem;
}
}
h1{
 
     font-size:32px;
.frame10 {
     text-align:center !important;
     display: flex;
     letter-spacing: 2.36px !important;
     flex-direction: column;
     border-bottom: 2px solid black;
     height: fit-content;
     line-height: 1.5em;
    padding: 7px;
     background: #090d0fa8;
     z-index: 1
}
}
h2{
 
     font-size:20px;
.frame11 {
     font-size: 16px;
    color: #8b989e;
    line-height: 1.3;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    lign-items: top
}
}
h3{
 
     font-size:18px;
.frame12 {
     width: 0px;
    min-width: 0px
}
}
h4,h5,h6{
 
     font-size:16px;
.frame13 {
     width: 6px;
    height: 6px;
    min-width: 6px;
    border-radius: 3px;
    background-color: #8b989e;
    margin-top: 8px
}
}


/*ПРОЧАЯ ХРЕНЬ*/
.frame14 {
.frame1 {border-radius: 12px;overflow: hidden;border: 1px solid black;flex-basis: calc(33% - 8px);flex-grow: 1;height: auto;position: relative;box-shadow: 0px 12px 16px #00000054;display: flex;flex-direction: column;margin-bottom: 10px}
    width: 100%;
.frame2 {position: absolute;width: 100%;height: 100%;background: linear-gradient(to right,#565C61,#1B1B21)}
    flex-grow: 1;
.frame3 {width: 100%;height: fit-content;display: flex;flex-direction: row;position: relative}
    background: #090d0fa8;
.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)}
    z-index: 1
.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;color: #fff;text-transform: uppercase;font-size: 16px;letter-spacing: 1px;font-weight: 600;padding: 4px 20px;font-family: Reaver,serif;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;gap: 6px;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 {
kbd {
       border: 1px solid #555555;
       border: 1px solid #555555;
Строка 133: Строка 208:
     font-family: inherit;
     font-family: inherit;
     font-size: 0.95em;
     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;
}
}

Текущая версия от 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;
}