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

Материал из Space Station 14 Вики
мНет описания правки
Нет описания правки
Строка 1: Строка 1:
.research {
.research {
    display: grid;
display: grid;
    grid-template-rows: 0fr 0fr;
grid-template-rows: 0fr 0fr;
    grid-template-columns: 0fr;
grid-template-columns: 0fr;
    background: #292931;
background: #2c2c35;
    font-size: 14px;
font-size: 14px;
    padding: 10px;
padding: 10px;
    border-top: 10px solid silver;
border-top: 10px solid silver;
    box-shadow: inset 0px 0px 4px 0px rgba(0, 0, 0, 0.3);
box-shadow: inset 0px 0px 6px 0px rgba(0, 0, 0, 0.3);
    border-radius: 0.2em;
border-radius: 0.2em;
}
}


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


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


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


.research__unblocks {
.research__unblocks {
    grid-column: 1 / 3;
grid-column: 1 / 3;
    margin-top: 8px;
margin-top: 8px;
}
}


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


.research li {
.research li {
    list-style-type: none;
list-style-type: none;
    color: yellow;
color: yellow;
}
}


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


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


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



Версия от 15:29, 7 октября 2024

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

.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 #3e3e55;
	padding-bottom: 6px;
}

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

.research__unblocks {
	grid-column: 1 / 3;
	margin-top: 8px;
}

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

.research li {
	list-style-type: none;
	color: yellow;
}

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

#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;
}

@media (max-width: 800px) {
	.research__technology {
		display: none;
	}
}