Открыть меню
Переключить меню настроек
Открыть персональное меню
Вы не представились системе
Ваш IP-адрес будет виден всем, если вы внесёте какие-либо изменения.

Участник:Alivepillow/common.css: различия между версиями

Материал из Space Station 14 | Время приключений Вики
Alivepillow (обсуждение | вклад)
м оно вроде даже работает..
Метка: отменено
Alivepillow (обсуждение | вклад)
м Отмена версии потому-что нейро-говнокод
Метка: отмена
 
(не показана 1 промежуточная версия этого же участника)
Строка 1: Строка 1:
/*** Шаблон: Cellimage ***/
/*** Шаблон: 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;
Строка 8: Строка 54:
     align-items: center;
     align-items: center;
     width: 100%;
     width: 100%;
     min-height: 500px;
     height: 500px;
     align-content: space-around;
     align-content: space-around;
     gap: 20px 20px;
     gap: 10px 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;  
}
}
 
.cellbox__title {
.boxplate a,
position: relative;
.boxplate a:hover,
display: flex;
.boxplate a:visited {
min-height: 32px;
    text-decoration: none;
padding: 2px 8px;
}
}
 
.cellbox {
.boxplate .cellbox {
display: grid;
    display: flex;
     padding: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
     padding: 15px;
     border-radius: 15px;
     border-radius: 15px;
     background-color: rgb(56, 56, 56);
     background-color: rgb(56, 56, 56);
     flex: 0 0 calc((100% - (4 * 20px)) / 5);
     flex: 0 0 calc((100% - (5 - 1) * 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 {
.cellbox img {
    display: flex;
display: flex;
     justify-content: center;
     justify-content: center;
    align-items: center;
     width: 64px;
     width: 64px;
     height: 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;
}
}

Текущая версия от 14:08, 11 ноября 2026

/*** Шаблон: 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 {
    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%;
    height: 500px;
    align-content: space-around;
    gap: 10px 20px;
}
.cellbox__title {
	 position: relative;
	 display: flex;
	 min-height: 32px;
	 padding: 2px 8px;
}
.cellbox {
	display: grid;
    padding: 10px;
    border-radius: 15px;
    background-color: rgb(56, 56, 56);
    flex: 0 0 calc((100% - (5 - 1) * 20px) / 5);
}

.cellbox img {
	display: flex;
    justify-content: center;
    width: 64px;
    height: 64px;
}