Участник:Alivepillow/common.css
Материал из Space Station 14 | Время приключений Вики
Дополнительные действия
Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.
- Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
- Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
- Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
- Opera: Нажмите Ctrl+F5.
/*** Шаблон: Cellimage ***/
.boxplate {
font-family: sans-serif;
display: flex;
flex-flow: row wrap;
background-color: rgb(102, 102, 102);
justify-content: space-around;
align-items: center;
width: 100%;
min-height: 500px;
align-content: space-around;
gap: 20px 20px;
box-sizing: border-box;
padding: 20px;
}
.boxplate .cellbox__title {
position: relative;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
min-height: 38px;
padding: 6px 15px;
background-color: #0b1524;
color: #ffffff;
font-weight: bold;
font-size: 15px;
text-align: center;
box-sizing: border-box;
border-bottom: 2px solid #b30000;
margin-bottom: 25px;
}
.boxplate a,
.boxplate a:hover,
.boxplate a:visited {
text-decoration: none;
}
.boxplate .cellbox {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 15px;
border-radius: 15px;
background-color: rgb(56, 56, 56);
flex: 0 0 calc((100% - (4 * 20px)) / 5);
min-width: 120px;
color: #ffffff;
transition: background-color 0.2s ease;
box-sizing: border-box;
}
.boxplate a:hover .cellbox {
background-color: rgb(75, 75, 75);
cursor: pointer;
color: #ffffff;
}
.boxplate .cellbox__img-wrapper {
display: flex;
justify-content: center;
align-items: center;
width: 64px;
height: 64px;
margin-bottom: 10px;
}
.boxplate .cellbox__img-wrapper a,
.boxplate .cellbox__img-wrapper img {
display: block;
max-width: 100%;
max-height: 100%;
object-fit: contain;
margin: 0 auto;
}
.boxplate .cellbox__text {
display: block;
font-size: 14px;
word-break: break-word;
color: #ffffff;
}