Відмінності між версіями «Шаблон:Mainpage»

Матеріал з Вікіпедія ЄСІТС
Перейти до навігації Перейти до пошуку
Рядок 3: Рядок 3:
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
   gap: 36px;
   gap: 40px;
   justify-content: center;
   justify-content: center;
   max-width: 1600px;
   max-width: 1800px;
   margin: 40px auto;
   margin: 48px auto;
   padding: 0 24px;
   padding: 0 24px;
}
}


.flex-columns > div {
.flex-columns > div {
   flex: 1 1 420px;
   flex: 1 1 480px;
   max-width: 520px;
   max-width: 600px;
   background: #f9f9f9;
   background: #f9f9f9;
   border: 1px solid #ddd;
   border: 1px solid #ddd;
   border-radius: 12px;
   border-radius: 12px;
   padding: 32px 28px;
   padding: 40px 32px;
   box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
   box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
   text-align: left;
   text-align: center;
   transition: transform 0.2s ease, box-shadow 0.2s ease;
   transition: transform 0.2s ease, box-shadow 0.2s ease;
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
   align-items: flex-start;
   align-items: center;
}
}


Рядок 32: Рядок 32:
.flex-columns img {
.flex-columns img {
   max-width: 100%;
   max-width: 100%;
   max-height: 100px;
   max-height: 120px;
   object-fit: contain;
   object-fit: contain;
   margin-bottom: 20px;
   margin-bottom: 24px;
  display: block;
}
}


Рядок 41: Рядок 40:
   text-align: left;
   text-align: left;
   width: 100%;
   width: 100%;
   font-size: 18px; /* ↑ більше */
   font-size: 20px;
   line-height: 1.7;
   line-height: 1.75;
}
}


.flex-columns h2 {
.flex-columns h2 {
   font-size: 26px; /* ↑ більше */
   font-size: 28px;
   color: #002855;
   color: #002855;
   margin-bottom: 20px;
   margin-bottom: 24px;
   border-bottom: 2px solid #0057b7;
   border-bottom: 2px solid #0057b7;
   padding-bottom: 6px;
   padding-bottom: 6px;
   width: 100%;
   width: 100%;
  text-align: center;
}
}
}}
}}


<div class="flex-columns">
<div class="flex-columns">

Версія за 02:51, 4 квітня 2025