Участник:alivepillow/common.css
| Строка 1: | Строка 1: | ||
/*** Шаблон: kventcard***/ | |||
.wiki-grid { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); | |||
gap: 20px; | |||
max-width: 1200px; | |||
margin: 15px auto; | |||
} | |||
.wiki-card { | |||
background-color: #161b22; | |||
border: 1px solid #30363d; | |||
border-radius: 12px; | |||
overflow: hidden; | |||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); | |||
display: flex; | |||
flex-direction: column; | |||
} | |||
.card-image { | |||
width: 100%; | |||
height: 300px; | |||
background-color: #0d1117; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
overflow: hidden; | |||
border-bottom: 1px solid #30363d; | |||
} | |||
.card-image img { | |||
max-width: 100%; | |||
max-height: 100%; | |||
width: auto; | |||
height: auto; | |||
object-fit: contain; | |||
} | |||
.card-content { | |||
padding: 20px; | |||
font-size: 14px; | |||
line-height: 1.5; | |||
color: #c9d1d9; | |||
} | |||
/*** Шаблон: Cellimage***/ | |||
.boxplate { | .boxplate { | ||
font-family: sans-serif; | font-family: sans-serif; | ||
| Строка 7: | Строка 54: | ||
align-items: center; | align-items: center; | ||
width: 100%; | width: 100%; | ||
height: 500px; | |||
align-content: space-around; | align-content: space-around; | ||
gap: | gap: 10px 20px; | ||
} | } | ||
.cellbox__title { | .cellbox__title { | ||
position: relative; | |||
display: flex; | |||
min-height: 32px; | |||
padding: 2px 8px; | |||
} | } | ||
.cellbox { | .cellbox { | ||
display: grid; | |||
padding: 10px; | |||
padding: | |||
border-radius: 15px; | border-radius: 15px; | ||
background-color: rgb(56, 56, 56); | background-color: rgb(56, 56, 56); | ||
flex: 0 0 calc((100% - ( | flex: 0 0 calc((100% - (5 - 1) * 20px) / 5); | ||
} | } | ||
.cellbox img { | |||
. | display: flex; | ||
justify-content: center; | justify-content: center; | ||
width: 64px; | width: 64px; | ||
height: 64px; | height: 64px; | ||
} | } | ||