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

Страница интерфейса MediaWiki
(Новая страница: «→‎Размещённый здесь CSS будет применяться ко всем темам оформления: .tooltip{ position: relative; } .tooltiptext { position: absolute; display: block; z-index: 2; width: 250px; padding: 10px; visibility: hidden; opacity: 0; white-space: normal; text-align: left; transition: all 0.2s; border: 1px solid #aaa; background-color: #ffdd66; } .tooltipmarine { position: absolute;...»)
 
мНет описания правки
 
(не показано 40 промежуточных версий 2 участников)
Строка 67: Строка 67:
   visibility: visible;
   visibility: visible;
   opacity: 1;
   opacity: 1;
}
/* hide the "Retrieved from" message */
.printfooter {
  display: none;
}
div.tabcontent{
    display:none
}
div.tabcontent.current{
    display:block
}
div.switchtab.label.current{
    color:#000;
    background-color:#00FF00
}
div.kaskadavionics{
    background-image:url(https://wiki.armaproject.ru/resources/assets/Kaskad_avionics.png)
}
.kaskadavionics_menu_button a{
    display:block;
    text-align:center;
    line-height:19px !important;
    font-size:13px;
    color:#00FF00 !important;
    text-decoration:none
}
.kaskadavionics_menu_button a:hover{
    text-decoration:none;
    display:block;
    background:rgba(0,256,0,1) none repeat scroll 0% 0%;
    line-height:19px !important;
    font-size:13px;
    color:#000 !important
}
}


Строка 115: Строка 80:
}
}


.ns-4200 #p-logo a  {
/* Стиль таблицы для описания объектов, без излишеств */
  background-image: url("/skins/TGMC_logo.png") !important;
 
  background-size: contain;
.standart-table {
width:100%;
padding:2px;
border:3px solid grey;
border-radius:8px;
border-spacing:4px;
}
 
.standart-table th {
background-color:dimgray;
color:white;
padding:3px;
border:3px solid black;
border-radius:3px;
}
 
th.capital {
background-color:darkgrey;
color:black;
font-weight:bold;
text-align: center;
padding:3px;
border:3px outset grey;
border-radius:3px;
}
 
.standart-table td {
background-color:rgb(220,220,220,5%);
padding:16px;
}
 
.standart-table td:hover{
background-color:rgb(220,220,220,20%);
}
 
.standart-table td.nohover {
background-color:rgb(220,220,220,5%);
}
 
.standart-table td.nohover:hover{
background-color:rgb(220,220,220,5%);
}
 
.standart-table td.transparent {
background-color:rgb(220,220,220,0%);
}
 
.standart-table td.transparent:hover{
background-color:rgb(220,220,220,0%);
}
 
/* Раскрашивание таблицы выше под стиль SECURITY */
 
.color-security,
tr.color-security {
border-color:#BF4C4C; /* Secondary */
}
.color-security th,
tr.color-security th {
background-color:#BF2626; /* Primary */
border-color:#BF1313; /* Primary Bold */
}
.color-security th.capital,
tr.color-security th.capital {
background-color:#BF4C4C; /* Secondary */
color:#000000; /* Secondary Text */
border-color:#BF1313; /* Primary Bold */
}
 
/* Раскрашивание таблицы выше под стиль SCIENCE */
 
.color-science,
tr.color-science {
border-color:#AA66CC; /* Secondary */
}
.color-science th,
tr.color-science th {
background-color:#9C3DCC; /* Primary */
border-color:#9528CC; /* Primary Bold */
}
.color-science th.capital,
tr.color-science th.capital {
background-color:#AA66CC; /* Secondary */
color:#061306; /* Secondary Text */
border-color:#9528CC; /* Primary Bold */
}
 
/* Раскрашивание таблицы выше под стиль SERVICE */
 
.color-service,
tr.color-service {
border-color:#65B36C; /* Secondary */
}
.color-service th,
tr.color-service th {
background-color:#2A9633; /* Primary */
border-color:#0F961A; /* Primary Bold */
}
.color-service th.capital,
tr.color-service th.capital {
background-color:#65B36C; /* Secondary */
color:#000000; /* Secondary Text */
border-color:#0F961A; /* Primary Bold */
}
 
/* Раскрашивание таблицы выше под стиль ENGINEERING */
 
.color-engineering,
tr.color-engineering {
border-color:#FFBA4C; /* Secondary */
}
.color-engineering th,
tr.color-engineering th {
background-color:#FFAA19; /* Primary */
border-color:#FFA500; /* Primary Bold */
}
.color-engineering th.capital,
tr.color-engineering th.capital {
background-color:#FFBA4C; /* Secondary */
color:#000000; /* Secondary Text */
border-color:#FFA500; /* Primary Bold */
}
 
/* Раскрашивание таблицы выше под стиль COMMAND */
 
.color-command,
tr.color-command {
border-color:#6691FF; /* Secondary */
}
.color-command th,
tr.color-command th {
background-color:#3269FF; /* Primary */
border-color:#195AFF; /* Primary Bold */
}
.color-command th.capital,
tr.color-command th.capital {
background-color:#6691FF; /* Secondary */
color:#000000; /* Secondary Text */
border-color:#195AFF; /* Primary Bold */
}
 
/* Раскрашивание таблицы выше под стиль MEDICAL */
 
.color-medical,
tr.color-medical {
border-color:#66C6FF; /* Secondary */
}
.color-medical th,
tr.color-medical th {
background-color:#32B0FF; /* Primary */
border-color:#19A7FF; /* Primary Bold */
}
.color-medical th.capital,
tr.color-medical th.capital {
background-color:#66C6FF; /* Secondary */
color:#000000; /* Secondary Text */
border-color:#19A7FF; /* Primary Bold */
}
 
/* Раскрашивание таблицы выше под стиль SUPPLY */
 
.color-supply,
tr.color-supply {
border-color:#77552F; /* Secondary */
}
.color-supply th,
tr.color-supply th {
background-color:#7C4C18; /* Primary */
border-color:#7A450C; /* Primary Bold */
}
.color-supply th.capital,
tr.color-supply th.capital {
background-color:#77552F; /* Secondary */
color:#0D150D; /* Secondary Text */
border-color:#7A450C; /* Primary Bold */
}
 
/* Раскрашивание таблицы выше под стиль LAVALAND */
 
.color-lavaland,
tr.color-lavaland {
border-color:#ED8A63; /* Secondary */
}
.color-lavaland th,
tr.color-lavaland th {
background-color:#EE6A34; /* Primary */
border-color:#ED571C; /* Primary Bold */
}
.color-lavaland th.capital,
tr.color-lavaland th.capital {
background-color:#ED8A63; /* Secondary */
color:#000000; /* Secondary Text */
border-color:#ED571C; /* Primary Bold */
}
 
/* Раскрашивание таблицы выше под стиль SYNTHETIC */
 
.color-synthetic,
tr.color-synthetic {
border-color:#4C82BF; /* Secondary */
}
.color-synthetic th,
tr.color-synthetic th {
background-color:#2770C4; /* Primary */
border-color:#1364C1; /* Primary Bold */
}
.color-synthetic th.capital,
tr.color-synthetic th.capital {
background-color:#4C82BF; /* Secondary */
color:#000000; /* Secondary Text */
border-color:#1364C1; /* Primary Bold */
}
 
/* Раскрашивание таблицы выше под стиль WIZARD */
 
.color-wizard,
tr.color-wizard {
border-color:#9866FF; /* Secondary */
}
.color-wizard th,
tr.color-wizard th {
background-color:#7D32FF; /* Primary */
border-color:#6919FF; /* Primary Bold */
}
.color-wizard th.capital,
tr.color-wizard th.capital {
background-color:#9866FF; /* Secondary */
color:#000000; /* Secondary Text */
border-color:#6919FF; /* Primary Bold */
}
 
/* Раскрашивание таблицы выше под стиль ANTAGONIST */
 
.color-antagonist,
tr.color-antagonist {
border-color:#4C1E1E; /* Secondary */
}
.color-antagonist th,
tr.color-antagonist th {
background-color:#190505; /* Primary */
border-color:#160202; /* Primary Bold */
}
.color-antagonist th.capital,
tr.color-antagonist th.capital {
background-color:#4C1E1E; /* Secondary */
color:#D80A0A; /* Secondary Text */
border-color:#160202; /* Primary Bold */
}
 
/* Раскрашивание таблицы выше под стиль RATVAR */
 
.color-ratvar,
tr.color-ratvar {
border-color:#332409; /* Secondary */
}
.color-ratvar th,
tr.color-ratvar th {
background-color:#825b17; /* Primary */
border-color:#6c4b13; /* Primary Bold */
}
.color-ratvar th.capital,
tr.color-ratvar th.capital {
background-color:#332409; /* Secondary */
color:#FFFFFF; /* Secondary Text */
border-color:#6c4b13; /* Primary Bold */
}
 
/* Раскрашивание таблицы выше под стиль XENOMORPH */
 
.color-xenomorph,
tr.color-xenomorph {
border-color:#4c4666; /* Secondary */
}
.color-xenomorph th,
tr.color-xenomorph th {
background-color:#312d43; /* Primary */
border-color:#252138; /* Primary Bold */
}
.color-xenomorph th.capital,
tr.color-xenomorph th.capital {
background-color:#4c4666; /* Secondary */
color:#FFFFFF; /* Secondary Text */
border-color:#252138; /* Primary Bold */
}
 
/* Раскрашивание таблицы выше под стиль MARINE */
 
.color-marine,
tr.color-marine {
border-color:#48648a; /* Secondary */
}
.color-marine th,
tr.color-marine th {
background-color:#2c4c7b; /* Primary */
border-color:#27426d; /* Primary Bold */
}
.color-marine th.capital,
tr.color-marine th.capital {
background-color:#48648a; /* Secondary */
color:#000000; /* Secondary Text */
border-color:#27426d; /* Primary Bold */
}
 
/* Подгон изображения под размер блока */
 
.background-image {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: #242a31;
}
}


.ns-4201 #p-logo a  {
.background-image:after {
  background-image: url("/skins/TGMC_logo.png") !important;
position: absolute;
  background-size: contain;
    pointer-events: none;
top: 0;
bottom: 0;
left: 0;
    right: 0;
    display: block;
    background: linear-gradient(to right,#000,transparent);
    content: "";
}
}


/* Горизонтальный список */
.background-image picture,
#mw-content-text .hlist ul {
.background-image img {
    display: inline;
width: 100%;
    margin: 0;
height: 100%;
    padding: 0;
}
}
#mw-content-text .hlist li {
 
    display: inline;
.background-image img {
object-fit: cover;
object-position: center;
transition: transform 0.2s ease;
}
}
#mw-content-text .hlist li:not(:last-child) {
 
    padding-right: 0.286em;
.background-image:hover img {
transform: scale(1.1);
}
}
#mw-content-text .hlist li:not(:last-child)::after {
 
    content: "";
/* Блок, меняющий цвет под выбранную тему */
    display: inline-block;
 
    position: relative;
.themed-block {
    left: 0.286em;
background: var( --color-surface-1 );
    bottom: 0.214em;
border: 1px solid var( --border-color-base );
    background-color: #000;
color: var( --color-base--emphasized )
    height: 3px;
    width: 3px;
}
}
#mw-content-text .hlist li li:first-child::before {
 
    content: "(";
/* "Кнопка" для ссылки, меняющая цвет под выбранную тему */
    font-weight: normal;
 
.themed-button {
display: flex;
padding: 0.2em;
}
}
#mw-content-text .hlist li li:last-child::after {
 
     content: ")";
.themed-button a {
     font-weight: normal;
flex-grow: 1;
padding: var( --space-xs );
border: 1px solid var( --border-color-base );
background: var( --color-surface-2 );
border-radius: var( --border-radius--medium );
color: var( --color-base--emphasized ) !important;
     line-height: var( --line-height-xs );
     text-decoration: none !important;
}
}
#mw-content-text .hlist li li li {
 
    font-size: x-small;
.themed-button a:hover {
background: var( --color-surface-2--hover );
}
}


/* Кнопка "Вверх": [[paradise:Файл:Scroll_top.png]] */
.themed-button a:active {
#scroll-top
background: var( --color-surface-2--active );
{
}
display: none;
background: url(https://wiki.ss220.space/images/f/f4/Scroll_top.gif) 0% 0%/38px 38px no-repeat;
opacity: 0.3;
width: 38px;
height: 38px;
cursor: pointer;
position: fixed;
left: calc(11em - 19px);
bottom: 30px;
z-index: 10000;
image-rendering: optimizeSpeed;
image-rendering: -webkit-optimize-contrast;
image-rendering: optimize-contrast;
image-rendering: -moz-crisp-edges;
image-rendering: -o-crisp-edges;
image-rendering: crisp-edges;
image-rendering: pixelated;
-ms-interpolation-mode: nearest-neighbor;
}
 
#scroll-top:hover
{
opacity: 0.8;
}
 
/* Стрелочки для сворачиваемого меню [[Файл:Arrow-down.png]] [[Файл:Arrow-right.png]] */
.client-js .vector-menu-portal.expanded .vector-menu-heading a {
background-image: url("https://wiki.ss220.space/images/f/fb/Arrow-down.png");
background-repeat: no-repeat;
padding-left: 1.35em;
}
.client-js .vector-menu-portal.collapsed .vector-menu-heading a {
background-image: url("https://wiki.ss220.space/images/c/c5/Arrow-right.png");
background-repeat: no-repeat;
padding-left: 1.35em;
}
.vector-menu-portal {
margin-left: 0.1em;
}
#mw-panel.collapsible-nav .portal .vector-menu-content {
margin-left: 0.5em;
}
/* Цвет заголовков сворачиваемых разделов в sidebar обратно в серый */
.vector-menu-portal .vector-menu-heading a {
color: #54595d;
text-decoration: none;
}

Текущая версия от 08:44, 30 марта 2024

/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.tooltip{
  position: relative;
}

.tooltiptext {
  position: absolute;
  display: block;
  z-index: 2;
  width: 250px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  white-space: normal;
  text-align: left;
  transition: all 0.2s;
  border: 1px solid #aaa;
  background-color: #ffdd66;
}

.tooltipmarine {
  position: absolute;
  display: block;
  z-index: 2;
  width: fit-content;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  white-space: normal;
  text-align: left;
  transition: all 0.2s;
}

.tooltiptable {
  position: absolute;
  display: block;
  z-index: 2;
  max-width:600px;
  width:max-content;
  padding: 10px;
  top:11pt;
  right:-55px;
  visibility: hidden;
  opacity: 0;
  white-space: normal;
  text-align: left;
  transition: all 0.2s;
  border: 1px solid #666;
  background-color: #ff6666;
}

.tooltip:hover>.tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltip:hover>.tooltipmarine {
  visibility: visible;
  opacity: 1;
}

.tooltipmarine > * {
    width: max-content;
}

.tooltip:hover>.tooltiptable {
  visibility: visible;
  opacity: 1;
}

img {
    image-rendering: optimizeSpeed;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
}

/* Стиль таблицы для описания объектов, без излишеств */

.standart-table		{
					width:100%;
					padding:2px;
					border:3px solid grey;
					border-radius:8px;
					border-spacing:4px;
					}

.standart-table th	{
					background-color:dimgray;
					color:white;
					padding:3px;
					border:3px solid black;
					border-radius:3px;
					}

th.capital			{
					background-color:darkgrey;
					color:black;
					font-weight:bold;
					text-align: center;
					padding:3px;
					border:3px outset grey;
					border-radius:3px;
					}

.standart-table td	{
					background-color:rgb(220,220,220,5%);
					padding:16px;
					}

.standart-table td:hover{
						background-color:rgb(220,220,220,20%);
						}

.standart-table td.nohover			{
					background-color:rgb(220,220,220,5%);
					}

.standart-table td.nohover:hover{
						background-color:rgb(220,220,220,5%);
						}

.standart-table td.transparent		{
					background-color:rgb(220,220,220,0%);
					}

.standart-table td.transparent:hover{
						background-color:rgb(220,220,220,0%);
						}

/* Раскрашивание таблицы выше под стиль SECURITY */

.color-security,
tr.color-security		{
						border-color:#BF4C4C; 					/* Secondary */
						}
.color-security th,
tr.color-security th	{
						background-color:#BF2626; 				/* Primary */
						border-color:#BF1313; 					/* Primary Bold */
						}
.color-security th.capital,
tr.color-security th.capital {
						background-color:#BF4C4C; 				/* Secondary */
						color:#000000;							/* Secondary Text */
						border-color:#BF1313; 					/* Primary Bold */
						}

/* Раскрашивание таблицы выше под стиль SCIENCE */

.color-science,
tr.color-science		{
						border-color:#AA66CC; 					/* Secondary */
						}
.color-science th,
tr.color-science th	{
						background-color:#9C3DCC; 				/* Primary */
						border-color:#9528CC; 					/* Primary Bold */
						}
.color-science th.capital,
tr.color-science th.capital {
						background-color:#AA66CC; 				/* Secondary */
						color:#061306;							/* Secondary Text */
						border-color:#9528CC; 					/* Primary Bold */
						}

/* Раскрашивание таблицы выше под стиль SERVICE */

.color-service,
tr.color-service		{
						border-color:#65B36C; 					/* Secondary */
						}
.color-service th,
tr.color-service th	{
						background-color:#2A9633; 				/* Primary */
						border-color:#0F961A; 					/* Primary Bold */
						}
.color-service th.capital,
tr.color-service th.capital {
						background-color:#65B36C; 				/* Secondary */
						color:#000000;							/* Secondary Text */
						border-color:#0F961A; 					/* Primary Bold */
						}

/* Раскрашивание таблицы выше под стиль ENGINEERING */

.color-engineering,
tr.color-engineering	{
						border-color:#FFBA4C; 					/* Secondary */
						}
.color-engineering th,
tr.color-engineering th	{
						background-color:#FFAA19; 				/* Primary */
						border-color:#FFA500; 					/* Primary Bold */
						}
.color-engineering th.capital,
tr.color-engineering th.capital {
						background-color:#FFBA4C; 				/* Secondary */
						color:#000000;							/* Secondary Text */
						border-color:#FFA500; 					/* Primary Bold */
						}

/* Раскрашивание таблицы выше под стиль COMMAND */

.color-command,
tr.color-command		{
						border-color:#6691FF; 					/* Secondary */
						}
.color-command th,
tr.color-command th		{
						background-color:#3269FF; 				/* Primary */
						border-color:#195AFF; 					/* Primary Bold */
						}
.color-command th.capital,
tr.color-command th.capital {
						background-color:#6691FF; 				/* Secondary */
						color:#000000;							/* Secondary Text */
						border-color:#195AFF; 					/* Primary Bold */
						}

/* Раскрашивание таблицы выше под стиль MEDICAL */

.color-medical,
tr.color-medical		{
						border-color:#66C6FF; 					/* Secondary */
						}
.color-medical th,
tr.color-medical th		{
						background-color:#32B0FF; 				/* Primary */
						border-color:#19A7FF; 					/* Primary Bold */
						}
.color-medical th.capital,
tr.color-medical th.capital {
						background-color:#66C6FF; 				/* Secondary */
						color:#000000;							/* Secondary Text */
						border-color:#19A7FF; 					/* Primary Bold */
						}

/* Раскрашивание таблицы выше под стиль SUPPLY */

.color-supply,
tr.color-supply		{
						border-color:#77552F; 					/* Secondary */
						}
.color-supply th,
tr.color-supply th		{
						background-color:#7C4C18; 				/* Primary */
						border-color:#7A450C; 					/* Primary Bold */
						}
.color-supply th.capital,
tr.color-supply th.capital {
						background-color:#77552F; 				/* Secondary */
						color:#0D150D;							/* Secondary Text */
						border-color:#7A450C; 					/* Primary Bold */
						}

/* Раскрашивание таблицы выше под стиль LAVALAND */

.color-lavaland,
tr.color-lavaland		{
						border-color:#ED8A63; 					/* Secondary */
						}
.color-lavaland th,
tr.color-lavaland th		{
						background-color:#EE6A34; 				/* Primary */
						border-color:#ED571C; 					/* Primary Bold */
						}
.color-lavaland th.capital,
tr.color-lavaland th.capital {
						background-color:#ED8A63; 				/* Secondary */
						color:#000000;							/* Secondary Text */
						border-color:#ED571C; 					/* Primary Bold */
						}

/* Раскрашивание таблицы выше под стиль SYNTHETIC */

.color-synthetic,
tr.color-synthetic		{
						border-color:#4C82BF; 					/* Secondary */
						}
.color-synthetic th,
tr.color-synthetic th		{
						background-color:#2770C4; 				/* Primary */
						border-color:#1364C1; 					/* Primary Bold */
						}
.color-synthetic th.capital,
tr.color-synthetic th.capital {
						background-color:#4C82BF; 				/* Secondary */
						color:#000000;							/* Secondary Text */
						border-color:#1364C1; 					/* Primary Bold */
						}

/* Раскрашивание таблицы выше под стиль WIZARD */

.color-wizard,
tr.color-wizard		{
						border-color:#9866FF; 					/* Secondary */
						}
.color-wizard th,
tr.color-wizard th		{
						background-color:#7D32FF; 				/* Primary */
						border-color:#6919FF; 					/* Primary Bold */
						}
.color-wizard th.capital,
tr.color-wizard th.capital {
						background-color:#9866FF; 				/* Secondary */
						color:#000000;							/* Secondary Text */
						border-color:#6919FF; 					/* Primary Bold */
						}

/* Раскрашивание таблицы выше под стиль ANTAGONIST */

.color-antagonist,
tr.color-antagonist		{
						border-color:#4C1E1E; 					/* Secondary */
						}
.color-antagonist th,
tr.color-antagonist th	{
						background-color:#190505; 				/* Primary */
						border-color:#160202; 					/* Primary Bold */
						}
.color-antagonist th.capital,
tr.color-antagonist th.capital {
						background-color:#4C1E1E; 				/* Secondary */
						color:#D80A0A;							/* Secondary Text */
						border-color:#160202; 					/* Primary Bold */
						}

/* Раскрашивание таблицы выше под стиль RATVAR */

.color-ratvar,
tr.color-ratvar		{
						border-color:#332409; 					/* Secondary */
						}
.color-ratvar th,
tr.color-ratvar th		{
						background-color:#825b17; 				/* Primary */
						border-color:#6c4b13; 					/* Primary Bold */
						}
.color-ratvar th.capital,
tr.color-ratvar th.capital {
						background-color:#332409; 				/* Secondary */
						color:#FFFFFF;							/* Secondary Text */
						border-color:#6c4b13; 					/* Primary Bold */
						}

/* Раскрашивание таблицы выше под стиль XENOMORPH */

.color-xenomorph,
tr.color-xenomorph		{
						border-color:#4c4666; 					/* Secondary */
						}
.color-xenomorph th,
tr.color-xenomorph th	{
						background-color:#312d43; 				/* Primary */
						border-color:#252138; 					/* Primary Bold */
						}
.color-xenomorph th.capital,
tr.color-xenomorph th.capital {
						background-color:#4c4666; 				/* Secondary */
						color:#FFFFFF;							/* Secondary Text */
						border-color:#252138; 					/* Primary Bold */
						}

/* Раскрашивание таблицы выше под стиль MARINE */

.color-marine,
tr.color-marine		{
						border-color:#48648a; 					/* Secondary */
						}
.color-marine th,
tr.color-marine th		{
						background-color:#2c4c7b; 				/* Primary */
						border-color:#27426d; 					/* Primary Bold */
						}
.color-marine th.capital,
tr.color-marine th.capital {
						background-color:#48648a; 				/* Secondary */
						color:#000000;							/* Secondary Text */
						border-color:#27426d; 					/* Primary Bold */
						}

/* Подгон изображения под размер блока */

.background-image {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: #242a31;
}

.background-image:after {
	position: absolute;
    pointer-events: none;
	top: 0;
	bottom: 0;
	left: 0;
    right: 0;
    display: block;
    background: linear-gradient(to right,#000,transparent);
    content: "";
}

.background-image picture,
.background-image img {
	width: 100%;
	height: 100%;
}

.background-image img {
	object-fit: cover;
	object-position: center;
	transition: transform 0.2s ease;
}

.background-image:hover img {
	transform: scale(1.1);
}

/* Блок, меняющий цвет под выбранную тему */ 

.themed-block {
	background: var( --color-surface-1 );
	border: 1px solid var( --border-color-base );
	color: var( --color-base--emphasized )
}

/* "Кнопка" для ссылки, меняющая цвет под выбранную тему */ 

.themed-button {
	display: flex;
	padding: 0.2em;
}

.themed-button a {
	flex-grow: 1;
	padding: var( --space-xs );
	border: 1px solid var( --border-color-base );
	background: var( --color-surface-2 );
	border-radius: var( --border-radius--medium );
	color: var( --color-base--emphasized ) !important;
    line-height: var( --line-height-xs );
    text-decoration: none !important;
}

.themed-button a:hover {
	background: var( --color-surface-2--hover );
}

.themed-button a:active {
	background: var( --color-surface-2--active );
}