الفرق بين المراجعتين لصفحة: «ميدياويكي:Common.css»
لا ملخص تعديل |
لا ملخص تعديل |
||
| سطر ٦: | سطر ٦: | ||
.card-container { | .card-container { | ||
display: flex; | display: flex; | ||
flex-wrap: | flex-wrap: nowrap; | ||
justify-content: space-around; | justify-content: space-around; | ||
} | } | ||
مراجعة ٢٢:٢٥، ١٤ ديسمبر ٢٠٢٣
/* الأنماط المتراصة CSS المعروضة هنا ستؤثر على كل الواجهات */
.mw-content-rtl figure[typeof~='mw:File/Thumb'],
.mw-content-rtl figure[typeof~='mw:File/Frame']
{ margin: 0; clear: left; float: left; }
.card-container {
display: flex;
flex-wrap: nowrap;
justify-content: space-around;
}
.card1 {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
transition: 0.3s;
width: 60%;
border-radius: 5px;
margin: 15px;
}
.card2 {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
transition: 0.3s;
width: 40%;
border-radius: 5px;
margin: 15px;
}
.card:hover {
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}
.container {
padding: 2px 16px;
}