Шаблон:Research/styles.css: различия между версиями

Материал из Space Station 14 Вики
(Новая страница: «.tabs-tabbox > .tabs-container { padding: 20px 14px; } .research-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 20px; } .research { display: grid; grid-template-rows: 0fr 0fr; grid-template-columns: 0fr; background: #292931; font-size: 14px; padding: 10px; border-top: 10px solid silver; box-shadow: inset 0px 0px 4px 0px rgba(0, 0, 0, 0.3); color: #e1e1e1; bor...»)
 
мНет описания правки
 
(не показано 19 промежуточных версий этого же участника)
Строка 1: Строка 1:
.tabs-tabbox > .tabs-container {
.research {
    padding: 20px 14px;
display: grid;
grid-template-rows: 0fr 0fr;
grid-template-columns: 0fr;
background: #2b2b35;
font-size: 14px;
padding: 10px;
border-top: 10px solid silver;
box-shadow: inset 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
border-radius: 0.2em;
color: #dddddd;
}
}


.research-grid {
.research__images {
    display: grid;
grid-row: 1 / 3;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
margin-right: 14px;
    gap: 20px;
}
}


 
.research__name {
.research {
display: flex;
    display: grid;
justify-content: space-between;
    grid-template-rows: 0fr 0fr;
font-weight: bold;
    grid-template-columns: 0fr;
font-size: 16px;
    background: #292931;
border-bottom: 2px solid #525567;
    font-size: 14px;
padding-bottom: 6px;
    padding: 10px;
    border-top: 10px solid silver;
    box-shadow: inset 0px 0px 4px 0px rgba(0, 0, 0, 0.3);
    color: #e1e1e1;
    border-radius: 0.2em;
}
}


.research__images {
.research__type {
    grid-row: 1 / 3;
display: flex;
    margin-right: 14px;
justify-content: space-between;
flex-wrap: wrap;
gap: 0 5px;
margin-top: 6px;
}
}


.research__name {
.research__technologies {
    display: flex;
display: grid;
    justify-content: space-between;
grid-column: 1 / 3;
    font-weight: bold;
grid-template-rows: 0fr 0fr;
    font-size: 16px;
gap: 6px;
    border-bottom: 2px solid #4c4c5d;
margin-top: 10px;
    padding-bottom: 6px;
}
}


.research__type {
.research__technologies ul {
    display: flex;
margin: 4px 0 0 0;
    justify-content: space-between;
    margin-top: 6px;
}
}


.research__unblocks {
.research__technologies li::before {
    grid-column: 1 / 3;
content: "-";  
    margin-top: 8px;
margin-right: 4px;
color: lightgrey;
}
}


.research ul {
.research__technologies li {
    margin: 4px 0 0 0;
list-style-type: none;
}
}


.research li {
.research__technologies-unblocks li {
    list-style-type: none;
color: #eded00;
    color: yellow;
}
}


.research li::before {
.research__technologies-prerequisites span {
    content: "-";
color: #af65db;
    margin-right: 2px;
    color: lightgrey;
    font-weight: 500;
    font-size: 18px;
}
}


#Arsenal.research {
#Arsenal.research {
    border-top-color: #b32134;
border-top-color: #a92424;
}
}
#Industrial.research {
#Industrial.research {
    border-top-color: #eeac34;
border-top-color: #dc9f30;
}
}
#Experimental.research {
#Experimental.research {
    border-top-color: #9a6ef0;
border-top-color: #835dcc;
}
}
#CivilianServices.research {
#CivilianServices.research {
    border-top-color: #7ecd48;
border-top-color: #68a93b;
}
}


#Arsenal .research__category {
#Arsenal .research__technology {
    color: #dc373b;
color: #dc373b;
}
}
#Industrial .research__category {
#Industrial .research__technology {
    color: #eeac34;
color: #eeac34;
}
}
#Experimental .research__category {
#Experimental .research__technology {
    color: #9a6ef0;
color: #9a6ef0;
}
}
#CivilianServices .research__category {
#CivilianServices .research__technology {
    color: #7ecd48;
color: #7ecd48;
}
}

Текущая версия от 13:38, 21 ноября 2024

.research {
	display: grid;
	grid-template-rows: 0fr 0fr;
	grid-template-columns: 0fr;
	background: #2b2b35;
	font-size: 14px;
	padding: 10px;
	border-top: 10px solid silver;
	box-shadow: inset 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
	border-radius: 0.2em;
	color: #dddddd;
}

.research__images {
	grid-row: 1 / 3;
	margin-right: 14px;
}

.research__name {
	display: flex;
	justify-content: space-between;
	font-weight: bold;
	font-size: 16px;
	border-bottom: 2px solid #525567;
	padding-bottom: 6px;
}

.research__type {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0 5px;
	margin-top: 6px;
}

.research__technologies {
	display: grid;
	grid-column: 1 / 3;
	grid-template-rows: 0fr 0fr;
	gap: 6px;
	margin-top: 10px;
}

.research__technologies ul {
	margin: 4px 0 0 0;
}

.research__technologies li::before {
	content: "-"; 
	margin-right: 4px;
	color: lightgrey;
}

.research__technologies li {
	list-style-type: none;
}

.research__technologies-unblocks li {
	color: #eded00;
}

.research__technologies-prerequisites span {
	color: #af65db;
}

#Arsenal.research {
	border-top-color: #a92424;
}
#Industrial.research {
	border-top-color: #dc9f30;
}
#Experimental.research {
	border-top-color: #835dcc;
}
#CivilianServices.research {
	border-top-color: #68a93b;
}

#Arsenal .research__technology {
	color: #dc373b;
}
#Industrial .research__technology {
	color: #eeac34;
}
#Experimental .research__technology {
	color: #9a6ef0;
}
#CivilianServices .research__technology {
	color: #7ecd48;
}